summaryrefslogtreecommitdiff
path: root/q2wr.m
blob: 884a47ad130fe1b5b647d5b310bbfe5352316f3d (plain)
1
2
3
4
5
6
7
function [waste,radius] =q2wr(q, lambda)
% convert Gaussian beam q parameter to waste and radius
	waste=sqrt (-lambda./pi./imag(1./q));
	radius=(1./real(1./q));
end