-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Scripts for data QA
Wrapper scripts for specific data QA should live at the top level. There are separate directories for scripts/code related to each type of data QA. E.g.
run_crosscalQA.py
crosscal
->ccal_plots.py
-
Initial setup
- Log-in to Happili-01
- Open a screen session (optional, but recommended)
- Example:
screen -S dataqa
- Example:
- Set environment for apercal (if not already done)
- Run set_up_qa.py
- Example:
python set_up_qa.py <obs_id> - This will create the directory structure by default to
/data/apertif/<TASKID>/qa
- Example:
-
Run crosscal qa
- Example:
python run_ccal_plots <scannumber> <fluxcal> [-p --/path/to/write/images/too]
- Example:
-
Run selfcal qa
-
Run continuum qa
- Run continuum validation
- Example:
python run_continuum_validation.py <obs_id> - The script creates a directory for each beam in
/data/apertif/<TASKID>/qa/continuum/<beam>/pybdsf/. Otherwise, there would be too many files in a single directory.
- Example:
- Run continuum validation
-
Run line qa
-
Run mosaic qa
-
Run mosaic
-
python make_mosaic_image.py <obs_id> -
This script will create a directory:
/data/apertif/<obs_id>/mosaic/and place the mosaic image there (miriad image + fits image). -
If not all of the beams have a continuum image there will be an error message, but the script will still run and create a mosaic from the beams that have a continuum image fits file.
-
The script breaks if there are no beams at all to mosaic.
-
-
Run pybdsf
- Example: `python run_continuum_validation.py <obs_id> --for_mosaic
-
-
Put relevant information into Google-Doc