Return to directory of Todd's CASA extensions

Return a list of spws with the specified intent. For ALMA data, it ignores channel-averaged and SQLD spws. See also getScienceFrequencies and getScienceSpwsInSameBaseband.


au.getScienceSpws(vis, intent='OBSERVE_TARGET#ON_SOURCE', returnString=True)


CASA <2>: au.getScienceSpws('')
  Out[2]: '0,1,2,3,4,5'

CASA <3>: au.getScienceSpws('',returnString=False)
  Out[3]: [0, 1, 2, 3, 4, 5]

-- ToddHunter - 2016-01-04
Topic revision: r2 - 2016-07-14, 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