BuildConfigurationFile
From CASA Guides
Return to Analysis Utilities
This page documents the buildConfigurationFile function of Python module analysisUtils.
This function will read the list of antenna stations in an .ms and creates a .cfg file based on the antenna locations in the files in /usr/lib64/casapy/data/alma/simmos (Linux path). It is useful for preparing to run simulations to mimic the uv coverage of previously-obtained datasets.
Usage:
au.buildConfigurationFile(vis=, simmospath=None)
Examples
At present, only files for the official ALMA Cycle 0 and Cycle 1 configurations are available in casa, and so in some cases pads used in Early Science will not be found.
CASA <9>: au.buildConfigurationFile('uid___A002_X4b58a4_X31.ms')
Found A075 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_5.cfg
Found A029 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_5.cfg
Found A077 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_5.cfg
Found A082 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_5.cfg
Found A021 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_5.cfg
Found A011 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_5.cfg
Found A072 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_5.cfg
Found A015 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_5.cfg
Found A076 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_5.cfg
Found A003 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma.cycle0.compact.cfg
Found A046 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma.cycle0.compact.cfg
Found A045 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma.cycle0.compact.cfg
Found A004 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma.cycle0.compact.cfg
Found A025 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma.cycle0.compact.cfg
Found A020 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma.cycle0.compact.cfg
Found A001 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_1.cfg
Found A068 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_2.cfg
Found A067 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_2.cfg
Found A137 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_2.cfg
Found A071 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_2.cfg
Found A069 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_2.cfg
Found A074 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_3.cfg
Found A138 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/alma_cycle1_3.cfg
Found T704 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/aca.tp.cfg
Found T702 in file: /usr/lib64/casapy/release/3.4.0/data/alma/simmos/aca.tp.cfg
Wrote 25 of 27 antenna stations to: uid___A002_X4b58a4_X31.ms.cfg
Did not find A053.
Did not find A008.