summaryrefslogtreecommitdiff
path: root/optics_placer.m
diff options
context:
space:
mode:
authorMatt Argao <mcargao@email.wm.edu>2012-10-18 17:42:16 -0400
committerMatt Argao <mcargao@email.wm.edu>2012-10-18 17:42:16 -0400
commit80b72a51a3f8f0e33bf79a20a4d5fbaca050d920 (patch)
tree50b45f2d8d10ee378f32e00530c5b2349fd8232e /optics_placer.m
parente7699104e7439eacf3135515df320ee15aea0929 (diff)
downloadmode_match-80b72a51a3f8f0e33bf79a20a4d5fbaca050d920.tar.gz
mode_match-80b72a51a3f8f0e33bf79a20a4d5fbaca050d920.zip
Added possible permutations of lens choices
Diffstat (limited to 'optics_placer.m')
-rw-r--r--optics_placer.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/optics_placer.m b/optics_placer.m
index 2287e1b..247cc81 100644
--- a/optics_placer.m
+++ b/optics_placer.m
@@ -1,13 +1,13 @@
-function optics = optics_placer( x )
+function optics = optics_placer( x ,f )
x1=x(1);
x2=x(2);
x3=x(3);
- lns1.abcd=abcd_lens( 0.075 ) ;
+ lns1.abcd=abcd_lens( f(1) ) ;
lns1.x= x1 ;
- lns2.abcd=abcd_lens( 0.075 ) ;
+ lns2.abcd=abcd_lens( f(2) ) ;
lns2.x= x2 ;
- lns3.abcd=abcd_lens( 0.203 ) ;
+ lns3.abcd=abcd_lens( f(3) ) ;
lns3.x= x3 ;
optics={lns1,lns2,lns3};