Pipeline to produce HI absorption spectra from calibrated ASKAP visibilities for the GASKAP project.
The scripts are listed in the order in which they are normally used.
prep_gaskap_abs.py
- Script to prepare a GASKAP absorption cutout run for an ASKAP scheduling block. This script will build up metadata files describing the observation and data for use by the cutout processor.list_beams.sh
- Control script to invoke CASA to list the beams in an observation and their pointing centreslist_beams.py
- CASA script to list the beams in an observation and their pointing centres to a csv file
askap_cutout_daemon.py
- Daemon process to manage the production of cutouts for each source from an ASKAP scheduling block. The daemon dynamically schedules jobs to produce cutouts in order to minimise I/O contention on measurement sets and to balance the resource usage of the process. It will monitor the progress of jobs, record which ones have succeeded and failed, and track which beams are currently being used for processing. When the number of active jobs allows, the daemon will select a job that doesn't use any beams already in use and will start the job, recording the beams that are now being used. A minimum number of active jobs parameter specifies when the multiple jobs will be allowed to use the same beams in order to avoid a long processing tail all waiting for central beams.start_job.sh
- PBS control script to start a single cutout jobmake_askap_abs_cutout.sh
- Control script to produce a cutout for a single sourcesub_cube_abs.py
- CASA python script to extract a cutout cube/subcube around a single source
extract_emission.py
- Python script that uses astropy to produce emission spectra for a set of sourcesextract_pb_emission.py
- Python script that uses astropy to produce primary beam emission spectra for a set of sourcesextract_spectra.py
- Produce absorption spectra from a set of subcubesgenerate_spectra_pages.py
- Create a set of web pages suitable for browsing the spectra for an observation.merge_obs.py
- Create a field-based set of spectra from a sequence of observation spectra sets. This will stack any cutouts from repeat observations of a field or from overlapping observations.
- Continuum source catalogue for the observation, normally the Selavy continuum component catalogue produced by the ASKAPSoft pipeline.
- Spectral line measurements sets - the measurement sets produced by the ASKAPSoft pipeline. These will need to be adjusted to
- Update the phase centres of each beam measurement set to reflect the beam pointing (a difference in processing requirements between ASKAPSoft and CASA) . e.g. using
GASKAP_Imaging/pbsScripts/alterAllMS.sh
- Concatenate beam measurement sets from different observations with the same pointings. e.g. using
GASKAP_Imaging/pbsScripts/concat_All.pbs
- Update the phase centres of each beam measurement set to reflect the beam pointing (a difference in processing requirements between ASKAPSoft and CASA) . e.g. using
A typical processing run will use the following steps
- Run (as a job)
prep_gaskap_abs.py
supplying the sbid, the continuum catalogue and the folder containing the measurement sets (will take ~1 min). - Start the cutout daemon
askap_cutout_daemon.py
this may run for a 2-7 days depending on demand, number of sources, compute power and max allowed processes. - Produce emission spectra using
extract_emission.py
and input an emission cube and Selavy catalogue - Produce primary beam emission spectra using
extract_pb_emission.py
and input GASS data and the Selavy catalogue - Produce absorption spectra and catalogues using
extract_spectra.py
with the cutouts, emission spectra and primary beam emission spectra produced above and the input Selavy catalogue - Create preview web pages using
generate_spectra_pages.py
- astropy
- CASA
- https://github.com/nipingel/GASKAP_Imaging
This project is licensed under the MIT License. However, the files under support/askap
are licenced under GPL and are included with permission from the ASKAPsoft team.
- GASS ZEA cubes