commonAntennas

Return to directory of Todd's CASA extensions

Returns a list of the common antenna names between two (or more) datasets, or within the observation IDs of a single multi-observation-ID dataset.

Usage:

au.commonAntennas(vislist)
Inputs:
  • vislist: either a comma-delimited string, or a python list of strings

Examples:

1. Example of two independent, single-obsid datasets:
CASA <7>: au.commonAntennas('uid___A002_X87b480_Xb68.ms.split.cal, uid___A002_Xa25bbf_X881e.ms.split.cal')
  Out[7]:
['DA41', 'DA42', 'DA43', 'DA50', 'DA54', 'DA55', 'DA57', 'DA59',
 'DA60', 'DA61', 'DA62', 'DV02', 'DV05', 'DV07', 'DV10', 'DV11',
 'DV12', 'DV13', 'DV14', 'DV16', 'DV18', 'DV19', 'DV25']

2. Example of one multi-obsid dataset (constructed from the concat of the two datasets above):
CASA <5>: au.commonAntennas('calibrated.ms')
Finding antennas common to 2 obsids
  Out[5]:
['DA41', 'DA42', 'DA43', 'DA50', 'DA54', 'DA55', 'DA57', 'DA59',
 'DA60', 'DA61', 'DA62', 'DV02', 'DV05', 'DV07', 'DV10', 'DV11',
 'DV12', 'DV13', 'DV14', 'DV16',  'DV18', 'DV19', 'DV25']

-- ToddHunter - 2015-08-12
Topic revision: r1 - 2015-08-12, 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