header: MATLAB 5.0 MAT-file, Platform: PCWIN, Created on: Wed Sep 19 13:46:35 2012
variable param: class struct, size 1x1
	field names: input_file_dir, input_file_name, input_file_type, 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, num_pole_stat
	.input_file_dir: class char, size 1x80
		text = "S:\\MagData\\LCLS\\Undulator\\SSRL-BL5-EPU\\DATASET0001\\Rough Tuning\\Z Scans\\Run 018\\"
	.input_file_name: class char, size 1x24
		text = "x-24000_y+000_bscanz.dat"
	.input_file_type: class char, size 1x8
		text = "ZVXYBXYH"
	.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
	.num_pole_stat: class double, size 1x1
variable header: class cell, size 1x44
	cell 1: class char, size 1x26
		text = "SLAC Magnetic Measurements"
	cell 2: class char, size 1x16
		text = "Date: 09-18-2012"
	cell 3: class char, size 1x14
		text = "Time: 08:38:27"
	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 1x27
		text = "Serial Number: SSRL-BL5-EPU"
	cell 9: class char, size 1x17
		text = "DATASET Number: 1"
	cell 10: class char, size 1x26
		text = "Tuning Stage: Rough Tuning"
	cell 11: class char, size 1x14
		text = "Run Number: 18"
	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 1x31
		text = "Comment: check CP+ at x =+-24mm"
	cell 15: class char, size 1x21
		text = "Session first run: 18"
	cell 16: class char, size 1x31
		text = "Measurement Device x: SENIS_469"
	cell 17: class char, size 1x31
		text = "Measurement Device y: SENIS_469"
	cell 18: class char, size 0x0
	cell 19: class char, size 1x101
		text = "Data File: s:\\magdata\\LCLS\\Undulator\\SSRL-BL5-EPU\\DATASET0001\\Rough Tuning\\Z Scans\\Run 018\\bscanz.dat"
	cell 20: class char, size 0x0
	cell 21: class char, size 1x15
		text = "Temperature (C)"
	cell 22: class char, size 0x0
	cell 23: class char, size 1x39
		text = "Axes position (m) X:0.013832 Y:0.000099"
	cell 24: class char, size 1x37
		text = "Initial Hall Probe Zero Measurements:"
	cell 25: class char, size 1x18
		text = "Vx_0i = 0.001022 V"
	cell 26: class char, size 1x18
		text = "Vy_0i = 0.000981 V"
	cell 27: class char, size 0x0
	cell 28: class char, size 1x35
		text = "Final Hall Probe Zero Measurements:"
	cell 29: class char, size 1x18
		text = "Vx_0f = 0.001011 V"
	cell 30: class char, size 1x18
		text = "Vy_0f = 0.000967 V"
	cell 31: class char, size 0x0
	cell 32: class char, size 1x47
		text = "Offset Correction Voff = offset+index*increment"
	cell 33: class char, size 1x19
		text = "index = 0,1...14600"
	cell 34: class char, size 1x48
		text = "Vx:offset = 0.001022 V, increment = -7.875E-10 V"
	cell 35: class char, size 1x48
		text = "Vy:offset = 0.000981 V, increment = -9.982E-10 V"
	cell 36: class char, size 1x28
		text = "Hall Probe Calibration File:"
	cell 37: class char, size 1x49
		text = "Y: C:\\CVI\\current_calib\\SENIS_469\\SENIS_469_y.ini"
	cell 38: class char, size 1x49
		text = "X: C:\\CVI\\current_calib\\SENIS_469\\SENIS_469_x.ini"
	cell 39: class char, size 0x0
	cell 40: class char, size 1x30
		text = "Reference Magnet Measurements:"
	cell 41: class char, size 1x21
		text = "Bx_ref = 0.0000xx (T)"
	cell 42: class char, size 1x21
		text = "By_ref = 0.0000xx (T)"
	cell 43: class char, size 0x0
	cell 44: class char, size 1x32
		text = "Magnetic Field Measurements vs Z"
variable field: class struct, size 1x1
	field names: zm, zm_ctr, z, bx, by, bz, z_peak_bx, z_peak_by, z_peak, z_peak_bx_no_ends, z_peak_by_no_ends, z_peak_no_ends, z_zero_bx, z_zero_by, bx_peak, by_peak, bx_peak_no_ends, by_peak_no_ends, lambda_u_bx, lambda_u_by, lambda_u, a0_bx, an_bx, bn_bx, a0_by, an_by, bn_by, 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 1x14601
	.zm_ctr: class double, size 1x1
	.z: class double, size 1x14601
	.bx: class double, size 1x14601
	.by: class double, size 1x14601
	.bz: class double, size 1x14601
	.z_peak_bx: class double, size 1x30
	.z_peak_by: class double, size 1x35
	.z_peak: class double, size 1x35
	.z_peak_bx_no_ends: class double, size 1x22
	.z_peak_by_no_ends: class double, size 1x27
	.z_peak_no_ends: class double, size 1x27
	.z_zero_bx: class double, size 1x29
	.z_zero_by: class double, size 1x34
	.bx_peak: class double, size 1x30
	.by_peak: class double, size 1x35
	.bx_peak_no_ends: class double, size 1x22
	.by_peak_no_ends: class double, size 1x27
	.lambda_u_bx: class double, size 1x1
	.lambda_u_by: class double, size 1x1
	.lambda_u: class double, size 1x1
	.a0_bx: class double, size 1x1
	.an_bx: class double, size 1x10
	.bn_bx: class double, size 1x10
	.a0_by: class double, size 1x1
	.an_by: class double, size 1x10
	.bn_by: class double, size 1x10
	.int_bx_dz: class double, size 1x14601
	.int_by_dz: class double, size 1x14601
	.int_int_bx_dz_dz: class double, size 1x14601
	.int_int_by_dz_dz: class double, size 1x14601
	.bx_filt: class double, size 1x14601
	.by_filt: class double, size 1x14601
	.int_bx_dz_filt: class double, size 1x14601
	.int_by_dz_filt: class double, size 1x14601
	.int_int_bx_dz_dz_filt: class double, size 1x14601
	.int_int_by_dz_dz_filt: class double, size 1x14601
	.temp: class double, size 1x1
