SLAC Magnetic Measurements
Date: 05-18-2017
Time: 10:29:53
 
Planar Insertion Device Analysis
--------------------------------

Data File Header:
SLAC Magnetic Measurements
Date: 05-08-2017
Time: 15:33:32
Project: LCLS
Device Type: Undulator
Data Type: 
Serial Number: L143-112000-04
DATASET Number: 5
Tuning Stage: Tuning
Run Number: 1
Measurement Type: Z Scans
Operator: 
Comment: check roll
Session first run: 1
Measurement Device x: 
Measurement Device y: SENTRON_441
Data File: s:\magdata\LCLS\Undulator\L143-112000-04\DATASET0005\Tuning\Z Scans\Run 001\bscanz.dat
Temperature (C)
Dummy:--> T1 0.0 --> T2 0.0 --> T3 0.0 --> T4 0.0 --> T5 0.0 --> T(C) 0.0 --> RefM_2 0.0 
Axes position (m) X:0.040048 Y:0.000381
Initial Hall Probe Zero Measurements:
Vx_0i = 0.001017 V
Vy_0i = -0.003627 V
Final Hall Probe Zero Measurements:
Vx_0f = 0.001005 V
Vy_0f = -0.003590 V
Offset Correction Voff = offset+index*increment
index = 0,1...22000
Vx:offset = 0.001017 V, increment = -5.785E-10 V
Vy:offset = -0.003627 V, increment = 1.697E-09 V
Hall Probe Calibration File:
Y: c:\CVI\current_calib\Sentron_441\Sentron_441_y.ini
X: c:\cvi\current_calib\HALLx_calib_poly_fit_file.dat
Reference Magnet Measurements:
Bx_ref = 0.0000xx (T)
By_ref = 0.0000xx (T)
Magnetic Field Measurements vs Z

Analysis Parameters:
Input file directory = s:\magdata\LCLS\Undulator\L143-112000-04\DATASET0005\Tuning\Z Scans\Run 001\
Input file name = x+00000_y+000_bscanz.dat
Input file type = ZVXYBXYH
Correction required = 0
Correction, Bx multiplicative factor = 1.000000 
Correction, By multiplicative factor = 1.000000 
Correction, Bx additive constant =  0.00001000 T
Correction, By additive constant = -0.00000500 T
Correction Bxy additive file = none
Correction Bxy additive file type = CORR_ZBXY
Set field integrals required = 1 
Set value for I1X = -0.000001 Tm
Set value for I1y = 0.000001 Tm
Electron gamma = 26692.700000
Electron energy = 13.639945 Gev
Nominal undulator period = 0.030000 m
Nominal K value = 3.500000
Nominal radiation wavelength = 1.500415e-10 m
Number of undulator poles = 226
Number of end poles (used in analysis) = 4
Cell length = 3.656000 m
Nominal phase change through cell = 709.999940 rad
Save as final result = 0
Result file directory = c:\magdata\final results\
Result file name = final_results.dat
Figures close on exit = 0
Figures visible = 1

Average Undulator Temperature:
Temp = 0.000000 C

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The Measured Fields Were Corrected:
Set I1XY Parameters:
SET_I1X = -0.000001 Tm
SET_I1Y = 0.000001 Tm
bx_add = -0.000015 T
by_add = -0.000005 T
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Bx Peak And Zero Field Summary:
Number of Poles = 0
Number of End Poles (excluded in statistics) = 0
Peak Fields: Ave = 0.000000 T, RMS = 0.000000 T
Peak Field Spacing: Ave = 0.000000 m, RMS = 0.000000 m
Zero Field Spacing: Ave = 0.000000 m, RMS = 0.000000 m
Average Undulator Period = 0.000000 m

By Peak And Zero Field Summary:
Number of Poles = 226
Number of End Poles (excluded in statistics) = 4
Peak Fields: Ave = 1.260112 T, RMS = 0.005718 T
Peak Field Spacing: Ave = 0.015000 m, RMS = 0.000045 m
Zero Field Spacing: Ave = 0.015001 m, RMS = 0.000030 m
Average Undulator Period = 0.030001 m

Hall Probe Overall Field Integrals:
Int Bx dz =   -1.0000e-06 Tm
Int Int Bx dz dz =    6.0111e-05 Tm^2
Int By dz =    1.0000e-06 Tm
Int Int By dz dz =    3.4340e-05 Tm^2

Trajectory Exit Information:
X at exit =    7.5476e-07 m
X slope at exit =    2.1979e-08
Y at exit =   -1.3212e-06 m
Y slope at exit =    2.1979e-08

Calculated Undulator Parameters:
Keff = 3.486948
Beff = 1.244760 T
Lambda_rad = 1.490462e-10 m

Phase Fluctuations:
(From Slippage vs Z Fit Residuals)
Ave = -0.000000 deg, RMS = 4.080709 deg

Phase Matching Parameters:
//nom_phase_match = ideal phase at the pole after the end poles
//n_interior = num_poles - (2 * num_end_poles)
//n_between_interior = n_interior - 1
//nom_phase_match + (num_poles - (2 * num_end_poles) - 1) * pi + nom_phase_match = nom_phase_cell
//2 * nom_phase_match = nom_phase_cell - (num_poles - (2 * num_end_poles) - 1) * pi
//nom_phase_match = (nom_phase_cell - (num_poles - (2 * num_end_poles) - 1) * pi) / 2
//nom_phase = nom_phase_match + (pole_num_no_ends - 1) * pi
//Compare the phase advance through a region to the nominal phase advance to get the phase matching error.
Nominal Phase Of Cell =    4.06800e+04 deg
Number Of Poles = 226
Number Of End Poles = 4
Nominal Phase Match =    8.10000e+02 deg

Phase Matching Errors:
Entrance:
  Phase Error Of First 10 Poles After The End Poles
  Ave = -6.684859 deg, RMS = 2.442143 deg
Center:
  Phase Error Of All Poles In Undulator Center:
  Ave = -7.106291 deg, RMS = 4.220041 deg
Exit:
  Phase Error To Cell Boundary Of Last 10 Poles Before The End Poles
  Ave = -22.613697 deg, RMS = 2.444187 deg

Phase Change In Cell:
Phase Change Of Cell =   40652.205 deg
Nominal Phase Change Of Cell =   40680.000 deg
Phase Error Of Cell =     -27.795 deg

Phase Matching Corrections:
Entrance:
Correct average phase matching error through the center.
Phase error to correct at the entrance = -7.106291 deg
Phase shifter setting at the entrance = 7.106291 deg
Phase shim value at the entrance = -352.893709 deg
Exit:
Correct cell phase minus the phase matching error at the entrance.
Phase error to correct at the exit = -20.688599 deg
Phase shifter setting at the exit = 20.688599 deg
Phase shim value at the exit = -339.311401 deg
