Skip to content

jurjen93/lofar_helpers

Repository files navigation

LOFAR helper scripts

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 -> Split a ds9 region file with multiple polygons into individual region files for each polygon.
  • cut_fits_with_region -> Cut a FITS file with a ds9 region file.
  • concat_with_dummies -> Concatenate MeasurementSets using dummies for missing frequency bands.
  • remove_flagged_stations -> Remove 100% flagged stations from the MeasurementSet
  • applycal -> Perform an applycal with DP3, taking into account corrections for beam directions

Use --help to get more details about the functionalities.

Dependencies

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/

Contact

Let me know if you have any issues or suggestions for improvements. You can contact me on: jurjendejong(AT)strw.leidenuniv.nl

Acknowledgments

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).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5