readStationsFromASDM
Return to directory of Todd's CASA extensions
This function uses the ASDM bindings from casapy-telcal and reads the Station positions from the
Station.xml file ( in the ASDM) and returns a dictionary of station positions. The dictionary format is {'J503': [x,y,z], 'N605': etc.}. See also
readStationFromASDM and
readStationFromASDMKeyedByAntennaName for an alternative dictionary format.
Usage:
au.readStationsFromASDM(sdmfile)
- sdmfile: name of the ASDM
Example:
CASA <13>: au.readStationsFromASDM('uid___A002_X8113a9_X370')
Out[13]:
{'A085': [2225268.120274, -5440066.692904, -2481468.501714],
'T701': [2225043.380906, -5440142.747762, -2481517.200407],
'T703': [2225102.084882, -5440096.073722, -2481565.771144],
'WSTB1': [2225262.12, -5440307.3, -2480962.57],
'WSTB2': [2225262.12, -5440307.5, -2480962.57]}
--
ToddHunter - 2014-05-10