NRAO Home > CASA > CASA Toolkit Reference Manual
sd.scantable.get_restfreqs - Function

5.1.2 Get the rest frequency(s) stored in the scantable
Description

Get the restfrequency(s) stored in this scantable. The return value(s) are always of unit ’Hz’ The method returns a dictionary containing ids and a list of doubles for each id.

The rest frequency is stored in MOLECULES subtable of the scantable. Rows in MOLECULES subtable is referred from main table by MOLECULE_ID. You can specify a list of that id using ids argument to retrieve particular rest frequency(s).

Arguments





Inputs

ids

A list of MOLECULE_ID for that rest frequency(s) to be retrieved

allowed:

integer

Default:

None (retrieve all)





Returns
dictionary

Example


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

Copyright 2016 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