Usage of channelsForPreBandpass

Return to directory of Todd's CASA extensions

Determines the channel range at the center of the spw that corresponds to the specified bandwidth, centered on the spw. Analogous to the pipeline's conversion of the phaseupbw parameter of hif_bandpass.

Usage:

au.channelsForPreBandpass(vis, spw, bandwidth, verbose=False)
Inputs:
  • spw: integer or string
  • bandwidth: floating point Hz, or string with specified units of GHz, MHz or Hz

Example:

CASA <4>: au.channelsForPreBandpass('uid___A002_X65c1ab_X1ae.ms', spw=1, bandwidth='500MHz')
  Out[4]: '48~79'

-- ToddHunter - 2013-10-17
Topic revision: r1 - 2013-10-17, 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