Hi all,
after the astrometry.net implementation by Georg, I have been working around and now I think that there's another tool we must implement: SExtractor.
SExtractor is a GPL program that makes a source catalog from one image. After giving it a try, I think it can be very powerful for our purposes. It can output a lot of information from the image; some output values are:
- Fluxes from all the sources,
including those that are superimposed.
- Conversion from flux to magnitudes.
- The x,y position of each source.
- Object classification, in the [0,1] interval. 0 means galaxy, 1 means star. This can be extremely useful to make star masks, as we would be able to differentiate between stellar and non-stellar objects.
-
FWHM of the stars.
-
PSF model, including minor and major axis and ellipse angle.
Installing it on Fedora is extremely easy:
& yum install sextractor
A little more easy than Astrometry.net.
Using it is also easy. Here you have a guide for dummies:
http://astro.dur.ac.uk/~pdraper/extractor/Guide2source_extractor.pdfA typical command would be like this below:
& sex <image> -c parameter.sex
where the -c parameter point to the file "parameter.sex", in wich we have our defined parameters for analyzing the image. This is a simple text file. Here the last I used:
# Configuration file for SExtractor 2.5.0
# EB 2006-07-14
#
#-------------------------------- Catalog ------------------------------------
CATALOG_NAME 814.cat # name of the output catalog
CATALOG_TYPE ASCII_HEAD # NONE,ASCII,ASCII_HEAD, ASCII_SKYCAT,
# ASCII_VOTABLE, FITS_1.0 or FITS_LDAC
PARAMETERS_NAME default.param # name of the file containing catalog contents
#------------------------------- Extraction ----------------------------------
DETECT_TYPE CCD # CCD (linear) or PHOTO (with gamma correction)
DETECT_MINAREA 5 # minimum number of pixels above threshold
DETECT_THRESH 1.5 # <sigmas> or <threshold>,<ZP> in mag.arcsec-2
ANALYSIS_THRESH 1.5 # <sigmas> or <threshold>,<ZP> in mag.arcsec-2
FILTER N # apply filter for detection (Y or N)?
FILTER_NAME default.conv # name of the file containing the filter
DEBLEND_NTHRESH 32 # Number of deblending sub-thresholds
DEBLEND_MINCONT 0.005 # Minimum contrast parameter for deblending
CLEAN Y # Clean spurious detections? (Y or N)?
CLEAN_PARAM 1.0 # Cleaning efficiency
MASK_TYPE CORRECT # type of detection MASKing: can be one of
# NONE, BLANK or CORRECT
#------------------------------ Photometry -----------------------------------
PHOT_APERTURES 11 # MAG_APER aperture diameter(s) in pixels
PHOT_AUTOPARAMS 2.5, 3.5 # MAG_AUTO parameters: <Kron_fact>,<min_radius>
PHOT_PETROPARAMS 2.0, 3.5 # MAG_PETRO parameters: <Petrosian_fact>,
# <min_radius>
SATUR_LEVEL 20000.0 # level (in ADUs) at which arises saturation
MAG_ZEROPOINT 15.8 # magnitude zero-point
MAG_GAMMA 4.0 # gamma of emulsion (for photographic scans)
GAIN 2.7 # detector gain in e-/ADU
PIXEL_SCALE 0.50 # size of pixel in arcsec (0=use FITS WCS info)
#------------------------- Star/Galaxy Separation ----------------------------
SEEING_FWHM 1.2 # stellar FWHM in arcsec
STARNNW_NAME default.nnw # Neural-Network_Weight table filename
#------------------------------ Background -----------------------------------
BACK_SIZE 64 # Background mesh: <size> or <width>,<height>
BACK_FILTERSIZE 3 # Background filter: <size> or <width>,<height>
BACKPHOTO_TYPE GLOBAL # can be GLOBAL or LOCAL
#------------------------------ Check Image ----------------------------------
CHECKIMAGE_TYPE SEGMENTATION # can be NONE, BACKGROUND, BACKGROUND_RMS,
# MINIBACKGROUND, MINIBACK_RMS, -BACKGROUND,
# FILTERED, OBJECTS, -OBJECTS, SEGMENTATION,
# or APERTURES
CHECKIMAGE_NAME 814_seg.fits # Filename for the check-image
#--------------------- Memory (change with caution!) -------------------------
MEMORY_OBJSTACK 3000 # number of objects in stack
MEMORY_PIXSTACK 300000 # number of pixels in stack
MEMORY_BUFSIZE 1024 # number of lines in buffer
#----------------------------- Miscellaneous ---------------------------------
VERBOSE_TYPE NORMAL # can be QUIET, NORMAL or FULL
WRITE_XML Y # Write XML file (Y/N)?
XML_NAME M74_R.xml # Filename for XML
Finally, you need a file where you specify what information you want to output. This file is called "xxx.param". For outputting flux values, pixel coordinates and object classification, this file will be:
FLUX_BEST
X_IMAGE
Y_IMAGE
CLASS_STAR
The official compilation is for Linux, but I think it can be easily portable to OSX and Win... this software has no GUI, only runs by commands.
What do you think?
V.