summaryrefslogtreecommitdiff
path: root/wr2q.m
blob: 50b2ad78f532ca001c22da04933ca47be2220da5 (plain)
1
2
3
4
5
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