next up previous 216
Next: Using GAIA and EXTRACTOR
Up: EXTRACTOR An Astronomical Source Detection Program
Previous: Using images in non-NDF formats


Running SExtractor

The native version of SExtractor is also distributed with EXTRACTOR. This works exclusively with FITS files but will provide the full range of facilities. The executable image will be installed in $EXTRACTOR_DIR and it is run as described in the SExtractor User's Guide.

Either put $EXTRACTOR_DIR on your PATH or define an alias:

% alias sex $EXTRACTOR_DIR/sex
then type:
% sex image [-c configuration-file] [-Parameter1 Value1] [-Parameter2 Value2] ...

Note that if the -c option is omitted, file default.sex in the current working directory will be used - if you want to use the installed default file, you will need to specify it explicitly.

A patch has been applied to SExtractor that allows you to read a specific extension of an MEF file (normally you process all the extensions). To process an image stored in the first extension you should use the format:

% sex image'[1]' [-c configuration-file] [-Parameter1 Value1] [-Parameter2 Value2] ...
the second extension is indicated by image'[2]' and so on (note that the single quotes are only needed to protect the square brackets from the C-shell).

next up previous 216
Next: Using GAIA and EXTRACTOR
Up: EXTRACTOR An Astronomical Source Detection Program
Previous: Using images in non-NDF formats

EXTRACTOR An Astronomical Source Detection Program
Starlink User Note 226
A.J. Chipperfield
P.W. Draper
23rd February 2009
E-mail:ussc@star.rl.ac.uk

Copyright © 2009 Science and Technology Facilities Council