%N beamgen2 %F $MIR/src/scripts/beamgen2.clone
%D Plot Array Response to Extended Structure.
%P mchw
%: user tool
%B
beamgen2 makes an image from a model source using the ``uvgen'' task.
The source model must be specified. (mirhelp uvgen for format).
 beamgen2 plots the synthesised and cleaned images, and the flux density
 as a function of radius. 
 array is the name of a text file containing the positions of the antennas.
 baseunit specifies the units for the antenna file. The default is
 nanosec units in geocentric coordinates (baseunit=1).
 ANTPOS files in geocentric coordinates obtained from fitted baselines
 using the task BEE can be used (baseunit=1).
