plotBaselinesOneScan

Return to directory of Todd's CASA extensions

A convenient wrapper for plotms to show all spws for a single baseline on one page, and do it for all baselines, or all baselines including specific antenna(s).

Usage:

au.plotBaselinesOneScan(vis, spw, scan, xaxis='time', yaxis='phase', correlation='', 
      iteraxis='spw', coloraxis='corr', plotrange=[0, 0, -180, 180], pdfname='', antenna='',
      debug=False, customflaggedsymbol=False, title='', flaggedsymbolshape='nosymbol',
       avgchannel='10000', xsharedaxis=False, ysharedaxis=False, showgui=False,
       repeatBaselines=False, onlybuildpdf=False, dropAntennas=[], overwritePdfs=True, gs='gs')
Required inputs:
  • vis: measurement set
  • spw: list of spws
  • scan: a single scan number

Other Inputs:
  • antenna: a list of antenna names to include (default = all)
  • repeatBaselines: if True, then show each baseline twice, in order in the list for both component antennas
  • onlybuildpdf: if True, then assume that all the pngs already exist and so do not run plotms
  • dropAntennas: do not display any baselines for these antennas
  • overwritePdfs: overwrite single-page PDFs (passed to buildPdfFromPngs)

Example:

1. Produce all baselines for just two antennas:
au.plotBaselinesOneScan('uid___A002_X99c183_X6367.ms',spw='17,19,21,23',xaxis='time',yaxis='phase',
     iteraxis='spw',coloraxis='corr',scan='4',repeatBaselines=True,
     pdfname='uid___A002_X99c183_X6367.ms.phase_vs_time.DA45_DV06.pdf',
     onlybuildpdf=False,overwritePdfs=True,antenna='DV06,DA45')

-- ToddHunter - 2015-03-07
Topic revision: r2 - 2015-03-07, 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