shiftChannelSelection

Return to directory of Todd's CASA extensions

Takes a channel selection string and shifts it by the number of specified channels. See also countChannels and invertChannelRanges.

Usage:

au.shiftChannelSelection(selection, nchanToRemove=1)
Inputs:
  • selection: string, e.g. '4~20;30~40
  • nchanToRemove: positive value shifts left, e.g.'4~20;30~40' --> '3~19;29~39'

-- ToddHunter - 2016-06-02
Topic revision: r2 - 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