Return to directory of Todd's CASA extensions

Gets a list of spws with OBSERVE_TARGET intent whose channels contain a specified frequency. See also getScienceSpws.


au.getScienceSpwsForFrequency(vis, frequency)
  • vis: measurement set
  • frequency: Hz, GHz or string with units


CASA <14>: au.getScienceSpwsForFrequency('',231.33)
  Out[14]: [4]

CASA <15>: au.getScienceSpwsForFrequency('',231.33e9)
  Out[15]: [4]

CASA <16>: au.getScienceSpwsForFrequency('','231330MHz')
  Out[16]: [4]

-- ToddHunter - 2016-01-04
Topic revision: r1 - 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