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 libfuse2 library. 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.el8 in the directory you extracted in.
  • You can run CASA by running casa-6.7.5-18-py3.12.el8/bin/casa in your command line.
  • A simpler approach is to create a bash alias, allowing you to run CASA by simply typing casa in 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 command pwd). Keep in mind that this command will alter your .bashrc file in your home directory by appending a line at the file's end:
    echo 'alias casa=(path_to_CASA_folder)/casa-6.7.5-18-py3.12.el8/bin/casa' >> ~/.bashrc
    For example, if I untarred CASA in my home folder, this command would be
    echo '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 typing casa. 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 .dmg file 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 casa in the Terminal, type !create-symlinks in the CASA prompt and follow the prompts. Then open a new Terminal window and type casa to 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.

The tutorial

This tutorial is split into three parts. Use the hyperlinks below to get the the relevant section.


Older versions of this tutorial

CASA version 6.4

CASA version 5