Skip to content

Latest commit

 

History

History
39 lines (35 loc) · 744 Bytes

How to use SExtractor.md

File metadata and controls

39 lines (35 loc) · 744 Bytes
  1. Generate a list of measurement configuration parameters. Set the values.
sex -d > somename.sex

Or full list

sex -dd > somename.sex
  1. Generate a list of output items.
sex -dp > somename.param

Choose items we need and comment out others with '#'. Or just generate a new file with items we need, e.g.

NUMBER                                                                                                                         
X_IMAGE
Y_IMAGE
X2_IMAGE
Y2_IMAGE
XY_IMAGE
FLUX_BEST
MAG_BEST
FLUX_RADIUS
FLAGS
  1. To save output catalog as LDAC, modify somename.sex
CATALOG_TYPE     FITS_LDAC
  1. Measure image.fits
sex -c somename.sex image.fits
  1. The default output catalog is "test.cat"