class Atmcal

Return to directory of Todd's CASA extensions

This class examines the CAL_ATMOSPHERE scans in a measurement set and determines the time ranges associated with the sky, ambient and hot load in each scan based on the data itself, and checks it for sanity against the subscan order specified in the STATE table. It also has methods to independently compute and/or plot the Trx and Tsys, with an option to overlay the TelCal result. It can also compute and apply the FDM quantization correction.

Usage:

atm = au.Atmcal(vis, verbose=False, showSummary=False, readAttenuatorSettings=False, 
                  decimalDigits=2, includeDate=False, restoreBackup=False, outpath='./', includeSQLD=False, maxscans=0)

Some of the useful methods:

atm.plotTsys(scan, antenna, pol, spw, tdmspw=None, asdm=None, etaF=0.97999999999999998, lo1=None, dataFraction=[0.0, 1.0], parentms=None, verbose=False, siteAltitude_m=5000, computeJsky=True, altscan=None, overlayTelcal=True, plotrange=[0, 0, 0, 0], fdmCorrection=False, tdmscan=None, tdmdataset=None, plotfile='', showAttenuators=False)

atm.plotTrec2(scan, antenna, pol, spw, tdmspw=None, asdm=None, etaF=0.97999999999999998, lo1=None, dataFraction=[0.0, 1.0], parentms=None, siteAltitude_m=5000, altscan=None, overlayTelcal=True, fdmCorrection=False, tdmscan=None, tdmdataset=None, plotfile='', showAttenuators=False)

atm.plotCalScans(spw=15,target=['hot','amb','sky'],y_autoscale=False,overlay=True,fontsize=20,plotfile='scan3.png')

The result of the third command is:

-- ToddHunter - 2013-12-11
  • scan3.png:
    scan3.png

Topic attachments
I Attachment Action Size DateSorted ascending Who Comment
scan3.pngpng scan3.png manage 79 K 2014-05-09 - 16:52 ToddHunter  
This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > Atmcal
Topic revision: 2014-05-09, 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