Usage of checkFieldTable

Return to directory of Todd's CASA extensions

Checks the FIELD table to see if any field NAME points to multiple SOURCE_IDs, and returns a dictionary list of fields that do.

Usage:

amc.checkFieldTable(vis)

There is a companion function which will check multiple measurement sets as listed in a file:
amc.checkFieldTables(file, verbose=True)
verbose: set to False to only show measurements sets with offending field names.

Example:

CASA <5>: amc.checkFieldTable('uid___A002_X5f10e4_X501.ms')
  Out[5]: {'3c279': array([1, 3], dtype=int32)}

-- ToddHunter - 2013-07-11

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > CheckFieldTable
Topic revision: 2013-07-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