Running SExtractor #73
Replies: 4 comments 3 replies
|
SExtractor needs a few configuration files to run. These configuration files are often located in the same directory where one runs SExtractor. Typically one copies these configuration files from a previous SExtractor run and modifies them as needed, but here is an example of how one could make SExtractor create a set of configuration files from scratch: For a real science run one would definitely need to tweak the source detection parameters in |
|
Hi, It's still showing an error as I run the SEx tractor command.
…________________________________
From: Kirill Sokolovsky ***@***.***>
Sent: Friday, September 20, 2024 3:57 AM
To: astromatic/sextractor ***@***.***>
Cc: Anjali Shivani Thadisina ***@***.***>; Manual ***@***.***>
Subject: Re: [astromatic/sextractor] Running SExtractor (Discussion #73)
SExtractor needs a few configuration files to run. These configuration files are often located in the same directory where one runs SExtractor. Typically one copies these configuration files from a previous SExtractor run and modifies them as needed, but here is an example of how one could make SExtractor create a set of configuration files from scratch:
# Write default SExtractor parameter file
sex -d > default.sex
# Create default image convolution file
echo "CONV NORM
# 3x3 ``all-ground'' convolution mask with FWHM = 2 pixels.
1 2 1
2 4 2
1 2 1" > default.conv
# Write SExtractor output source parameters file uncommentating some output parameters on the fly
sex -dp | sed 's/#NUMBER/NUMBER/' | sed 's/#MAG_AUTO/MAGERR_AUTO/' | sed 's/#MAG_AUTO/MAGERR_AUTO/' | sed 's/#X_IMAGE/X_IMAGE/' | sed 's/#Y_IMAGE/Y_IMAGE/' > default.param
# at this point SExtractor is ready for a test run
####################################################
# Run SExtractor on my test FITS file f_72-001r.fit located in the directory current_work/sample_data/ within my home directory (~)
sex ~/current_work/sample_data/f_72-001r.fit
# Print out the list of detected sources in the terminal
cat test.cat
For a real science run one would definitely need to tweak the source detection parameters in default.sex for a given telescope/camera combination as well as the list of output parameters in default.param. Surprisingly, the default image convolution kernel default.conv works fine for a vast majority of ground-based telescopic images (source detection on images taken with a telephoto lens typically benefit from a narrower convolution kernel). The details about the source detection and output parameters may be found in SExtractor documentation.<https://sextractor.readthedocs.io/en/latest/Introduction.html>.
—
Reply to this email directly, view it on GitHub<#73 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A3I3TV6YIIPMVFGGYFAWT5TZXMGABAVCNFSM6AAAAABOQEAORGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANRZGYZTQNA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
|
Hi @Astrogirlanajli, please note that after doing a |
|
The main configuration file and the convolution kernel are two different pairs of shoes. The The standard way of getting consistent operation is (i) generate a configuration file with |
Uh oh!
There was an error while loading. Please reload this page.
Hi, After installing the SExtractor, I tried running SExtractor for test image(galaxies.fits), it's giving me the error:
(mirar) anjali@RSAA-024587 ~ % sex galaxies.fits
----- SExtractor 2.28.0 started on 2024-09-20 at 00:48:16 with 1 thread
All reactions