header: MATLAB 5.0 MAT-file, Platform: PCWIN, Created on: Thu Oct 17 11:01:22 2013
variable param: class struct, size 1x1
	field names: input_file_dir, input_file_name, input_file_type, probe_calibration_file, corr_required, corr_bx_mult, corr_by_mult, corr_bx_add, corr_by_add, corr_bxy_add_file, corr_bxy_add_file_type, gamma, nom_lambda_u, nom_k_value, nom_lambda_r, num_poles, num_end_poles, cell_length, nom_phase_cell, nom_phase_match, save_as_final_result, result_file_dir, result_file_name, fig_close_on_exit, fig_vis
	.input_file_dir: class char, size 1x81
		text = "s:\\MagData\\LCLS\\Undulator\\L143-112000-08\\DATASET0006\\Fine Tuning\\Z Scans\\Run 005\\"
	.input_file_name: class char, size 1x24
		text = "x+00000_y+000_bscanz.dat"
	.input_file_type: class char, size 1x8
		text = "ZVXYBXYH"
	.probe_calibration_file: class char, size 1x59
		text = "s:\\MagData\\LCLS\\Hall probe\\Sentron_441\\HPCS_081\\calib_1.dat"
	.corr_required: class uint8, size 1x1, logical
	.corr_bx_mult: class double, size 1x1
	.corr_by_mult: class double, size 1x1
	.corr_bx_add: class double, size 1x1
	.corr_by_add: class double, size 1x1
	.corr_bxy_add_file: class char, size 1x4
		text = "none"
	.corr_bxy_add_file_type: class char, size 1x9
		text = "CORR_ZBXY"
	.gamma: class double, size 1x1
	.nom_lambda_u: class double, size 1x1
	.nom_k_value: class double, size 1x1
	.nom_lambda_r: class double, size 1x1
	.num_poles: class double, size 1x1
	.num_end_poles: class double, size 1x1
	.cell_length: class double, size 1x1
	.nom_phase_cell: class double, size 1x1
	.nom_phase_match: class double, size 1x1
	.save_as_final_result: class uint8, size 1x1, logical
	.result_file_dir: class char, size 1x22
		text = "c:\\magdata\\slac_und_2\\"
	.result_file_name: class char, size 1x22
		text = "zscan_xn0060yp0002.dat"
	.fig_close_on_exit: class uint8, size 1x1, logical
	.fig_vis: class uint8, size 1x1, logical
variable header: class cell, size 1x45
	cell 1: class char, size 1x26
		text = "SLAC Magnetic Measurements"
	cell 2: class char, size 1x16
		text = "Date: 10-17-2013"
	cell 3: class char, size 1x14
		text = "Time: 10:21:18"
	cell 4: class char, size 0x0
	cell 5: class char, size 1x13
		text = "Project: LCLS"
	cell 6: class char, size 1x22
		text = "Device Type: Undulator"
	cell 7: class char, size 1x11
		text = "Data Type:"
	cell 8: class char, size 1x29
		text = "Serial Number: L143-112000-08"
	cell 9: class char, size 1x17
		text = "DATASET Number: 6"
	cell 10: class char, size 1x25
		text = "Tuning Stage: Fine Tuning"
	cell 11: class char, size 1x13
		text = "Run Number: 5"
	cell 12: class char, size 1x25
		text = "Measurement Type: Z Scans"
	cell 13: class char, size 1x12
		text = "Operator: YL"
	cell 14: class char, size 1x14
		text = "Comment: final"
	cell 15: class char, size 1x20
		text = "Session first run: 5"
	cell 16: class char, size 1x22
		text = "Measurement Device x:"
	cell 17: class char, size 1x33
		text = "Measurement Device y: SENTRON_441"
	cell 18: class char, size 0x0
	cell 19: class char, size 1x102
		text = "Data File: s:\\magdata\\LCLS\\Undulator\\L143-112000-08\\DATASET0006\\Fine Tuning\\Z Scans\\Run 005\\bscanz.dat"
	cell 20: class char, size 0x0
	cell 21: class char, size 1x15
		text = "Temperature (C)"
	cell 22: class char, size 1x94
		text = "L143-112000-08:--> T1 19.97 --> T2 19.95 --> T5 19.90 --> T3 19.96 --> Air 19.93 --> T4 19.93"
	cell 23: class char, size 0x0
	cell 24: class char, size 1x39
		text = "Axes position (m) X:0.029840 Y:0.000130"
	cell 25: class char, size 1x37
		text = "Initial Hall Probe Zero Measurements:"
	cell 26: class char, size 1x18
		text = "Vx_0i = 0.001207 V"
	cell 27: class char, size 1x19
		text = "Vy_0i = -0.003353 V"
	cell 28: class char, size 0x0
	cell 29: class char, size 1x35
		text = "Final Hall Probe Zero Measurements:"
	cell 30: class char, size 1x18
		text = "Vx_0f = 0.001196 V"
	cell 31: class char, size 1x19
		text = "Vy_0f = -0.003380 V"
	cell 32: class char, size 0x0
	cell 33: class char, size 1x47
		text = "Offset Correction Voff = offset+index*increment"
	cell 34: class char, size 1x19
		text = "index = 0,1...21250"
	cell 35: class char, size 1x48
		text = "Vx:offset = 0.001207 V, increment = -5.049E-10 V"
	cell 36: class char, size 1x49
		text = "Vy:offset = -0.003353 V, increment = -1.276E-09 V"
	cell 37: class char, size 1x28
		text = "Hall Probe Calibration File:"
	cell 38: class char, size 1x53
		text = "Y: c:\\CVI\\current_calib\\Sentron_441\\Sentron_441_y.ini"
	cell 39: class char, size 1x53
		text = "X: c:\\cvi\\current_calib\\HALLx_calib_poly_fit_file.dat"
	cell 40: class char, size 0x0
	cell 41: class char, size 1x30
		text = "Reference Magnet Measurements:"
	cell 42: class char, size 1x21
		text = "Bx_ref = 0.0000xx (T)"
	cell 43: class char, size 1x21
		text = "By_ref = 0.0000xx (T)"
	cell 44: class char, size 0x0
	cell 45: class char, size 1x32
		text = "Magnetic Field Measurements vs Z"
