Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

step_title = {0: 'Import of the ASDM',
1: 'Fix of SYSCAL table times',
2: 'listobs',
3: 'A priori flagging',
4: 'Generation and time averaging of the WVR cal table',
5: 'Generation of the Tsys cal table',
6: 'Generation of the antenna position cal table',
7: 'Application of the WVR, Tsys and antpos cal tables',
8: 'Split out science SPWs and time average',
9: 'Listobs, and save original flags',
10: 'Initial flagging',
11: 'Putting a model for the flux calibrator(s)',
12: 'Save flags before bandpass cal',
13: 'Bandpass calibration',
14: 'Save flags before gain cal',
15: 'Gain calibration',
16: 'Save flags before applycal',
17: 'Application of the bandpass and gain cal tables',
18: 'Run renormalization',
19: 'Split out corrected column',
1920: 'Save flags after applycal'}

...

NOTE 2: Important: some steps will not only produce plots and caltables but also apply flagging! If you need to modify these steps and re-run them, you need to revert the flagging first!
     For this purpose, the calibration script includes calls to the flagmanager task to save the state of flags before they are modified.
     You can revert to the previous flagging state by running the flagmanager task in mode "restore" and providing the  corresponding versionname which you can find in the calibration script.

The CSG is somewhat computing intensive. The execution time depends on the size of the input dataset and can take several 10 minutes.

Pay close attention to error messages on the terminal.

NOTE 3: the renormalization step is only present if there are FDM SPWs in the EB. You are expected to run this step first as-is in order to check whether renormalization is needed. If so, you need to edit the script and set applyRenorm to True and then run the step again to apply the renormalization. See Renormalization correction for MOUSs with FDM SPWs


The CSG is somewhat computing intensive. The execution time depends on the size of the input dataset and can take several 10 minutes, especially when the MS has not yet been imported and importasdm has to be run.

Pay close attention to error messages on the terminal.

The CSG internally uses the analysisUtils and up to version 1.27, the CSG can work with CASA 5.1.1 or later. CASA 6 is recommended.
For QA2, use the same CASA version which is also presently used by the Pipeline.
Starting with version 1.28, the CSG requires a CASA version >= 6.2.1 with ALMA pipeline in order to have access to the renormalisation module.

If you want to use the CSG with a CASA version which does not contain the ALMA pipeline (i.e. the renorm module), or if you just don't want the renorm step to be generated even though FDM science SPWs are present, you need to set the parameter includeRenorm=False .

For Cycle 9, use version 1.30 or later with CASA 6.4.1 with ALMA pipelineThe CSG internally uses the analysisUtils and needs CASA 5.1.1 or later. CASA 6 is recommended.

Access

The CSG is contained in a single Python module almaqa2csg which is part of the analysis_scripts.tar package which also contains the "analysisUtils" which you will also need since the CSG uses a few of their functions.
See the Zenodo analysisUtils page (which provides a citeable DOI: 10.5281/zenodo.7502160) and the Analysis Utilities CASA Guide for details on how to install the package.

...