Scrappy is a collection of tools used to generate Faraday spectra for various
independent lines of sight across an extragalactic source.
At its tail end, it generates plots to be used with PolarVis:
https://github.com/Mulan-94/polarvis
It consists of a pipeline script showrunner.sh which performs multiple steps to achieve this end goal. This bash script CAN and SHOULD be modified to suit one's needs. The general variables that can be tweaked are located in the env-vars file.
To avail the files required for showrunner.sh, they should be initialised using the following command:
scrappy -iWhen ready, the pipeline showrunner.sh is run as:
./showrunner.sh -runIts help is accessible as: ./showrunner -h. There is additionally an option to run the individual functions in the pipeline by themselves using the syntax ./showrunner.sh functionName. For example to run the 'makeDirs' function:
./showrunner.sh makeDirsscrappy package consists of multiple scripts, which can be viewed using
scrappy -hAll these scripts are in use within the showrunner. They are:
sc-houdini: generate maskssc-los: To generate the independent sc-lossc-losrm: Perform RM-synthesis + RM-CLEAN on the LoS generated by sc-lossc-rmmap: Generate, among other things, an RM mapsc-bokehplot: Generate interactive plots for the LoS. These are for integration with PolarVissc-ifit: A rudimentary script for fitting Taylor polynomials to Stokes I
Each of the scripts has a help text that is accessible via the -h flag. Please consult that for more information on the parameters required to run the individual scripts.
The documentation for this repository is at:
https://mulan-94.github.io/scrappy/
It is still under construction and is bound undergo frequent updates.
This project began as a custom script for Pictor A field but can now support any field provided a source mask is given. Parts of the rm-synthesis tools availed in this script evolved from those by Lerato Baidoo @sebokolodi and have been modified to suit our needs.
