Using plotSBGain

Return to directory of Todd's CASA extensions

Plots the sideband gain ratio values from the ASDM_CALATMOSPHERE table of the specified measurement set. See also plotSBGainFromASDM and getSBGain.

Usage:

au.plotSBGain(vis, pol='', figfile='', verbose=False, antenna='', baseband='', doplot=True, threshold=None, SBR_THRESHOLD_2SB=0.80, SBR_THRESHOLD_DSB=0.25, scan='')
  • pol: only plot this polarization, Options: 'X', 'Y', '0', '1', 0, 1 or ''=both,
  • figfile: name of png file to save, default = vis + '.sbgain.png'
  • verbose: print all values of sbGain
  • antenna: restrict the plot and verbose printing to one specified antenna name
  • baseband: restrict the plot and verbose printing to one specified baseband number (1..4)
  • scan: restrict the plot and verbose printing to one specified scan number

Example:

CASA <2>: au.plotSBGain('uid___A002_X652932_X2438.ms')
Median  for Pol X = 0.973846/0.026154 = -15.824577 dB  
Minimum for Pol X = 0.916092/0.083908 = -10.761965 dB
Maximum for Pol X = 0.988541/0.011459 = -19.408445 dB
Median  for Pol Y = 0.974192/0.025808 = -15.882445 dB
Minimum for Pol Y = 0.871724/0.128276 = -8.918560 dB
Maximum for Pol Y = 0.987701/0.012299 = -19.101259 dB
  Out[2]: ('uid___A002_X652932_X2438.ms.sbgain.png', '')
  • uid___A002_X652932_X2438.ms.sbgain.png:
    uid   A002 X652932 X2438.ms.sbgain.png
Topic revision: r1 - 2013-09-11, 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