plotspws

Return to directory of Todd's CASA extensions

Makes a plot summarizing the location of the non-channel-averaged TDM and FDM ALMA spws in a dataset. The aggregate, non-overlapping bandwidth is also calculated (by computeAggregateBandwidth) and printed for the science spws and the phase calibrator spws (if present).

Usage:

au.plotspws(vis, intents=['*ATMOS*', '*PHASE*', '*BANDPASS*', '*TARGET*'], tsystable='', plotfile='')
Inputs:
  • vis: measurement set
  • intents: a list of strings, or a comma-delimited string
  • tsystable: if included, then run tsysspwmap and draw in red the spws used for science Tsys
  • plotfile: True, or a string as the filename to save the png plot in

Example:

CASA <3>: au.plotspws('uid___A002_X8440e0_X1122.ms', plotfile=True)
Science spws:  [32 34 36 38]
Tsys spw map: 32: 24,  34: 26,  36: 28,  38: 30
This function takes awhile because msmd.intentsforspw() is slow.
Working on intent =  **ATMOS**
Working on intent =  **PHASE**
Working on intent =  **BANDPASS**
Working on intent =  **TARGET**
Aggregate science bandwidth = 0.500031 GHz
Aggregate phasecal bandwidth = 7.687500 GHz
Saved plot in  uid___A002_X8440e0_X1122.ms.plotspws.png

-- ToddHunter - 2014-09-18
  • uid___A002_X8440e0_X1122.ms.plotspws.png:
    uid   A002 X8440e0 X1122.ms.plotspws.png
Topic revision: r2 - 2014-09-26, 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