qa0flags

Return to directory of Todd's CASA extensions

Summarizes the QA0 flags in a measurement set. The list of flagging conditions is tabulated by Rachel (newer confluence version). See also applyQA0FlagsToCaltable.

Usage:

au.qa0flags(dataset, verbose=False, flags=['AFD', 'PFD'])
Inputs:
  • dataset: ASDM or measurement set
  • verbose: if True, then print all of them to the screen, first.
  • flags: which flags to show if verbose==True (can be any string, including antenna name)

Example:

CASA <2>: au.qa0flags('uid___A002_Xa9f45b_X20aa.ms')
There are 155 QA0 flags in this dataset
126 Atmospheric flags (Trx/Tsys/Tau):
    24 AFD02: Trx < 0 or > 1000
                DA65: 24
     1 AFD05: flag all scans due too many AFD01-04
                QA0:_Pol_X_has_37_FAILED_TRX_calibrations_out_of_205_(_18_%_)_(AFD05)
    66 AFD07: Trx worse than other antennas (> median+4*MAD)
                DA50: 16,  DA65: 20,  DV10: 10,  DV25: 12,  PM04:  8
    35 AFD08: Trx differs too much between polarizations
                DA49:  1,  DA65:  5,  DV04:  5,  DV10: 16,  PM04:  8
29 Pointing flags:
     2 PFD01: Pointing offset > 4 arcsec
                DV09:  2
    27 PFD03: Pointing uncertainty > 0.6 arcsec
                DA41:  1,  DA45:  1,  DA46:  1,  DA47:  1,  DA49:  1
                DA50:  1,  DA51:  1,  DA53:  1,  DA54:  1,  DA55:  1
                DA56:  1,  DA57:  1,  DA59:  1,  DA65:  1,  DV01:  1
                DV03:  1,  DV04:  1,  DV05:  1,  DV09:  1,  DV10:  1
                DV13:  1,  DV16:  1,  DV19:  1,  DV23:  1,  DV24:  1
                DV25:  1,  PM04:  1

-- ToddHunter - 2015-09-16
Topic revision: r5 - 2021-06-03, 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