Usage of getBaselineLength

Return to directory of Todd's CASA extensions

It is sometimes useful to know whether a bad-looking baseline is relatively long or short for its configuration. This will tell you length in meters. It does not account for projection toward any observed source.

Usage:

  au.getBaselineLength(msFile='', ant1='DV01', ant2='DV02')

Examples:

CASA <2>: au.getBaselineLength('Band7multi_april22.ms','PM03','DV10')
Length of PM03-DV10 (8-5) is 16.586 m.
Of 36 baselines, this baseline length is percentile 0, where 100=longest.
  Out[2]: (16.586160356439592, 'PM03', 'DV10')

CASA <2>: au.getBaselineLength('uid___A002_X2f0ad3_X71.ms',ant1=0,ant2=1)
Length of DA41-DA42 (0-1) is 72.723 m.
Of 78 baselines, this baseline length is percentile 61, where 100=longest.
  Out[2]: (72.722969794694535, 'DA41', 'DA42')



-- Main.ToddHunter - 2011-10-07

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > GetBaselineLength
Topic revision: 2013-01-26, 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