- Generate a list of measurement configuration parameters. Set the values.
sex -d > somename.sex
Or full list
sex -dd > somename.sex
- 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
- To save output catalog as LDAC, modify somename.sex
CATALOG_TYPE FITS_LDAC
- Measure image.fits
sex -c somename.sex image.fits
- The default output catalog is "test.cat"