11Obtaining Antenna position Corrections
2- ~~~~~~~~
2+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
44This guide assumes that astrohack was installed in a virtual
55environment (venv) with the convenience functions as described `here <./Installing-astrohack-in-a-virtual-environment >`_
@@ -12,7 +12,7 @@ The first step in the data reduction is to download the scripts to be
1212used in the data reduction process, this can be done by using one of the
1313convenience functions created by the installation script:
1414
15- .. code-block :: bash
15+ .. code-block :: sh
1616
1717 $ get_locit_scripts
1818
@@ -38,14 +38,14 @@ This script contains a basic command line interface to control its
3838parameters, because of this it must be run in CASA in the command line
3939mode, i.e.:
4040
41- .. code-block :: bash
41+ .. code-block :: sh
4242
4343 $ casa -c pre_locit_script.py -h
4444
4545 The output of the pre_locit_script.py script called with the **-h ** flag
4646is the help which should look like this:
4747
48- .. code-block :: bash
48+ .. code-block ::
4949
5050 $ casa -c pre_locit_script.py baseline.ms teste1 -h
5151
@@ -91,7 +91,7 @@ will throw an error before executing any CASA step.
9191
9292A typical execution call will look like this:
9393
94- .. code-block:: bash
94+ .. code-block :: sh
9595
9696 $ casa -c pre_locit_script.py my_dl_asdm baseline-241125
9797
@@ -108,13 +108,14 @@ Running exec_locit.py
108108For running **exec_locit.py ** we need to first activate the astrohack
109109venv:
110110
111- .. code-block:: bash
111+ .. code-block :: sh
112+
112113 $ activate_astrohack
113114
114115 With the venv activated we can then call **exec_locit.py ** with the **-h **
115116flag to have a look at its help:
116117
117- .. code-block:: bash
118+ .. code-block ::
118119
119120 $ python exec_locit.py -h
120121 usage: exec_locit.py [-h] [-d] [-a ANTENNAS] [-c COMBINATION] [-p POLARIZATION] [-k] [-e ELEVATION_LIMIT] [-f FIT_ENGINE] caltable
@@ -154,9 +155,9 @@ few antennas for which we want antenna position corrections and that
154155we want to combine the spectral windows using the phase difference
155156between them.
156157
157- .. code-block:: bash
158+ .. code-block :: sh
158159
159- $ python exec_locit.py baseline-241125-pha.cal -a ' ea06,ea13,ea27' -c difference
160+ python exec_locit.py baseline-241125-pha.cal -a ' ea06,ea13,ea27' -c difference
160161
161162
162163 Exporting results to parminator
@@ -167,7 +168,7 @@ to a parminator file by calling the **export_to_parminator.py** script.
167168Like the other scripts it has a help that can be accessed with the
168169**-h ** flag:
169170
170- .. code-block:: bash
171+ .. code-block ::
171172
172173 $ python export_to_parminator.py -h
173174 usage: export_to_parminator.py [-h] [-t CORRECTION_THRESHOLD] [-a ANTENNAS] position_file parminator_file
@@ -191,9 +192,9 @@ Like the other scripts it has a help that can be accessed with the
191192
192193 A typical call to **export_to_parminator.py ** shall look like this:
193194
194- .. code-block:: bash
195+ .. code-block :: sh
195196
196- $ python export_to_parminator.py baseline-241125.position.zarr 241125-baseline.par -t 0.05 -a ' ea13,ea27'
197+ $ python export_to_parminator.py baseline-241125.position.zarr 241125-baseline.par -t 0.05 -a ' ea13,ea27'
197198
198199 In this call we have chosen a threshold for corrections of 5 cm and to
199200only export corrections for antennas ea13 and ea27 which will be
0 commit comments