getLOsFromASDM

Return to directory of Todd's CASA extensions

Returns a dictionary of the LO values for every spw in the specified ASDM. Dictionary contents: numLO, freqLO, spectralWindowId. freqLO is itself a list of floating point values. See also getLOs.

Usage:

au.getLOsFromASDM(sdmfile)

Example:

CASA <4>: au.getLOsFromASDM('uid___A002_X6fa591_X49b')
  Out[4]: 
{0: {'freqLO': [343453075000.0],
     'frequencyBand': 'UNSPECIFIED',
     'numLO': 1,
     'receiverId': 0,
     'spectralWindowId': 0},
 1: {'freqLO': [343453075000.0, 9958500000.0, 4000000000.0],
     'frequencyBand': 'ALMA_RB_07',
     'numLO': 3,
     'receiverId': 0,
     'spectralWindowId': 11},
 2: {'freqLO': [343453075000.0, 9958500000.0, 4000000000.0],
     'frequencyBand': 'ALMA_RB_07',
     'numLO': 3,
     'receiverId': 0,
     'spectralWindowId': 12},
 3: {'freqLO': [343453075000.0, 8021000000.0, 4000000000.0],
     'frequencyBand': 'ALMA_RB_07',
     'numLO': 3,
     'receiverId': 0,
     'spectralWindowId': 13},
 4: {'freqLO': [343453075000.0, 8021000000.0, 4000000000.0],
     'frequencyBand': 'ALMA_RB_07',
     'numLO': 3,
     'receiverId': 0,
     'spectralWindowId': 14},
 5: {'freqLO': [343453075000.0, 8041500000.0, 4000000000.0],
     'frequencyBand': 'ALMA_RB_07',
     'numLO': 3,
     'receiverId': 0,
     'spectralWindowId': 15},
 6: {'freqLO': [343453075000.0, 8041500000.0, 4000000000.0],
     'frequencyBand': 'ALMA_RB_07',
     'numLO': 3,
     'receiverId': 0,
     'spectralWindowId': 16},
 7: {'freqLO': [343453075000.0, 10041500000.0, 4000000000.0],
     'frequencyBand': 'ALMA_RB_07',
     'numLO': 3,
     'receiverId': 0,
     'spectralWindowId': 17},
 8: {'freqLO': [343453075000.0, 10041500000.0, 4000000000.0],
     'frequencyBand': 'ALMA_RB_07',
     'numLO': 3,
     'receiverId': 0,
     'spectralWindowId': 18},
 9: {'freqLO': [238006850000.0],
     'frequencyBand': 'UNSPECIFIED',
     'numLO': 1,
     'receiverId': 1,
     'spectralWindowId': 0},
 10: {'freqLO': [238006850000.0, 11406350000.1, 4000000000.0],
      'frequencyBand': 'ALMA_RB_06',
      'numLO': 3,
      'receiverId': 0,
      'spectralWindowId': 19},
 11: {'freqLO': [238006850000.0, 11406350000.1, 4000000000.0],
      'frequencyBand': 'ALMA_RB_06',
      'numLO': 3,
      'receiverId': 0,
      'spectralWindowId': 20},
 12: {'freqLO': [238006850000.0, 9531350000.1000004, 4000000000.0],
      'frequencyBand': 'ALMA_RB_06',
      'numLO': 3,
      'receiverId': 0,
      'spectralWindowId': 21},
 13: {'freqLO': [238006850000.0, 9531350000.1000004, 4000000000.0],
      'frequencyBand': 'ALMA_RB_06',
      'numLO': 3,
      'receiverId': 0,
      'spectralWindowId': 22},
 14: {'freqLO': [238006850000.0, 9593650000.0, 4000000000.0],
      'frequencyBand': 'ALMA_RB_06',
      'numLO': 3,
      'receiverId': 0,
      'spectralWindowId': 23},
 15: {'freqLO': [238006850000.0, 9593650000.0, 4000000000.0],
      'frequencyBand': 'ALMA_RB_06',
      'numLO': 3,
      'receiverId': 0,
      'spectralWindowId': 24},
 16: {'freqLO': [238006850000.0, 11468650000.0, 4000000000.0],
      'frequencyBand': 'ALMA_RB_06',
      'numLO': 3,
      'receiverId': 0,
      'spectralWindowId': 25},
 17: {'freqLO': [238006850000.0, 11468650000.0, 4000000000.0],
      'frequencyBand': 'ALMA_RB_06',
      'numLO': 3,
      'receiverId': 0,
      'spectralWindowId': 26}}
-- ToddHunter - 2013-10-20
Topic revision: r1 - 2013-10-20, 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