summaryrefslogtreecommitdiff
path: root/optics_placer.m
diff options
context:
space:
mode:
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};