Plotants
From CASA Guides
Help on plotants task:
Beta-alert: At the time of this revision (CASA 3.2), plotants was leaving table.lock files that make the rest of the tutorial unhappy. Here's a pythonic way to zap those table.lock files.
import os
for root, dirs, files in os.walk('./'):
for name in files:
if name == 'table.lock': os.remove(os.path.join(root,name))
Plot the antenna distribution in the local reference frame: Plot the antenna distribution in the local reference frame: The location of the antennas in the MS will be plotted with X-toward local east; Y-toward local north. Keyword arguments: vis -- Name of input visibility file. default: none. example: vis='ngc5921.ms' figfile -- Save the plotted figure in this file. default: ''. example: figfile='myFigure.png' The name of each antenna (egs. vla=antenna number) is shown next to its respective location. DO NOT use the buttons on the Mark Region line. These are not implemented yet and might abort CASA. You can zoom in by pressing the magnifier button (bottom, third from left) and making a rectangular region with the mouse. Press the home button (left most button) to remove zoom. A hard-copy of this plot can be obtained by pressing the button on the right at the bottom of the display. This produces a png format file.