Usage for listscans

Return to directory of Todd's CASA extensions

This function reads an ASDM and prints the summary of each scan (time range, source, and intents) as well as the total time on each source, and the source directions. To receive dictionaries instead, you can run readscans(). To list the time on source in an ms, see timeOnSource. See also listobsasdm.

Usage:

au.listscans(asdm, listfile='')

Example:

CASA <2>: au.listscans('uid___A002_X27fec6_X4fb')
  Found  26  scans in Scan.xml
       1                J1924-292    2011/08/17/03:12:36.57~2011/08/17/03:13:41.70  1.1 minutes  CALIBRATE_POINTING CALIBRATE_WVR 
       2                  Neptune    2011/08/17/03:14:12.78~2011/08/17/03:15:22.16  1.2 minutes  CALIBRATE_ATMOSPHERE CALIBRATE_WVR 
       3                  Neptune    2011/08/17/03:15:44.49~2011/08/17/03:20:01.74  4.3 minutes  CALIBRATE_AMPLI CALIBRATE_PHASE CALIBRATE_WVR 
       4                J1924-292    2011/08/17/03:20:13.67~2011/08/17/03:21:36.97  1.4 minutes  CALIBRATE_ATMOSPHERE CALIBRATE_WVR 
       5                J1924-292    2011/08/17/03:21:53.41~2011/08/17/03:22:36.25  0.7 minutes  CALIBRATE_BANDPASS CALIBRATE_PHASE CALIBRATE_WVR 
       6                J1625-254    2011/08/17/03:22:49.01~2011/08/17/03:23:57.15  1.1 minutes  CALIBRATE_ATMOSPHERE CALIBRATE_WVR 
       7                J1625-254    2011/08/17/03:24:18.81~2011/08/17/03:25:01.71  0.7 minutes  CALIBRATE_PHASE CALIBRATE_WVR 
       8        IRAS 16293-2422-a    2011/08/17/03:25:13.61~2011/08/17/03:26:22.63  1.2 minutes  CALIBRATE_ATMOSPHERE CALIBRATE_WVR 
       9        IRAS 16293-2422-a    2011/08/17/03:26:44.61~2011/08/17/03:38:47.50  12.0 minutes  OBSERVE_TARGET CALIBRATE_WVR 
      10                J1625-254    2011/08/17/03:38:58.66~2011/08/17/03:40:01.95  1.1 minutes  CALIBRATE_ATMOSPHERE CALIBRATE_WVR 
      11                J1625-254    2011/08/17/03:40:18.26~2011/08/17/03:41:00.88  0.7 minutes  CALIBRATE_PHASE CALIBRATE_WVR 
      12        IRAS 16293-2422-a    2011/08/17/03:41:13.54~2011/08/17/03:42:15.54  1.0 minutes  CALIBRATE_ATMOSPHERE CALIBRATE_WVR 
      13        IRAS 16293-2422-a    2011/08/17/03:42:31.98~2011/08/17/03:54:34.60  12.0 minutes  OBSERVE_TARGET CALIBRATE_WVR 
      14                J1625-254    2011/08/17/03:54:46.10~2011/08/17/03:55:54.49  1.1 minutes  CALIBRATE_ATMOSPHERE CALIBRATE_WVR 
      15                J1625-254    2011/08/17/03:56:15.98~2011/08/17/03:56:58.77  0.7 minutes  CALIBRATE_PHASE CALIBRATE_WVR 
      16        IRAS 16293-2422-a    2011/08/17/03:57:11.81~2011/08/17/03:58:19.97  1.1 minutes  CALIBRATE_ATMOSPHERE CALIBRATE_WVR 
      17        IRAS 16293-2422-a    2011/08/17/03:58:41.66~2011/08/17/04:10:44.44  12.0 minutes  OBSERVE_TARGET CALIBRATE_WVR 
      18                J1625-254    2011/08/17/04:10:55.80~2011/08/17/04:11:58.52  1.0 minutes  CALIBRATE_ATMOSPHERE CALIBRATE_WVR 
      19                J1625-254    2011/08/17/04:12:14.68~2011/08/17/04:12:57.53  0.7 minutes  CALIBRATE_PHASE CALIBRATE_WVR 
      20        IRAS 16293-2422-a    2011/08/17/04:13:10.31~2011/08/17/04:14:13.30  1.0 minutes  CALIBRATE_ATMOSPHERE CALIBRATE_WVR 
      21        IRAS 16293-2422-a    2011/08/17/04:14:30.52~2011/08/17/04:26:33.12  12.0 minutes  OBSERVE_TARGET CALIBRATE_WVR 
      22                J1625-254    2011/08/17/04:26:44.61~2011/08/17/04:27:52.65  1.1 minutes  CALIBRATE_ATMOSPHERE CALIBRATE_WVR 
      23                J1625-254    2011/08/17/04:28:15.83~2011/08/17/04:28:58.78  0.7 minutes  CALIBRATE_PHASE CALIBRATE_WVR 
      24        IRAS 16293-2422-a    2011/08/17/04:29:11.70~2011/08/17/04:30:19.98  1.1 minutes  CALIBRATE_ATMOSPHERE CALIBRATE_WVR 
      25        IRAS 16293-2422-a    2011/08/17/04:30:41.68~2011/08/17/04:36:46.45  6.1 minutes  OBSERVE_TARGET CALIBRATE_WVR 
      26                J1625-254    2011/08/17/04:36:59.95~2011/08/17/04:37:42.89  0.7 minutes  CALIBRATE_PHASE CALIBRATE_WVR 
  Found  4  sources in Source.xml
   Total                J1924-292 (0)    3.2 minutes  (5.083, -0.510 radian) J2000: 19:24:51.06 -029:14:30.121
   Total                  Neptune (1)    5.4 minutes  (0.000, +0.000 radian) J2000: 00:00:00.00 +000:00:00.000
   Total                J1625-254 (2)    9.8 minutes  (4.301, -0.444 radian) J2000: 16:25:46.89 -025:27:38.326
   Total        IRAS 16293-2422-a (3)   59.8 minutes  (4.330, -0.427 radian) J2000: 16:32:22.99 -024:28:36.100
   Total                J1924-292        0.7 minutes (neglecting pntg, atm & sideband cal. scans)
   Total                  Neptune        4.3 minutes (neglecting pntg, atm & sideband cal. scans)
   Total                J1625-254        4.3 minutes (neglecting pntg, atm & sideband cal. scans)
   Total        IRAS 16293-2422-a       54.3 minutes (neglecting pntg, atm & sideband cal. scans)
-- ToddHunter - 2011-10-26

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > Listscans
Topic revision: 2016-05-13, 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