These scripts were developed for reducing LOFAR data in the following peer-reviewed publications:
Some of these scripts have been integrated in the LOFAR-VLBI pipeline: https://github.com/LOFAR-VLBI
You are free to use the scripts for your own work.
Install with: pip install -v git+https://github.com/jurjen93/lofar_helpers.git
This gives you the following command line functions:
split_polygon_facets
crop_nan_boundaries
cut_fits_with_region
requirements.txtclose_h5
concat_with_dummies
remove_flagged_stations
applycal
subtract_with_wsclean
Use --help
to get more details about the functionalities.
The scripts in this repository depend on typical LOFAR and astronomy software, such as DP3, astropy, WSClean and more. If you have not installed those, it is strongly advised to download the latest FLoCs singularity image: https://tikk3r.github.io/flocs/
Let me know if you have any issues or suggestions for improvements. You can contact me on: jurjendejong(AT)strw.leidenuniv.nl
This repository is part of the project CORTEX (NWA.1160.18.316) of the research programme NWA-ORC which is (partly) financed by the Dutch Research Council (NWO).