surmiseEffectiveResolution

Return to directory of Todd's CASA extensions

Determines the effective resolution of a channel in an ALMA spw. This function was designed primarily for pre-Cycle 3 data, because Cycle 3 onward has the correct value written into the ASDM. See also effectiveResolution and effectiveResolutionASDM.

Usage:

au.surmiseEffectiveResolution(vis, spw, window='hanning', kms=False)
Returns:
  • value in Hz, unless kms=True

Example:

CASA <58>: au.surmiseEffectiveResolution('uid___A002_Xac0269_X756.ms.split.cal',0)
Since this is Cycle 3 data, you should instead use au.effectiveResolution. But hopefully the result will be the same.
  Out[58]: 3904296.875
CASA <59>: au.effectiveResolution('uid___A002_Xac0269_X756.ms.split.cal',0)
  Out[59]: 3904296.875

-- ToddHunter - 2016-07-18
Topic revision: r1 - 2016-07-18, 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