summaryrefslogtreecommitdiff
path: root/abcd.m
diff options
context:
space:
mode:
Diffstat (limited to 'abcd.m')
-rw-r--r--abcd.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/abcd.m b/abcd.m
index 4b4739e..466dd24 100644
--- a/abcd.m
+++ b/abcd.m
@@ -39,7 +39,7 @@ function [waste,radius] =q2wr(q, lambda)
endfunction
-function q=waste_r2q(waste,R,lambda)
+function q=wr2q(waste,R,lambda)
% convert Gaussian beam waste and radius to q parameter
q=1./(1./R-1i.*lambda./pi./(waste.^2));
endfunction