Skip to content
Paul Hancock edited this page Nov 8, 2021 · 1 revision

If you want to do island/component regrouping on a catalogue then AeReg is the tool for you.

AeReg will take an input catalogue and then scale the components by some amount or regroup the components into new islands (or both). The final output catalogue can then by used by aegean or any catalogue analysis tool.

This regrouping and resizing is the same functionality that was previously only used internally for aegean when doing the priorized fitting, however I decided that it would be nice to be able to do the regrouping first, verify it is what you want, and then do the refitting after. Thus I made AeReg.

You can use AeReg as shown below:

AeReg --help
usage: regroup [-h] --input INPUT --table TABLES [--eps EPS] [--noregroup] [--ratio RATIO] [--psfheader PSFHEADER] [--debug]

optional arguments:
  -h, --help            show this help message and exit

Required:
  --input INPUT         The input catalogue.
  --table TABLES        Table outputs, format inferred from extension.

Clustering options:
  --eps EPS             The grouping parameter epsilon (~arcmin)
  --noregroup           Do not perform regrouping (default False)

Scaling options:
  --ratio RATIO         The ratio of synthesized beam sizes (image psf / input catalog psf).
  --psfheader PSFHEADER
                        A file from which the *target* psf is read.

Other options:
  --debug               Debug mode.
Clone this wiki locally