variable traj: class struct, size 1x1
	field names: z, x, y, x_filt, y_filt, x_p, y_p, x_p_filt, y_p_filt, vx, vy, vz, x_slope_cor, y_slope_cor, x_p_slope_cor, y_p_slope_cor, x_by, x_p_by, x_pp_by, y_bx, y_p_bx, y_pp_bx
	.z: class double, size 1x14601
	.x: class double, size 1x14601
	.y: class double, size 1x14601
	.x_filt: class double, size 1x14601
	.y_filt: class double, size 1x14601
	.x_p: class double, size 1x14601
	.y_p: class double, size 1x14601
	.x_p_filt: class double, size 1x14601
	.y_p_filt: class double, size 1x14601
	.vx: class double, size 1x14601
	.vy: class double, size 1x14601
	.vz: class double, size 1x14601
	.x_slope_cor: class double, size 1x14601
	.y_slope_cor: class double, size 1x14601
	.x_p_slope_cor: class double, size 1x14601
	.y_p_slope_cor: class double, size 1x14601
	.x_by: class double, size 1x14601
	.x_p_by: class double, size 1x14601
	.x_pp_by: class double, size 1x14601
	.y_bx: class double, size 1x14601
	.y_p_bx: class double, size 1x14601
	.y_pp_bx: class double, size 1x14601
variable phas: class struct, size 1x1
	field names: z, z_peak, z_peak_no_ends, lambda_u, slip, slip_peak, slip_peak_no_ends, slope, slip_resid_peak_no_ends, k_eff, b_eff, lambda_r, phase, phase_peak, phase_peak_no_ends, phase_error_peak_no_ends, phase_error_peak_no_ends_ave, phase_error_peak_no_ends_rms, phase_cell, phase_nom, phase_nom_peak, phase_nom_peak_no_ends, phase_nom_error_peak_no_ends, phase_nom_error_peak_no_ends_ave, phase_nom_error_peak_no_ends_rms, phase_nom_error_peak_no_ends_enter_ave, phase_nom_error_peak_no_ends_enter_rms, phase_nom_error_peak_no_ends_exit_ave, phase_nom_error_peak_no_ends_exit_rms, phase_nom_cell
	.z: class double, size 1x14601
	.z_peak: class double, size 1x35
	.z_peak_no_ends: class double, size 1x27
	.lambda_u: class double, size 1x1
	.slip: class double, size 1x14601
	.slip_peak: class double, size 1x35
	.slip_peak_no_ends: class double, size 1x27
	.slope: class double, size 1x1
	.slip_resid_peak_no_ends: class double, size 1x27
	.k_eff: class double, size 1x1
	.b_eff: class double, size 1x1
	.lambda_r: class double, size 1x1
	.phase: class double, size 1x14601
	.phase_peak: class double, size 1x35
	.phase_peak_no_ends: class double, size 1x27
	.phase_error_peak_no_ends: class double, size 1x27
	.phase_error_peak_no_ends_ave: class double, size 1x1
	.phase_error_peak_no_ends_rms: class double, size 1x1
	.phase_cell: class double, size 1x1
	.phase_nom: class double, size 1x14601
	.phase_nom_peak: class double, size 1x35
	.phase_nom_peak_no_ends: class double, size 1x27
	.phase_nom_error_peak_no_ends: class double, size 1x27
	.phase_nom_error_peak_no_ends_ave: class double, size 1x1
	.phase_nom_error_peak_no_ends_rms: class double, size 1x1
	.phase_nom_error_peak_no_ends_enter_ave: class double, size 1x1
	.phase_nom_error_peak_no_ends_enter_rms: class double, size 1x1
	.phase_nom_error_peak_no_ends_exit_ave: class double, size 1x1
	.phase_nom_error_peak_no_ends_exit_rms: class double, size 1x1
	.phase_nom_cell: class double, size 1x1
variable rad: class struct, size 1x1
	field names: omega_fund, omega_har, energy_kev_har, ang_num_spect_har, ang_num_spect_ideal_har, efficiency_har, ex_fund, ey_fund, ex_mag_fund, ey_mag_fund, exy_ang_fund, s0, s1, s2, s3, p1, p2, p3
	.omega_fund: class double, size 1x1
	.omega_har: class double, size 1x15
	.energy_kev_har: class double, size 1x15
	.ang_num_spect_har: class double, size 1x15
	.ang_num_spect_ideal_har: class double, size 1x15
	.efficiency_har: class double, size 1x15
	.ex_fund: class double, size 1x1, complex
	.ey_fund: class double, size 1x1, complex
	.ex_mag_fund: class double, size 1x1
	.ey_mag_fund: class double, size 1x1
	.exy_ang_fund: class double, size 1x1
	.s0: class double, size 1x1
	.s1: class double, size 1x1
	.s2: class double, size 1x1
	.s3: class double, size 1x1
	.p1: class double, size 1x1
	.p2: class double, size 1x1
	.p3: class double, size 1x1