casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Functions
listsdm Namespace Reference

Functions

def listsdm

Function Documentation

def listsdm.listsdm (   sdm = '')
Lists observation information present in an SDM directory.

The listsdm task reads SDM XML tables, processes the
observation information contained therein, and prints this
information to the CASA log.  It will also return a dictionary
keyed on scan number.  The dictionary contains the following
information:

'baseband'   list of baseband name(s)
'chanwidth'  list of channel widths (Hz)
'end'        observation end time (UTC)
'field'      field ID
'intent'     scan intent(s)
'nchan'      list of number of channels
'nsubs'      number of subscans
'reffreq'    list of reference frequencies (Hz)
'source'     source name
'spws'       list of spectral windows
'start'      observation start time (UTC)
'timerange'  start time - end time range (UTC)

Example:

myscans = listsdm(sdm='AS1039_sb1382796_2_000.55368.51883247685')

Prints information about the requested SDM to the CASA logger
and returns a dictionary with scan information in 'myscans'.

Keyword argument:

sdm -- Name of input SDM directory.  
       example: sdm='AG836_sb1377811_1.55345.300883159725'

Definition at line 13 of file listsdm.py.