bandwidthsForField

Return to directory of Todd's CASA extensions

Uses the msmd tool to find the bandwidths for the spws used to observe the specified field name. See also spwsforfield.

Usage:

au.bandwidthsForField(vis, field)
Inputs:
  • field: string name of field
Returns: a list of bandwidths (in Hz)

Example:

CASA <3>: au.bandwidthsForField('uid___A002_X9fddd8_X2f3f.ms.split.cal/','J1707+0148')
spws =  [0 1 2 3]
  Out[3]:
array([  1.87500000e+09,   1.87500000e+09,   1.87500000e+09,
         1.87500000e+09])

-- ToddHunter - 2015-07-05

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > BandwidthsForField
Topic revision: 2015-07-05, 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