transitions
Return to directory of Todd's CASA extensions
Returns a dictionary of the line transition names for each science spw of the
specified measurement set. See also
restFrequencies and
transition.
Usage:
au.transitions(vis, spws='', source='', intent='OBSERVE_TARGET')
Inputs:
- spw: list or comma-delimited string; if blank, then use all science spws
Example:
CASA <24>: au.transitions('uid___A002_Xb24884_Xaaf5.ms')
Got science spws: [19, 23, 25, 27, 29, 31]
For spw 19, picked source: HD_163296
For spw 23, picked source: HD_163296
No value found for this source/spw (row=[324]).
For spw 25, picked source: HD_163296
For spw 27, picked source: HD_163296
For spw 29, picked source: HD_163296
For spw 31, picked source: HD_163296
Out[24]:
{19: array(['CONTINUUM(ID=0)'],
dtype='|S16'),
23: [],
25: array(['CH3OH(ID=0)'],
dtype='|S12'),
27: array(['CH3OH(ID=0)'],
dtype='|S12'),
29: array(['CH3OH(ID=0)'],
dtype='|S12'),
31: array(['CH3OH(ID=0)'],
dtype='|S12')}
--
ToddHunter - 2016-08-10