Using plotSBGainFromASDM

Return to directory of Todd's CASA extensions

Plots the sideband gain ratio values from the CalAtmosphere.xml table of the specified ASDM. See also plotSBGain and getSBGain.

Usage

CASA <2>: help(au.plotSBGainFromASDM)
Help on function plotSBGainFromASDM in module analysisUtils:

plotSBGainFromASDM(asdm='', pol='', figfile='', verbose=False, antenna='', baseband='', doplot=True, threshold=None, SBR_THRESHOLD_2SB=0.80, SBR_THRESHOLD_DSB=0.25)
    Plots the sideband gain ratio values from the SIDEBAND_RATIO entries inthe CalAtmosphere.xml table for the specified ASDM. 
    pol: 'X', 'Y', or ''=both,only plot this polarization
    figfile: name of png file to save, default = asdm + '.sbgain.png'
    verbose: print all values of sbGain (very anomalous values are printed regardless)
        antenna: restrict the verbose printing to one specified antenna name
        baseband: restrict the verbose printing to one specified baseband number (1..4)
   doplot: set to False to turn off the plot GUI and the generation of a png file
   threshold: the upper limit criterion to use to declare an SBR ratio as suspect, regardless of the setting of SBR_THRESHOLD_2SB and SBR_THRESHOLD_DSB
   SBR_THRESHOLD_2SB: the upper limit criterion to use for 2SB receivers to declare an SBR ratio as suspect
   SBR_THRESHOLD_DSB: the upper limit criterion to use for DSB receivers to declare an SBR ratio as suspect

Example

CASA <3>: au.plotSBGainFromASDM('/export/lustre/cbrogan/ALMA_SV_data/Band9_IRAS16293/uid___A002_X3d55cb_Xb50',figfile='/users/thunter/Xb50.png')
  Found  1176  rows in CalAtmosphere.xml
Median  for Pol X = 0.522719/0.477281 = -3.212254 dB
Minimum for Pol X = 0.380311/0.619689 = -2.078264 dB
Maximum for Pol X = 0.570729/0.429271 = -3.672683 dB
Median for Pol Y = 0.513634/0.486366 = -3.130370 dB
Minimum for Pol Y = 0.447140/0.552860 = -2.573848 dB
Maximum for Pol Y = 0.614011/0.385989 = -4.134253 dB

Xb50.png

-- ToddHunter - 2012-04-30
Topic attachments
I Attachment Action Size Date Who Comment
Band7_X17a.pngpng Band7_X17a.png manage 76 K 2012-05-02 - 13:04 ToddHunter  
Xb50.pngpng Xb50.png manage 77 K 2012-05-02 - 13:12 ToddHunter  
Topic revision: r5 - 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