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: