interpretLOs
Return to directory of Todd's CASA extensions
Interpret (and optionally print) the LO settings for an MS. Note:
printLOs is now simply a wrapper for this function.
Usage:
au.interpretLOs(ms, parentms='', showWVR=False, showCentralFreq=False, verbose=False,
show=False, alsoReturnLO2=False, birdieFreq=None, birdieSpw=None)
Inputs:
- showCentralFreq: if True, then show the mean frequency of each spw, otherwise show the frequency of the first channel
- showWVR: include the WVR spw in the list
- parentms: if the dataset has been split from a parent dataset, then you may also need to specify the name of the parent ms.
- alsoReturnLO2: if True, return a second dictionary of the LO2 values
- birdieFreq: if specified, compute the IF of this RF feature (in GHz, Hz or a string with units)
- birdieSpw: only necessary to specify if there is more than one LO1 in the science spws
Returns:
- a dictionary of the LO1 values (in Hz) for each spw, keyed by integer.
Example:
CASA <5>: au.interpretLOs('uid___A002_X6fdf5f_X846.ms')
Out[5]:
{1: 97953075000.0,
2: 97953075000.0,
3: 97953075000.0,
4: 97953075000.0,
5: 97953075000.0,
6: 97953075000.0,
7: 97953075000.0,
8: 97953075000.0,
9: 107790710544.0,
10: 107790710544.0,
11: 107790710544.0,
12: 107790710544.0,
13: 107790710544.0,
14: 107790710544.0,
15: 107790710544.0,
16: 107790710544.0,
17: 107790710544.02727,
18: 107790710544.02727,
19: 107790710544.02727,
20: 107790710544.02727,
21: 107790710544.02727,
22: 107790710544.02727,
23: 107790710544.02727,
24: 107790710544.02727}
--
ToddHunter - 2013-10-23