getScienceFrequencies

Return to directory of Todd's CASA extensions

Return a list of the mean frequencies of each spw with OBSERVE_TARGET intent. If none have that intent, then use all the spws with more than 4 channels i.e. not the WVR data nor the channel-averaged data. See also getFrequenciesFromASDM and getScienceSpws.

Usage:

au.getScienceFrequencies(vis)

Example:

CASA <2>: au.getScienceFrequencies('uid___A002_X87b480_Xb68.ms')
  Out[2]: [683609427919.4375, 685377311829.9672, 679870469772.4482, 681817427919.4375]

-- ToddHunter - 2015-08-14

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > GetScienceFrequencies
Topic revision: 2016-01-04, 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