addpath C:\Users\sheila.dwyer\Documents\MATLAB\alm-master
close all
clear classes

lambda = 532e-9;

%% measurement of OPO refl beam with 
zscan = [0, 5, 10, 15, 20]*25.4e-3;  %0" on rail is 230mm from G:M3
hWidth = [860, 1037, 1212, 1392, 1580]*1e-6/2;
vWidth = [1050, 1277, 1500, 1755, 2002]*1e-6/2;

Grefl = beamPath;  %
Grefl.seedWaist(300e-6, -0.2, lambda);
Grefl_h = Grefl.fitBeamWidth(zscan, hWidth);
Grefl_v = Grefl.fitBeamWidth(zscan, vWidth);
