This repository contains a simple pipeline recipe for extracting lightcurves from interferomter data. It is based on https://github.com/ratt-ru/parrot-stew-recipes and https://github.com/IanHeywood/oxkat.
The current version of the pipeline has been tailored for MeerKAT and presumes that the input visbilitites are the L1 data product generated by the observatory, averaged down to 1024 channels. Consequently, this recipe presumes that the data has already been had 1GC calibration solutions applied and it proceeds from the the standard self-cal loop. Additionally, at present it requires the target to be extracted i.e. does not handle field selection.
The pipline is implemented as a Stimela recipe (https://stimela.readthedocs.io), and should be portable/reproducible given adequate hardware. Installation of required depnedencies can be accomplished by running the following (preferably in a virtual environment):
git clone git@github.com:JSKenyon/lightcurve-pipeline.git
cd lightcuve-pipeline
pip install -e . # Ensure you have updated pip first.
Currently, there is a dependency on breifast-tron which is not publicly
available. Please contact the maintainers if you require access.
Some components of the pipeline will need to be configured for the data and telescope in question. Configuration files are provided for MeerKAT at UHF and L band. These can be tweaked and amended to tailor the pipeline to a specific case.
In order to run the pipeline, ensure that you are in the lightcurve_pipeline
directory.
An example of running the pipeline (for MeerKAT at L band) is as follows:
stimela -C run lightcurve-pipeline.yml lightcurve-pipeline ms-path=path/to/ms outdir-path=path/to/outputs -pf configs/meerkat-l-band.yml
You can add additional paramter files by specifiying -pf multiple times.