Skip to content
Paul Hancock edited this page Sep 8, 2016 · 4 revisions

If you want to get residual maps, or model maps, from Aegean then this tool is what you are looking for.

AeRes will take an image, and Aegean catalog, and write a new image with all the sources removed. You can also ask for an image that has just the sources in it.

You can use AeRes as shown below:

Usage: AeRes.py -c input.vot -f image.fits -r residual.fits [-m model.fits]

Options:
  -h, --help            show this help message and exit
  -c CATALOG, --catalog=CATALOG
                        Catalog in a format that Aegean understands.
  -f FITSFILE, --fitsimage=FITSFILE
                        Input fits file.
  -r RFILE, --residual=RFILE
                        Output residual fits file.
  -m MFILE, --model=MFILE
                        Output model file [optional].
  --add                 Add components instead of subtracting them.
  --debug               Debug mode.

The acceptable formats for the catalog file are anything that Aegaen can write. Use aegean.py --tformats to see the formats that Aegean can support on your machine. Usually the best idea is to just edit a table that Aegean has created.

Clone this wiki locally