representativeFrequency

Return to directory of Todd's CASA extensions

Get the representative frequency from the ASDM_SBSUMMARY table of a measurement set, if it has been imported with asis. It also displays the min/max acceptable angular resolutions. See also representativeFrequencyFromASDM.

Usage:

au.representativeFrequency(vis, verbose=True)
Inputs:
  • vis: name of measurement set
  • verbose: if True, then also print the min/max acceptable angular resolutions
Returns:
  • Returns the value in GHz.

Examples:

CASA <4>: au.representativeFrequency('uid___A002_Xa424cc_X3ee.ms')
minAcceptableResolution = 0.649003 arcsec
maxAcceptableResolution = 0.793225 arcsec
  Out[4]: 282.45000000000005

CASA <2>: au.representativeFrequency('uid___A002_X9f9284_X1fb6.ms')
Could not find ASDM_SBSUMMARY table.  Did you not import it with asis='SBSummary'?

-- ToddHunter - 2015-07-02
Topic revision: r2 - 2015-07-24, 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