%**************************************************************************
%long_coil_comp_param
%This file contains the parameters used by the long coil analysis
%comparison program.
%
%Zachary Wolf, 4/17/09

%Parameters
%COMPARE_NAME = 'Laser Heater, 50 micron and 0 micron taper';
%OUTPUT_DIR = 'C:\Magdata\Heater Undulator Sim\Taper 50 mic\';

%INPUT_FILE{1} = 'C:\Magdata\Heater Undulator Sim\Taper 0 mic\id_anal.mat';
%INPUT_FILE{2} = 'C:\Magdata\Heater Undulator Sim\Taper 50 mic\id_anal.mat';

%INPUT_NAME{1} = 'No Taper';
%INPUT_NAME{2} = '50 Micron Taper';

%K vs Temperature Test ---------------------------

%Parameters
COMPARE_NAME = 'SN27, K vs Temperature Test';
OUTPUT_DIR = 'C:\Magdata\SN27 Temperature Test\';

MEAS_TYPE_I1Y = 'I1YVSX';
ii = 0;
ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 003\03_I1Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 005\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 006\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 007\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 009\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 010\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 011\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 012\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';

MEAS_TYPE_I2Y = 'I2YVSX';
ii = 0;
ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 003\04_I2Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 005\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 006\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 007\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 009\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 010\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 011\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 012\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';

MEAS_TYPE_I1X = 'I1XVSX';
ii = 0;
ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 003\05_I1X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 005\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 006\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 007\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 009\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 010\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 011\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 012\02_I1X_x+-06000_y+00000_ufint_integrals.txt';

MEAS_TYPE_I2X = 'I2XVSX';
ii = 0;
ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 003\06_I2X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 005\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 006\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 007\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 009\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 010\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 011\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-27\DATASET0001\Fine Tuning\Long Coil Scans\Run 012\03_I2X_x+-06000_y+00000_ufint_integrals.txt';

% %Reference Undulator ---------------------------
% 
% %Save for reference undulator
% COMPARE_NAME = 'SN13, Reference Undulator';
% OUTPUT_DIR = 'C:\Magdata\Reference Undulator\';
% 
% MEAS_TYPE_I1Y = 'I1YVSX';
% ii = 0;
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0001\Fine Tuning\Long Coil Scans\Run 006\08_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0002\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0003\Fine Tuning\Long Coil Scans\Run 002\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0004\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0005\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0006\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0007\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0008\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0009\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0010\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0011\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0012\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0013\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0014\Fine Tuning\Long Coil Scans\Run 002\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0015\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% %%ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0016\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0017\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0018\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0019\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0020\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0021\Fine Tuning\Long Coil Scans\Run 004\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0022\Fine Tuning\Long Coil Scans\Run 001\00_I1Y_x+-06000_y+00000_ufint_integrals.txt';
% 
% MEAS_TYPE_I2Y = 'I2YVSX';
% ii = 0;
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0001\Fine Tuning\Long Coil Scans\Run 006\09_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0002\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0003\Fine Tuning\Long Coil Scans\Run 002\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0004\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0005\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0006\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0007\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0008\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0009\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0010\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0011\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0012\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0013\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0014\Fine Tuning\Long Coil Scans\Run 002\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0015\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% %%ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0016\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0017\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0018\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0019\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0020\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0021\Fine Tuning\Long Coil Scans\Run 004\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2Y{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0022\Fine Tuning\Long Coil Scans\Run 001\01_I2Y_x+-06000_y+00000_ufint_integrals.txt';
% 
% MEAS_TYPE_I1X = 'I1XVSX';
% ii = 0;
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0001\Fine Tuning\Long Coil Scans\Run 006\10_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0002\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0003\Fine Tuning\Long Coil Scans\Run 002\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0004\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0005\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0006\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0007\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0008\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0009\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0010\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0011\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0012\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0013\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0014\Fine Tuning\Long Coil Scans\Run 002\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0015\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% %%ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0016\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0017\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0018\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0019\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0020\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0021\Fine Tuning\Long Coil Scans\Run 004\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I1X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0022\Fine Tuning\Long Coil Scans\Run 001\02_I1X_x+-06000_y+00000_ufint_integrals.txt';
% 
% MEAS_TYPE_I2X = 'I2XVSX';
% ii = 0;
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0001\Fine Tuning\Long Coil Scans\Run 006\11_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0002\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0003\Fine Tuning\Long Coil Scans\Run 002\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0004\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0005\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0006\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0007\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0008\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0009\Fine Tuning\Long Coil Scans\Run 003\00_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0010\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0011\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0012\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0013\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0014\Fine Tuning\Long Coil Scans\Run 002\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0015\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% %%ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0016\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0017\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0018\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0019\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0020\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0021\Fine Tuning\Long Coil Scans\Run 004\03_I2X_x+-06000_y+00000_ufint_integrals.txt';
% ii = ii + 1;  INPUT_FILE_I2X{ii} = 'V:\MET\MagServe\MagData\LCLS\Undulator\L143-112000-13\DATASET0022\Fine Tuning\Long Coil Scans\Run 001\03_I2X_x+-06000_y+00000_ufint_integrals.txt';

%ii = 0;  %Use the date as the name, done in the program
%ii = ii + 1;  INPUT_NAME{ii} = 'Data Set 1';


