NRAO Home > CASA > CASA Task Reference Manual

0.1.63 listsdm

Requires:

Synopsis
Lists observation information present in an SDM directory.

Description

Given an SDM directory, this task will print observation information to the logger and return a dictionary keyed by scan.

Arguments





Inputs

sdm

Name of input SDM directory

allowed:

string

Default:

Returns
void

Example

 
 
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’  
 


More information about CASA may be found at the CASA web page

Copyright 2010 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search