invertChannelRanges

Return to directory of Todd's CASA extensions

Return to directory of Todd's tools

Inverts a CASA channel selection string, for example, turning line-free channels into line-full channels. See also countChannels and shiftChannelSelection.

Usage:

tt.invertChannelRanges(invertstring, nchan=0, vis='', spw='', separator=';')
Specify either nchan or a measurement set and spw.

Example:

CASA <4>: tt.invertChannelRanges('4~9',nchan=48)
inverse = '0~3;10~47'                           
  Out[4]: '0~3;10~47'   
-- ToddHunter - 2015-08-10

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > FindChannelRanges > InvertChannelRanges
Topic revision: 2016-06-03, 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