%**************************************************************************
%gen_bxyzvsz_param
%This function sets the program parameters.
%
%Output:
%param, structure containing program parameters
%
%Zachary Wolf
%8/6/13

function [param] = gen_bxyzvsz_param()

%Set program parameters-----

%Input file information
param.output_file_dir = 'C:\Magdata\EPU Gen Data\';     

%Undulator parameters
param.pol_mode = 'LIN_POL_VERT_FIELD';
param.lambda_u = 32.e-3;  %(m)
param.num_per = 20;
param.b_0 = 1.25; %(T)
param.kx = 222; %(1/m)
param.ky = 129i; %(i/m)
param.x_c = 0;  %(m)
param.y_c = 0;  %(m)
param.z_0 = 0;  %(m)
param.x = 100.e-6;  %(m)
param.y = 200.e-6;  %(m)
param.z = -.25 : 200.e-6 : 1.25;  %(m)
