readSysCal

Return to directory of Todd's CASA extensions

This function reads the SysCal.xml table from the ASDM and checks how many Tsys entries there are for each combination of Antenna, time and spw (which should be 1). Reports the number of duplicates and returns a dictionary keyed by [antenna][spw] = list of timestamps

Usage:

CASA <26>: a = au.readsyscal('uid___A002_X5bd66a_X26e/')
  Found  484  Tsys rows in SysCal.xml
0 duplicates found
CASA <27>: a[0]
  Out[27]:
{40: [4866247400101500000,
      4866247776024500000,
      4866248306384500000,
      7044810334746887903],
 42: [4866247400101500000,
      4866247776024500000,
      4866248306384500000,
      7044810334746887903],
 44: [4866247400101500000,
      4866247776024500000,
      4866248306384500000,
      7044810334746887903],
 46: [4866247400101500000,
      4866247776024500000,
      4866248306384500000,
      7044810334746887903]}

-- ToddHunter - 2013-04-03
Topic revision: r1 - 2013-04-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