MeerKAT demerit map utilities
Best to clone from github and use pip install from a setup virtual environment to install the scripts and their dependencies:
$ git clone https://github.com/mauch/demerit
$ pip install ./demerit
There are 3 scripts (in all cases use --help
for further information):
-
make-demerit-map.py
will generate a FITS file with an all-sky demerit map for a selected band. Beware - this takes over 24 hours to run for an all-sky demerit map. -
get-demerit.py
will print information about the demerit score and bright sources at a given input position and band. -
plot-cum-demerit.py
will take a FITS file created bymake-demerit-map.py
and make png plots of the cumulative demerit score and the demerit map itself. It will also produce .npy files contain the derived cumulative distribution which can replace these contained in the static dir of the package. These .npy files are used to derive the per-cent of sky value reported by theget-demerit.py
script.