EVN Continuum Workshop
This workshop aims to introduce you to VLBI data reduction in CASA. We will use a European VLBI Network observation of five bright radio sources. We will introduce the CASA environment and touch upon the visualisation, calibration, and imaging capabilities available, as well as the scripting methods so that you can create your own calibration scripts for your own data.
Important: You must have CASA version 6.7.5 or above! The tutorial will not work properly with lower versions.
Installing CASA
We will be using CASA version 6.7.5. Please follow the instructions below for your operating system. In both cases, first create a directory named data inside the hidden CASA configuration directory in your home folder:
mkdir -p ~/.casa/data
Linux
- Most modern CASA installations need the
libfuse2library. On Ubuntu, you can install it with:sudo apt install libfuse2 - Please use the following link to download CASA for Linux.
- Once downloaded, extract the package into an appropriate folder. E.g., you can use the tar command in the command line/terminal to do this:
tar xvf casa-6.7.5-18-py3.12.el8.tar.xz - This will make a folder named
casa-6.7.5-18-py3.12.el8in the directory you extracted in. - You can run CASA by running
casa-6.7.5-18-py3.12.el8/bin/casain your command line. - A simpler approach is to create a bash alias, allowing you to run CASA by simply typing
casain the command line from anywhere! You can accomplish this using the following code, where you should replace(path_to_CASA_folder)with the path to your CASA folder (you can find your current path using the commandpwd). Keep in mind that this command will alter your.bashrcfile in your home directory by appending a line at the file's end:
For example, if I untarred CASA in my home folder, this command would beecho 'alias casa=(path_to_CASA_folder)/casa-6.7.5-18-py3.12.el8/bin/casa' >> ~/.bashrcecho 'alias casa=/home/radcliff/casa-6.7.5-18-py3.12.el8/bin/casa' >> ~/.bashrc - Test that this alias works by opening a new terminal (or running
source ~/.bashrc) and typingcasa. This should open up CASA and the logger window.
Mac OS
- Please use the following link to download the correct CASA version for your Mac OS version.
- Open the Finder and double click on the downloaded
.dmgfile to mount it. This opens another Finder window containing CASA and a README.md file. - Copy CASA (or drag and drop) into your Applications folder.
- Open CASA from the Applications folder. A Terminal window should open with the CASA prompt and the logger window.
- To be able to start CASA by typing
casain the Terminal, type!create-symlinksin the CASA prompt and follow the prompts. Then open a new Terminal window and typecasato check that it works.
If these steps have run with no errors, please follow the instructions below to test your CASA installation.
Installing CARTA
We also need to install the CARTA tool which will be used to visualise images. Follow the instructions on the following webpage to install it https://cartavis.org/#download. You will want to install the stand-alone application.
Testing your CASA installation
Before we start, we would like to ensure that your CASA installation is working adequately (thus reducing any further issues down the line). We have therefore compiled a few tests using a small data set. Please do these first before progressing with this workshop.
You can download the data and the accompanying document which describes the tests you should conduct using the buttons below.
Data Download
This tutorial requires around 20 GB of space so make sure you have enough room. The download links for each part are found below. Part 1 of this workshop should generate the $uv$ data for parts 2 and 3 so you just need to download the scripts. However, it may be necessary to use partially calibrated data if something goes wrong. These are provided below also.
| Part 1 | Part 2 | Part 3 |
|---|---|---|
The tutorial
This tutorial is split into three parts. Use the hyperlinks below to get the the relevant section.
- Part 1: Basic calibration
- Part 2: Calibration & imaging of J1849+3024
- Part 3: Calibration & imaging of 3C345
Older versions of this tutorial
CASA version 6.4
- Part 1 - tutorial / data + calibration scripts download
- Part 2 - tutorial / data only download / scripts download
- Part 3 - tutorial / data only download / scripts download
CASA version 5
- Part 1 - tutorial / data + calibration scripts download
- Part 2 - tutorial / data only download / scripts download
- Part 3 - tutorial / data only download / scripts download
Credits
This workshop is based upon the original workshop developed by Anita Richards (Uni. of Manchester) in 2016. The subsequent update(s) have been conducted by Jack Radcliffe (Uni. Manchester/Uni. of Pretoria) which has been influenced by Des Small's (JIVE) EVN CASA tutorial.
