Usage of countflags

Return to directory of Todd's CASA extensions

Examine all data descriptors in an ms and report the number of flags, total points, and percentage flagged in a dictionary. See also countrows.

Usage

au.countflags(vis)

Example:

CASA <2>: au.countflags('uid___A002_X54d35d_X761.ms')
Found 25 DataDescription IDs
Examining DD1 of 25
Examining DD2 of 25
Examining DD3 of 25
Examining DD4 of 25
Examining DD5 of 25
Examining DD6 of 25
Examining DD7 of 25
Examining DD8 of 25
Examining DD9 of 25
Examining DD10 of 25
Examining DD11 of 25
Examining DD12 of 25
Examining DD13 of 25
Examining DD14 of 25
Examining DD15 of 25
Examining DD16 of 25
Examining DD17 of 25
Examining DD18 of 25
Examining DD19 of 25
Examining DD20 of 25
Examining DD21 of 25
Examining DD22 of 25
Examining DD23 of 25
Examining DD24 of 25
Examining DD25 of 25
Found 218712128 flags (13.5338%) out of 1616043968 possible.
  Out[w]: {'flagged': 218712128, 'percent': 13.533798110126668, 'total': 1616043968}

-- ToddHunter - 2012-05-03

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > Countflags
Topic revision: 2014-12-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