variable field: class struct, size 1x1
	field names: zm, z, bx, by, z_peak, by_peak, z_zero, lambda_u, int_bx_dz, int_by_dz, int_int_bx_dz_dz, int_int_by_dz_dz, bx_filt, by_filt, int_bx_dz_filt, int_by_dz_filt, int_int_bx_dz_dz_filt, int_int_by_dz_dz_filt, temp
	.zm: class double, size 1x21251
	.z: class double, size 1x21251
	.bx: class double, size 1x21251
	.by: class double, size 1x21251
	.z_peak: class double, size 1x226
	.by_peak: class double, size 1x226
	.z_zero: class double, size 1x225
	.lambda_u: class double, size 1x1
	.int_bx_dz: class double, size 1x21251
	.int_by_dz: class double, size 1x21251
	.int_int_bx_dz_dz: class double, size 1x21251
	.int_int_by_dz_dz: class double, size 1x21251
	.bx_filt: class double, size 1x21251
	.by_filt: class double, size 1x21251
	.int_bx_dz_filt: class double, size 1x21251
	.int_by_dz_filt: class double, size 1x21251
	.int_int_bx_dz_dz_filt: class double, size 1x21251
	.int_int_by_dz_dz_filt: class double, size 1x21251
	.temp: class double, size 1x1
variable traj: class struct, size 1x1
	field names: z, x, x_p, x_pp, y, y_p, y_pp, x_filt, x_p_filt, x_pp_filt, y_filt, y_p_filt, y_pp_filt, x_slope_cor, x_p_slope_cor, y_slope_cor, y_p_slope_cor
	.z: class double, size 1x21251
	.x: class double, size 1x21251
	.x_p: class double, size 1x21251
	.x_pp: class double, size 1x21251
	.y: class double, size 1x21251
	.y_p: class double, size 1x21251
	.y_pp: class double, size 1x21251
	.x_filt: class double, size 1x21251
	.x_p_filt: class double, size 1x21251
	.x_pp_filt: class double, size 1x21251
	.y_filt: class double, size 1x21251
	.y_p_filt: class double, size 1x21251
	.y_pp_filt: class double, size 1x21251
	.x_slope_cor: class double, size 1x21251
	.x_p_slope_cor: class double, size 1x21251
	.y_slope_cor: class double, size 1x21251
	.y_p_slope_cor: class double, size 1x21251
variable rad: class struct, size 1x1
	field names: z, z_peak, z_peak_no_ends, lambda_u, slip, slip_peak, slip_peak_no_ends, slope, slip_norm, slip_norm_peak, slip_norm_peak_no_ends, slope_norm, k_eff, b_eff, lambda_r, phase, phase_peak, phase_peak_no_ends, phase_error_peak_no_ends, phase_cell, phase_nom, phase_nom_peak, phase_nom_peak_no_ends, phase_nom_error_peak_no_ends, phase_nom_cell
	.z: class double, size 1x21251
	.z_peak: class double, size 1x226
	.z_peak_no_ends: class double, size 1x218
	.lambda_u: class double, size 1x1
	.slip: class double, size 1x21251
	.slip_peak: class double, size 1x226
	.slip_peak_no_ends: class double, size 1x218
	.slope: class double, size 1x1
	.slip_norm: class double, size 1x21251
	.slip_norm_peak: class double, size 1x226
	.slip_norm_peak_no_ends: class double, size 1x218
	.slope_norm: class double, size 1x1
	.k_eff: class double, size 1x1
	.b_eff: class double, size 1x1
	.lambda_r: class double, size 1x1
	.phase: class double, size 1x21251
	.phase_peak: class double, size 1x226
	.phase_peak_no_ends: class double, size 1x218
	.phase_error_peak_no_ends: class double, size 1x218
	.phase_cell: class double, size 1x1
	.phase_nom: class double, size 1x21251
	.phase_nom_peak: class double, size 1x226
	.phase_nom_peak_no_ends: class double, size 1x218
	.phase_nom_error_peak_no_ends: class double, size 1x218
	.phase_nom_cell: class double, size 1x1