12.07.2015 Views

SExtractor Draft - METU Astrophysics

SExtractor Draft - METU Astrophysics

SExtractor Draft - METU Astrophysics

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

62.2 Obtaining <strong>SExtractor</strong>The easiest way to obtain <strong>SExtractor</strong> is to download it from an internet site. The current officialanonymous FTP site is ftp://ftp.iap.fr/pub/from users/bertin/sextractor/. There canbe found the latest versions of the program as standard .tar.gz Unix archives, plus somedocumentation.2.3 InstallationTo install, you must first uncompress and unarchive the archive:gzip -dc sex_2.x.x.tar.gz | tar xvA new directory called sextractor2.x.x should now appear at the current position on yourdisk. You should then just enter the directory and follow the instructions in the file called“INSTALL”.3 Using <strong>SExtractor</strong>3.1 Syntax<strong>SExtractor</strong> is run from the shell with the following syntax:% sex image [-c configuration-file] [ -Parameter1 Value1 ] [ -Parameter2 Value2 ] ...The part enclosed within brackets is optional. Any ”-Parameter Value” statement in thecommand-line overrides the corresponding definition in the configuration-file or any defaultvalue (see below). Actually, two image filenames can be provided, separated by a comma:% sex image1,image2This syntax makes <strong>SExtractor</strong> run in the so-called “double-image mode”: image1 will be used fordetection of sources, and image2 for measurements only. image1 and image2 must have the samedimensions. Changing image2 for another image will not modify the number of detected sources,neither affect their positional or basic shape parameters. But most photometric parameters,plus a few others, will use image2 pixel values, which allows one to easily measure pixel-to-pixelcolours.3.2 The configuration file<strong>SExtractor</strong> needs a configuration file. If no configuration file-name is specified in the commandline, <strong>SExtractor</strong> tries to load a file called “default.sex” from the local directory.3.2.1 FormatThe format is ASCII. There must be only one parameter set per line, following the form:Config-parameterValue(s)Extra spaces or linefeeds are ignored. Comments must begin with a “#” and end with a linefeed.Values can be of different types: strings (can be enclosed between double quotes), floats, integers,keywords or boolean (Y/y or N/n). Some parameters accept zero or several values, which must

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!