Using the C-shell#!/bin/csh # Initialize EXTRACTOR extractorsetup # Extract all objects above 1 sigma extractor keywords=true image=image config=default.sex <<EOF catalog_name thresh1.cat detect_thresh 1.0 ! EOF # Extract all objects above 2 sigma and measure on a different image. extractor keywords image='"detect,measure"' config=default.sex <<EOF catalog_name thresh2.cat detect_thresh 2.0 ! EOF
<<EOF mechanism allows you to send
information to the program as if you're typing it in.
EXTRACTOR An Astronomical Source Detection Program