Usage of plotmosaic

Return to directory of Todd's CASA extensions

Also see the casaguide page for this function

Produce a plot of the pointings in an ms with the primary beam FWHM circles and field IDs overlaid.

Usage:

au.plotmosaic(vis, sourceid='', figfile='', coord='relative',
              skipsource=-1, doplot=True, help=False, sciencespws=False,
              vm='', debug=False, intent='OBSERVE_TARGET#ON_SOURCE',
              plotrange=[])
Required parameters:
  • vis: the measurement set
Optional parameters:
  • sourceid: int or string (name or ID)
  • figfile: name of the png to produce
  • coord: 'relative' or 'absolute'
  • skipsource: source ID to avoid
  • doplot: if False, then the central field ID is returned as an integer. if True, the a list of values is returned: [central field, maxRA, minRA, minDec, maxDec] where the latter 4 values are in units of arcsec relative to the center.
  • sciencespws: if True, then only use the science spws
  • vm: a ValueMapping structure (obsolete, only for CASA < 4.1)
  • debug: if True, print extra messages
  • intent: determine the source IDs to use from this intent (if sourceid='')
  • plotrange: for the 'relative' option only: [x0,x1,y0,y1]

Examples

CASA <4>: au.plotMosaic("30dor.cal.ms",sourceid='30 Doradus',coord='abs',figfile='/tmp/absolute.png')
Field IDs with matching source ID =  [ 0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23]
Got longitude = -67.755 deg
Mean frequency = 225.180484 GHz
Found 24 pointings
Field 12 is closest to the center of the area covered (3.3 arcsec away).
Wrote file = /tmp/absolute.png

CASA <4>: au.plotMosaic("30dor.cal.ms",sourceid='30 Doradus',coord='rel',figfile='/tmp/relative.png')
Field IDs with matching source ID =  [ 0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23]
Got longitude = -67.755 deg
Mean frequency = 225.180484 GHz
Found 24 pointings
Field 12 is closest to the center of the area covered (3.3 arcsec away).
Wrote file = /tmp/relative.png

-- ToddHunter - 2011-10-07
Topic attachments
I Attachment Action Size Date Who CommentSorted ascending
Antcont_Northall.ms.pointings.pngpng Antcont_Northall.ms.pointings.png manage 109 K 2011-10-12 - 17:31 ToddHunter  
Antcont_Northall.ms.pointings.relative.pngpng Antcont_Northall.ms.pointings.relative.png manage 115 K 2011-10-19 - 00:42 ToddHunter  
absolute.pngpng absolute.png manage 85 K 2012-05-01 - 17:29 ToddHunter  
relative.pngpng relative.png manage 76 K 2012-05-01 - 17:29 ToddHunter  
Topic revision: r11 - 2015-03-27, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback