listsdm.xml

Lists observation information present in an SDM directory. Given an SDM directory, this task will print observation information to the logger and return a dictionary keyed by scan. Name of input 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) Note that at the moment, listsdm will not work on datasets with variable-width channels within a single spectral window (as can be the case for, e.g., ALMA data). 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'