Difference between revisions of "Plotmosaic"

From CASA Guides
Jump to: navigation, search
(Created page with "'''Return to Analysis Utilities''' This page documents the '''plotmosaic''' function of Python module analysisUtils. This function produces a plot of...")
 
Line 26: Line 26:
 
Wrote file = Antcont_Northall.ms.pointings.png
 
Wrote file = Antcont_Northall.ms.pointings.png
 
</pre></code>
 
</pre></code>
 +
 +
[[File:Antcont Northall.ms.pointings.relative.png]]
  
 
<source lang="python">
 
<source lang="python">

Revision as of 16:46, 16 December 2011

Return to Analysis Utilities

This page documents the plotmosaic function of Python module analysisUtils.

This function produces a plot of the pointings in a MS with primary beam FWHM circles and field names overlaid. For a multi-source file, you can include the sourceid to limit the fields to the science target. The default coordinate system is 'relative'. You can also use 'absolute', in which case the RA and Dec are shown in decimal degrees. This could be improved to be HH:MM:SS if there is demand. (Note: plotmosaic and plotMosaic are synonyms.)

Examples

# In CASA
au.plotmosaic('Antcont_Northall.ms',figfile=True)
Mean frequency = 344.908330 GHz
Found 23 pointings
Wrote file = Antcont_Northall.ms.pointings.png
# In CASA
au.plotmosaic('Antcont_Northall.ms', sourceid=0, figfile=True)
Mean frequency = 344.908330 GHz
Found 23 pointings
Wrote file = Antcont_Northall.ms.pointings.png

Antcont Northall.ms.pointings.relative.png

# In CASA
au.plotmosaic('Antcont_Northall.ms', sourceid=0, figfile=True, coord='absolute')
Mean frequency = 344.908330 GHz
Found 23 pointings
Wrote file = Antcont_Northall.ms.pointings.png

Antcont Northall.ms.pointings.png