diff options
-rw-r--r-- | cavity_design_demo.m | 14 | ||||
-rw-r--r-- | mode_match_demo.m | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/cavity_design_demo.m b/cavity_design_demo.m index b81864c..d3796e8 100644 --- a/cavity_design_demo.m +++ b/cavity_design_demo.m @@ -14,17 +14,17 @@ % dm is part of d2 % let's set some parameters -R1=0.8; -R2=Inf; -d1=0.2; -d2=1; +f1=0.3; +f2=Inf; +d1=.77/8; +d2=.77-d1; Ltot = d1+d2; % total resonator length % time to build the optics set -mirror1.abcd = abcd_mirror( R1 ) ; +mirror1.abcd = abcd_lens( f1 ) ; mirror1.x = d1; -mirror2.abcd = abcd_mirror( R2 ) ; -mirror2.x = d1 + d2; +mirror2.abcd = abcd_lens( f2 ) ; +mirror2.x = d1+d2; optics={mirror1, mirror2}; diff --git a/mode_match_demo.m b/mode_match_demo.m index b7866ae..8ddf290 100644 --- a/mode_match_demo.m +++ b/mode_match_demo.m @@ -3,12 +3,12 @@ lens_set = [.075, .203]; %Given lenses of unique focal lengths lens_permutations = pick(lens_set,3,'or'); %3 lens solutions %Pre-defined Constants -lambda= 1.064E-6 ; %Wavelength of beam -Ltot= 1.010675025828971 ; %Length of optical system +lambda= .795e-6 ; %Wavelength of beam +Ltot= 1.54+.51+.4813 ; %Length of optical system r0= 1.0E+100 ; %Initial radius of curvature -w0= 2.563E-5 ; %Initial waist +w0= 5.65e-4 ; %Initial waist x0= 0 ; %Starting position of beam -wf= 3.709E-5 ; %Desired final waist +wf= 2.6983e-4 ; %Desired final waist rf= 1.0E+100 ; %Desired final radius lens_width = .03; %Lens width show_lens_width = 1; %Set to 1 to enable display of lens width on solution propagation plot |