Skip to main content

Containerized Automated Radio Astronomy Calibration

Project description

CARACal

CARACal stands for Containerized Automated Radio Astronomy Calibration and is a pipeline for radio interferometry data reduction

Main website: caracal.rtfd.io

It includes the Install & Run instructions described below, and much more.

Installation & Run

Usage and publication policy

When using CARACal please be aware of and adhere to the CARACal publication policy.

Installation

We strongly recommend and describe an installation using a Python3 virtual environment. Only try outside a virtual environment if you know what you are doing. Any name as ${name} occurring in the description below can be chosen arbitrarily. If it symbolises directories or files, those directories or files should exist and the user should have write access.

There are three (3) available methods to install the caracal pipeline:

1. Manual

Choose the name of the virtual environment ${caracal-venv}. Then:

python3 -m venv ${caracal-venv}

OR, if the command above does not work

virtualenv -p python3 ${caracal-venv}

For a CARACal stable release run:

pip install -U caracal

CARACal has a few optional dependencies (scipy, astropy, regions, astroquery) which are not installed by default. But to get full functionality, you can install them by running:

pip install -U caracal[all]

And CARACal developer version which is not recommended for users:

pip install -U 'caracal[all] @ git+https://github.com/caracal-pipeline/caracal.git@master'

Ignore any error messages concerning pyregion.

2. caratekit.sh script

Download the installation script caratekit.sh . Choose the parent directory ${workspace} and the name of the CARACal directory ${caracal_dir}. Any name as ${name} occurring in the description below can be chosen arbitrarily. If it symbolises directories or files, those directories or files should exist and the user should have write acccess.

If using Docker:

caratekit.sh -ws ${workspace} -cr -di -ct ${caracal_dir} -rp install -f -kh

If using Singularity:

caratekit.sh -ws ${workspace} -cr -si -ct ${caracal_testdir} -rp install -f -kh

3. Poetry (For developers)

Installation from source using poetry. First, install poetry:

pip install poetry

In the working directory where source is checked out run poetry install or to include all optional dependencies:

poetry install --extras all
pip install -U caracal

NB: The stimela singularity images needed for CARACal are stored in this location: /software/astro/caracal/ where you can access the latest version of the images, for example, /software/astro/caracal/STIMELA_IMAGES_1.7.0.

License

This project is licensed under the GNU General Public License v2.0 - see license for details.

Contribute

Contributions are always welcome! Please ensure that you adhere to our coding standards pep8.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

caracal-1.1.3rc1.tar.gz (58.1 MB view hashes)

Uploaded Source

Built Distribution

caracal-1.1.3rc1-py3-none-any.whl (58.1 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page