Rapthor: LOFAR DDE Pipeline
Rapthor is an experimental pipeline for correcting direction-dependent effects in LOFAR data. It is also being developed for use on SKA-Low data. It uses DP3 and WSClean to derive and apply the corrections in facets or as smooth 2-D screens. It uses CWL for the pipeline language and either Toil or StreamFlow to run the pipelines.
Documentation
Extensive documentation can be found on Read the Docs.
Installation
To install rapthor, follow the instructions below.
If you are using the SKAO AWS cluster, follow the instructions here.
Dependencies
Rapthor requires the following packages (beyond those installed automatically with rapthor):
- DP3 (version 6.3 or later; building with AOFlagger, EveryBeam, and IDG is required)
- EveryBeam (version 0.7.1 or later)
- IDG (version 1.2.0 or later)
- WSClean (version 3.4 or later; building with EveryBeam and IDG is required)
It is strongly recommended to also build the following packages from source, because the version that can be installed from the Linux distribution is usually too old:
- AOFlagger (version 3.4.0 or later)
- Casacore (version 3.7.1 or later)
- Python-Casacore (version 3.7.1 or later)
Downloading and Installing
Installation can be done in a number of ways. In order of preference (read: ease of use):
-
Install the latest release from PyPI:
pip install rapthor -
Install directly from the Rapthor git repository. This option is useful if you want to use one or more features that have not yet been released:
pip install --upgrade pip pip install git+https://git.astron.nl/RD/rapthor.git[@<branch|tag|hash>]If the optional
@<branch|tag|hash>is omitted,HEADof themasterbranch will used. -
Clone the git repository, and install from your working copy. This option is mostly used by developers who want to make local changes:
pip install --upgrade pip git clone https://git.astron.nl/RD/rapthor.git cd rapthor git checkout [<branch|tag|hash>] #optionally pip install .
Note
When installing Rapthor from source (options 2 and 3), you will need pip version 23 or later. That is why you need to upgrade to the latest version of pip before you install from source.
Usage
The rapthor executable can be used from the command line with
a parset that defines the parameters of the run. E.g.:
$ rapthor rapthor.parset
The parset defines the input and working directories, various options, etc. For details, please see the example parset in the examples directory.
Metadata
Release files for rapthor 2.1.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rapthor-2.1.post1.tar.gz | 885.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rapthor-2.1.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.2 MB
Release files / rapthor-2.1.post1.tar.gz
| Download URL | rapthor-2.1.post1.tar.gz |
|---|---|
| Size | 885.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c21e960f001ff05d1329a4fc0be6dfed24b3756fc4b9ae7ce698a6be3df1a7e6
|
|
BLAKE2b-256 checksum How to use checksums |
f5bfd9ca63ab3b978294c68a8d3e015fced361f8e5480d545acc4675c79ce59c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / rapthor-2.1.post1-py3-none-any.whl
| Download URL | rapthor-2.1.post1-py3-none-any.whl |
|---|---|
| Size | 345.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6f9f37636632cc2a03cb5acacec69a731f090f731510e3e7dcd7767834aab69
|
|
BLAKE2b-256 checksum How to use checksums |
ca1598b437bb7274f16da6fbfd39b54c07c53e889c47d7588da021eb33ff2e6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|