aboutsummaryrefslogtreecommitdiff
path: root/q2wr.m
blob: 925744899b0348e6db8ad4b111d383619916d835 (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));
endfunction