Commit c49fa531 authored by Fang Yuedong's avatar Fang Yuedong
Browse files

add sextractor, psfex config files in csst_msc_mbi_photometry pipeline

parent b4eb2513
# Default configuration file for PSFEx 3.17.1
# EB 2014-10-03
#
#-------------------------------- PSF model ----------------------------------
BASIS_TYPE PIXEL_AUTO # NONE, PIXEL, GAUSS-LAGUERRE or FILE
BASIS_NUMBER 20 # Basis number or parameter
BASIS_NAME basis.fits # Basis filename (FITS data-cube)
BASIS_SCALE 1.0 # Gauss-Laguerre beta parameter
NEWBASIS_TYPE NONE # Create new basis: NONE, PCA_INDEPENDENT
# or PCA_COMMON
NEWBASIS_NUMBER 8 # Number of new basis vectors
PSF_SAMPLING 0.0 # Sampling step in pixel units (0.0 = auto)
PSF_PIXELSIZE 1.0 # Effective pixel size in pixel step units
PSF_ACCURACY 0.01 # Accuracy to expect from PSF "pixel" values
PSF_SIZE 71,71 # Image size of the PSF model
PSF_RECENTER Y # Allow recentering of PSF-candidates Y/N ?
MEF_TYPE INDEPENDENT # INDEPENDENT or COMMON
#------------------------- Point source measurements -------------------------
CENTER_KEYS XWIN_IMAGE,YWIN_IMAGE # Catalogue parameters for source pre-centering
PHOTFLUX_KEY FLUX_APER(1) # Catalogue parameter for photometric norm.
PHOTFLUXERR_KEY FLUXERR_APER(1) # Catalogue parameter for photometric error
#----------------------------- PSF variability -------------------------------
PSFVAR_KEYS XWIN_IMAGE,YWIN_IMAGE # Catalogue or FITS (preceded by :) params
PSFVAR_GROUPS 1,1 # Group tag for each context key
PSFVAR_DEGREES 2 # Polynom degree for each group
PSFVAR_NSNAP 9 # Number of PSF snapshots per axis
HIDDENMEF_TYPE COMMON # INDEPENDENT or COMMON
STABILITY_TYPE EXPOSURE # EXPOSURE or SEQUENCE
#----------------------------- Sample selection ------------------------------
SAMPLE_AUTOSELECT Y # Automatically select the FWHM (Y/N) ?
SAMPLEVAR_TYPE SEEING # File-to-file PSF variability: NONE or SEEING
SAMPLE_FWHMRANGE 1.0,20.0 # Allowed FWHM range
SAMPLE_VARIABILITY 0.3 # Allowed FWHM variability (1.0 = 100%)
SAMPLE_MINSN 20 # Minimum S/N for a source to be used
SAMPLE_MAXELLIP 0.3 # Maximum (A-B)/(A+B) for a source to be used
SAMPLE_FLAGMASK 0x00fe # Rejection mask on SExtractor FLAGS
SAMPLE_WFLAGMASK 0x0000 # Rejection mask on SExtractor FLAGS_WEIGHT
SAMPLE_IMAFLAGMASK 0x0 # Rejection mask on SExtractor IMAFLAGS_ISO
BADPIXEL_FILTER N # Filter bad-pixels in samples (Y/N) ?
BADPIXEL_NMAX 0 # Maximum number of bad pixels allowed
#----------------------- PSF homogeneisation kernel --------------------------
HOMOBASIS_TYPE NONE # NONE or GAUSS-LAGUERRE
HOMOBASIS_NUMBER 10 # Kernel basis number or parameter
HOMOBASIS_SCALE 1.0 # GAUSS-LAGUERRE beta parameter
HOMOPSF_PARAMS 2.0, 3.0 # Moffat parameters of the idealised PSF
HOMOKERNEL_DIR # Where to write kernels (empty=same as input)
HOMOKERNEL_SUFFIX .homo.fits # Filename extension for homogenisation kernels
#----------------------------- Output catalogs -------------------------------
OUTCAT_TYPE NONE # NONE, ASCII_HEAD, ASCII, FITS_LDAC
OUTCAT_NAME psfex_out.cat # Output catalog filename
#------------------------------- Check-plots ----------------------------------
CHECKPLOT_DEV NULL # NULL, XWIN, TK, PS, PSC, XFIG, PNG,
# JPEG, AQT, PDF or SVG
CHECKPLOT_RES 0 # Check-plot resolution (0 = default)
CHECKPLOT_ANTIALIAS Y # Anti-aliasing using convert (Y/N) ?
CHECKPLOT_TYPE NONE #FWHM,ELLIPTICITY,COUNTS, COUNT_FRACTION, CHI2, RESIDUALS or NONE
CHECKPLOT_NAME
#------------------------------ Check-Images ---------------------------------
CHECKIMAGE_TYPE NONE #CHI,PROTOTYPES,SAMPLES,RESIDUALS,SNAPSHOTS
# or MOFFAT,-MOFFAT,-SYMMETRICAL
CHECKIMAGE_NAME #chi.fits,proto.fits,samp.fits,resi.fits,snap.fits
# Check-image filenames
CHECKIMAGE_CUBE N # Save check-images as datacubes (Y/N) ?
#----------------------------- Miscellaneous ---------------------------------
PSF_DIR # Where to write PSFs (empty=same as input)
PSF_SUFFIX .fits # Filename extension for output PSF filename
VERBOSE_TYPE NORMAL # can be QUIET,NORMAL,LOG or FULL
WRITE_XML N # Write XML file (Y/N)?
XML_NAME psfex.xml # Filename for XML output
XSL_URL file:///usr/local/share/psfex/psfex.xsl
# Filename for XSL style-sheet
NTHREADS 0 # Number of simultaneous threads for
# the SMP version of PSFEx
# 0 = automatic
NUMBER #Running object number
FLUX_APER(12) #Flux vector within fixed circular aperture(s) [count]
FLUXERR_APER(12) #RMS error vector for aperture flux(es) [count]
#MAG_APER(12) #Fixed aperture magnitude vector [mag]
#MAGERR_APER(12) #RMS error vector for fixed aperture mag. [mag]
FLUX_AUTO #Flux within a Kron-like elliptical aperture [count]
FLUXERR_AUTO #RMS error for AUTO flux [count]
#MAG_AUTO #Kron-like elliptical aperture magnitude [mag]
#MAGERR_AUTO #RMS error for AUTO magnitude [mag]
KRON_RADIUS #Kron apertures in units of A or B
BACKGROUND #Background at centroid position [count]
X_IMAGE #Object position along x [pixel]
Y_IMAGE #Object position along y [pixel]
ALPHA_J2000 #Right ascension of barycenter (J2000) [deg]
DELTA_J2000 #Declination of barycenter (J2000) [deg]
A_IMAGE #Profile RMS along major axis [pixel]
B_IMAGE #Profile RMS along minor axis [pixel]
THETA_IMAGE #Position angle (CCW/x) [deg]
A_WORLD #Profile RMS along major axis (world units) [deg]
B_WORLD #Profile RMS along minor axis (world units) [deg]
THETA_WORLD #Position angle (CCW/world-x) [deg]
THETA_J2000 #Position angle (east of north) (J2000) [deg]
ERRX2_IMAGE #Variance of position along x [pixel**2]
ERRY2_IMAGE #Variance of position along y [pixel**2]
ERRA_IMAGE #RMS position error along major axis [pixel]
ERRB_IMAGE #RMS position error along minor axis [pixel]
ERRTHETA_IMAGE #Error ellipse position angle (CCW/x) [deg]
ERRA_WORLD #World RMS position error along major axis [deg]
ERRB_WORLD #World RMS position error along minor axis [deg]
ERRTHETA_WORLD #Error ellipse pos. angle (CCW/world-x) [deg]
ERRTHETA_J2000 #J2000 error ellipse pos. angle (east of north) [deg]
XWIN_IMAGE #Windowed position estimate along x [pixel]
YWIN_IMAGE #Windowed position estimate along y [pixel]
ALPHAWIN_J2000 #Windowed right ascension (J2000) [deg]
DELTAWIN_J2000 #windowed declination (J2000) [deg]
ERRX2WIN_IMAGE #Variance of windowed pos along x [pixel**2]
ERRY2WIN_IMAGE #Variance of windowed pos along y [pixel**2]
FLAGS #Extraction flags
FLAGS_WEIGHT #Weighted extraction flags
IMAFLAGS_ISO #FLAG-image flags OR'ed over the iso. profile
NIMAFLAGS_ISO #Number of flagged pixels entering IMAFLAGS_ISO
FWHM_IMAGE #FWHM assuming a gaussian core [pixel]
FWHM_WORLD #FWHM assuming a gaussian core [deg]
ELONGATION #A_IMAGE/B_IMAGE
ELLIPTICITY #1 - B_IMAGE/A_IMAGE
CLASS_STAR #S/G classifier output
FLUX_RADIUS(3) #Fraction-of-light radii [pixel]
FWHMPSF_IMAGE #FWHM of the local PSF model [pixel]
FWHMPSF_WORLD #FWHM of the local PSF model (world units) [deg]
XPSF_IMAGE #X coordinate from PSF-fitting [pixel]
YPSF_IMAGE #Y coordinate from PSF-fitting [pixel]
ALPHAPSF_J2000 #Right ascension of the fitted PSF (J2000) [deg]
DELTAPSF_J2000 #Declination of the fitted PSF (J2000) [deg]
FLUX_PSF #Flux from PSF-fitting [count]
FLUXERR_PSF #RMS flux error for PSF-fitting [count]
#MAG_PSF #Magnitude from PSF-fitting [mag]
#MAGERR_PSF #RMS magnitude error from PSF-fitting [mag]
NITER_PSF #Number of iterations for PSF-fitting
CHI2_PSF #Reduced chi2 from PSF-fitting
ERRX2PSF_IMAGE #Variance of PSF position along x [pixel**2]
ERRY2PSF_IMAGE #Variance of PSF position along y [pixel**2]
CHI2_MODEL #Reduced Chi2 of the fit
FLAGS_MODEL #Model-fitting flags
NITER_MODEL #Number of iterations for model-fitting
FLUX_MODEL #Flux from model-fitting [count]
FLUXERR_MODEL #RMS error on model-fitting flux [count]
#MAG_MODEL #Magnitude from model-fitting [mag]
#MAGERR_MODEL #RMS error on model-fitting magnitude [mag]
#FLUX_HYBRID #Hybrid flux from model-fitting [count]
#FLUXERR_HYBRID #RMS error on hybrid flux [count]
#MAG_HYBRID #Hybrid magnitude from model-fitting [mag]
#MAGERR_HYBRID #RMS error on hybrid magnitude [mag]
FLUX_MAX_MODEL #Peak model flux above background [count]
FLUX_EFF_MODEL #Effective model flux above background [count]
FLUX_MEAN_MODEL #Mean effective model flux above background [count]
#MU_MAX_MODEL #Peak model surface brightness above background [mag * arcsec**(-2)]
#MU_EFF_MODEL #Effective model surface brightness above background [mag * arcsec**(-2)]
#MU_MEAN_MODEL #Mean effective model surface brightness above background [mag * arcsec**(-2)]
XMODEL_IMAGE #X coordinate from model-fitting [pixel]
YMODEL_IMAGE #Y coordinate from model-fitting [pixel]
ALPHAMODEL_J2000 #Fitted position along right ascension (J2000) [deg]
DELTAMODEL_J2000 #Fitted position along declination (J2000) [deg]
ERRY2MODEL_IMAGE #Variance of fitted position along y [pixel**2]
ERRY2MODEL_IMAGE #Variance of fitted position along y
ERRAMODEL_IMAGE #RMS error of fitted position along major axis [pixel]
ERRBMODEL_IMAGE #RMS error of fitted position along minor axis [pixel]
ERRTHETAMODEL_IMAGE #Error ellipse pos.angle of fitted position (CCW/x) [deg]
ERRAMODEL_WORLD #World RMS error of fitted position along major axis [deg]
ERRBMODEL_WORLD #World RMS error of fitted position along minor axis [deg]
ERRTHETAMODEL_WORLD #Error ellipse pos.angle of fitted position (CCW/world-x) [deg]
ERRTHETAMODEL_J2000 #J2000 fitted error ellipse pos. angle (east of north) [deg]
AMODEL_IMAGE #Model RMS along major axis [pixel]
BMODEL_IMAGE #Model RMS along minor axis [pixel]
THETAMODEL_IMAGE #Model position angle (CCW/x) [deg]
AMODEL_WORLD #Model RMS along major axis (WORLD units) [deg]
BMODEL_WORLD #Model RMS along minor axis (WORLD units) [deg]
THETAMODEL_WORLD #Model position angle (CCW/WORLD-x) [deg]
THETAMODEL_J2000 #Model position angle (east of north) (J2000) [deg]
SPREAD_MODEL #Spread parameter from model-fitting
SPREADERR_MODEL #Spread parameter error from model-fitting
NOISEAREA_MODEL #Equivalent noise area of the fitted model [pixel**2]
#FLUX_POINTSOURCE #Point source flux from fitting [count]
#FLUXERR_POINTSOURCE #RMS error on fitted point source total flux [count]
#FLUXRATIO_POINTSOURCE #Point-source flux-to-total ratio from fitting
#FLUXRATIOERR_POINTSOURCE #RMS error on point-source flux-to-total ratio
#MAG_POINTSOURCE #Point source total magnitude from fitting [mag]
#MAGERR_POINTSOURCE #RMS error on fitted point source total magnitude [mag]
FLUX_SPHEROID #Spheroid total flux from fitting [count]
FLUXERR_SPHEROID #RMS error on fitted spheroid total flux [count]
#MAG_SPHEROID #Spheroid total magnitude from fitting [mag]
#MAGERR_SPHEROID #RMS error on fitted spheroid total magnitude [mag]
FLUX_MAX_SPHEROID #Peak spheroid flux above background [count]
FLUX_EFF_SPHEROID #Effective spheroid flux above background [count]
FLUX_MEAN_SPHEROID #Mean effective spheroid flux above background [count]
#MU_MAX_SPHEROID #Peak spheroid surface brightness above background [mag * arcsec**(-2)]
#MU_EFF_SPHEROID #Effective spheroid surface brightness above background [mag * arcsec**(-2)]
#MU_MEAN_SPHEROID #Mean effective spheroid surface brightness above backgrou [mag * arcsec**(-2)]
FLUXRATIO_SPHEROID #Spheroid flux-to-total ratio from fitting
FLUXRATIOERR_SPHEROID #RMS error on spheroid flux-to-total ratio
SPHEROID_REFF_IMAGE #Spheroid effective radius from fitting [pixel]
SPHEROID_REFFERR_IMAGE #RMS error on fitted spheroid effective radius [pixel]
SPHEROID_REFF_WORLD #Spheroid effective radius from fitting [deg]
SPHEROID_REFFERR_WORLD #RMS error on fitted spheroid effective radius [deg]
SPHEROID_ASPECT_IMAGE #Spheroid aspect ratio from fitting
SPHEROID_ASPECTERR_IMAGE #RMS error on fitted spheroid aspect ratio
SPHEROID_ASPECT_WORLD #Spheroid aspect ratio from fitting
SPHEROID_ASPECTERR_WORLD #RMS error on fitted spheroid aspect ratio
SPHEROID_THETA_IMAGE #Spheroid position angle (CCW/x) from fitting [deg]
SPHEROID_THETAERR_IMAGE #RMS error on spheroid position angle [deg]
SPHEROID_THETA_WORLD #Spheroid position angle (CCW/world-x) [deg]
SPHEROID_THETAERR_WORLD #RMS error on spheroid position angle [deg]
SPHEROID_THETA_J2000 #Spheroid position angle (east of north, J2000) [deg]
#SPHEROID_SERSICN #Spheroid Sersic index from fitting
#SPHEROID_SERSICNERR #RMS error on fitted spheroid Sersic index
FLUX_DISK #Disk total flux from fitting [count]
FLUXERR_DISK #RMS error on fitted disk total flux [count]
#MAG_DISK #Disk total magnitude from fitting [mag]
#MAGERR_DISK #RMS error on fitted disk total magnitude [mag]
FLUX_MAX_DISK #Peak disk flux above background [count]
FLUX_EFF_DISK #Effective disk flux above background [count]
FLUX_MEAN_DISK #Mean effective disk flux above background [count]
#MU_MAX_DISK #Peak disk surface brightness above background [mag * arcsec**(-2)]
#MU_EFF_DISK #Effective disk surface brightness above background [mag * arcsec**(-2)]
#MU_MEAN_DISK #Mean effective disk surface brightness above background [mag * arcsec**(-2)]
FLUXRATIO_DISK #Disk flux-to-total ratio from fitting
FLUXRATIOERR_DISK #RMS error on disk flux-to-total ratio
DISK_SCALE_IMAGE #Disk scalelength from fitting [pixel]
DISK_SCALEERR_IMAGE #RMS error on fitted disk scalelength [pixel]
DISK_SCALE_WORLD #Disk scalelength from fitting (world coords) [deg]
DISK_SCALEERR_WORLD #RMS error on fitted disk scalelength (world coords) [deg]
DISK_ASPECT_IMAGE #Disk aspect ratio from fitting
DISK_ASPECTERR_IMAGE #RMS error on fitted disk aspect ratio
DISK_ASPECT_WORLD #Disk aspect ratio from fitting
DISK_ASPECTERR_WORLD #RMS error on disk aspect ratio
DISK_INCLINATION #Disk inclination from fitting [deg]
DISK_INCLINATIONERR #RMS error on disk inclination from fitting [deg]
DISK_THETA_IMAGE #Disk position angle (CCW/x) from fitting [deg]
DISK_THETAERR_IMAGE #RMS error on fitted disk position angle [deg]
DISK_THETA_WORLD #Disk position angle (CCW/world-x) [deg]
DISK_THETAERR_WORLD #RMS error on disk position angle [deg]
DISK_THETA_J2000 #Disk position angle (east of north, J2000) [deg]
#CHI2_DETMODEL #Reduced Chi2 of the det. model fit to measurement image
#FLAGS_DETMODEL #Detection model-fitting flags
#NITER_DETMODEL #Number of iterations for detection model-fitting
#FLUX_DETMODEL #Flux from detection model-fitting [count]
#FLUXERR_DETMODEL #RMS error on detection model-fitting flux [count]
#MAG_DETMODEL #Magnitude from detection model-fitting [mag]
#MAGERR_DETMODEL #RMS error on detection model-fitting magnitude [mag]
# Default configuration file for SExtractor 2.19.5
# EB 2014-06-07
#
#-------------------------------- Catalog ------------------------------------
CATALOG_NAME test.cat # name of the output catalog
CATALOG_TYPE FITS_1.0 # NONE,ASCII,ASCII_HEAD, ASCII_SKYCAT,
# ASCII_VOTABLE, FITS_1.0 or FITS_LDAC
PARAMETERS_NAME bok.params # name of the file containing catalog contents
#------------------------------- Extraction ----------------------------------
DETECT_TYPE CCD # CCD (linear) or PHOTO (with gamma correction)
DETECT_MINAREA 3 # min. # of pixels above threshold
DETECT_MAXAREA 0 # max. # of pixels above threshold (0=unlimited)
THRESH_TYPE RELATIVE # threshold type: RELATIVE (in sigmas)
# or ABSOLUTE (in ADUs)
DETECT_THRESH 1.5 # <sigmas> or <threshold>,<ZP> in mag.arcsec-2
ANALYSIS_THRESH 1.0 # <sigmas> or <threshold>,<ZP> in mag.arcsec-2
FILTER Y # apply filter for detection (Y or N)?
FILTER_NAME default.conv # name of the file containing the filter
FILTER_THRESH # Threshold[s] for retina filtering
DEBLEND_NTHRESH 64 # Number of deblending sub-thresholds
DEBLEND_MINCONT 0.0005 # Minimum contrast parameter for deblending
CLEAN Y # Clean spurious detections? (Y or N)?
CLEAN_PARAM 0.5 # Cleaning efficiency
MASK_TYPE CORRECT # type of detection MASKing: can be one of
# NONE, BLANK or CORRECT
#-------------------------------- WEIGHTing ----------------------------------
WEIGHT_TYPE MAP_WEIGHT # type of WEIGHTing: NONE, BACKGROUND,
# MAP_RMS, MAP_VAR or MAP_WEIGHT
RESCALE_WEIGHTS Y # Rescale input weights/variances (Y/N)?
WEIGHT_IMAGE weight.fits # weight-map filename
WEIGHT_GAIN N # modulate gain (E/ADU) with weights? (Y/N)
WEIGHT_THRESH 1e-7 # weight threshold[s] for bad pixels
#-------------------------------- FLAGging -----------------------------------
FLAG_IMAGE flag.fits # filename for an input FLAG-image
FLAG_TYPE OR # flag pixel combination: OR, AND, MIN, MAX
# or MOST
#------------------------------ Photometry -----------------------------------
PHOT_APERTURES 6,8,10,12,16,20,26,32,40,50,60,80 # 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>
PHOT_AUTOAPERS 0.0,0.0 # <estimation>,<measurement> minimum apertures
# for MAG_AUTO and MAG_PETRO
PHOT_FLUXFRAC 0.2,0.5,0.9 # flux fraction[s] used for FLUX_RADIUS
SATUR_LEVEL 30000.0 # level (in ADUs) at which arises saturation
SATUR_KEY asfSATURATE # keyword for saturation level (in ADUs)
MAG_ZEROPOINT 0.0 # magnitude zero-point
MAG_GAMMA 4.0 # gamma of emulsion (for photographic scans)
GAIN 1.0 # detector gain in e-/ADU
GAIN_KEY adf # keyword for detector gain in e-/ADU
PIXEL_SCALE 0.074 # size of pixel in arcsec (0=use FITS WCS info)
#------------------------- Star/Galaxy Separation ----------------------------
SEEING_FWHM 0.15 # stellar FWHM in arcsec
STARNNW_NAME default.nnw # Neural-Network_Weight table filename
#------------------------------ Background -----------------------------------
BACK_TYPE AUTO # AUTO or MANUAL
BACK_VALUE 0.0 # Default background value in MANUAL mode
BACK_SIZE 400 # Background mesh: <size> or <width>,<height>
BACK_FILTERSIZE 3 # Background filter: <size> or <width>,<height>
FBACK_DIFF 0.05
BACKPHOTO_TYPE GLOBAL # can be GLOBAL or LOCAL
BACKPHOTO_THICK 24 # thickness of the background LOCAL annulus
BACK_FILTTHRESH 0.0 # Threshold above which the background-
# map filter operates
#------------------------------ Check Image ----------------------------------
CHECKIMAGE_TYPE -MODELS MODELS # can be NONE, BACKGROUND, BACKGROUND_RMS,
# MINIBACKGROUND, MINIBACK_RMS, -BACKGROUND,
# FILTERED, OBJECTS, -OBJECTS, SEGMENTATION,
# or APERTURES
CHECKIMAGE_NAME check-submod.fits check-model.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
#------------------------------- ASSOCiation ---------------------------------
ASSOC_NAME sky.list # name of the ASCII file to ASSOCiate
ASSOC_DATA 2,3,4 # columns of the data to replicate (0=all)
ASSOC_PARAMS 2,3,4 # columns of xpos,ypos[,mag]
ASSOCCOORD_TYPE PIXEL # ASSOC coordinates: PIXEL or WORLD
ASSOC_RADIUS 2.0 # cross-matching radius (pixels)
ASSOC_TYPE NEAREST # ASSOCiation method: FIRST, NEAREST, MEAN,
# MAG_MEAN, SUM, MAG_SUM, MIN or MAX
ASSOCSELEC_TYPE MATCHED # ASSOC selection type: ALL, MATCHED or -MATCHED
#----------------------------- Miscellaneous ---------------------------------
VERBOSE_TYPE NORMAL # can be QUIET, NORMAL or FULL
HEADER_SUFFIX .head # Filename extension for additional headers
WRITE_XML N # Write XML file (Y/N)?
XML_NAME sex.xml # Filename for XML output
XSL_URL file:///opt/local/share/sextractor/sextractor.xsl
# Filename for XSL style-sheet
NTHREADS 1 # 1 single thread
FITS_UNSIGNED N # Treat FITS integer values as unsigned (Y/N)?
INTERP_MAXXLAG 16 # Max. lag along X for 0-weight interpolation
INTERP_MAXYLAG 16 # Max. lag along Y for 0-weight interpolation
INTERP_TYPE ALL # Interpolation type: NONE, VAR_ONLY or ALL
#--------------------------- Experimental Stuff -----------------------------
PSF_NAME default.psf # File containing the PSF model
PSF_NMAX 1 # Max.number of PSFs fitted simultaneously
PATTERN_TYPE RINGS-HARMONIC # can RINGS-QUADPOLE, RINGS-OCTOPOLE,
# RINGS-HARMONICS or GAUSS-LAGUERRE
SOM_NAME default.som # File containing Self-Organizing Map weights
VIGNET(31,31)
XWIN_IMAGE
YWIN_IMAGE
FLUX_APER
FLUXERR_APER
FLUX_RADIUS
FWHM_IMAGE
ELONGATION
FLAGS
IMAFLAGS_ISO
NIMAFLAGS_ISO
SNR_WIN
CLASS_STAR
ELLIPTICITY
# Simple configuration file for SExtractor prior to PSFEx use
# only non-default parameters are present.
# EB 2007-08-01
#
#-------------------------------- Catalog ------------------------------------
CATALOG_NAME prepsfex.cat # Catalog filename
CATALOG_TYPE FITS_LDAC # FITS_LDAC format
PARAMETERS_NAME bok-psfex.param # name of the file containing catalog contents
#------------------------------- Extraction ----------------------------------
DETECT_MINAREA 3 # minimum number of pixels above threshold
DETECT_MAXAREA 150 # max. # of pixels above threshold (0=unlimited)
DETECT_THRESH 5 # a fairly conservative threshold
ANALYSIS_THRESH 2 # idem
CLEAN Y # Clean spurious detections? (Y or N)?
FILTER Y # apply filter for detection ("Y" or "N")?
FILTER_NAME gauss_3.0_5x5.conv # name of the file containing the filter
FBACK_DIFF 0.05
#-------------------------------- WEIGHTing ----------------------------------
WEIGHT_TYPE MAP_WEIGHT # type of WEIGHTing: NONE, BACKGROUND,
# MAP_RMS, MAP_VAR or MAP_WEIGHT
RESCALE_WEIGHTS Y # Rescale input weights/variances (Y/N)?
WEIGHT_IMAGE weight.fits # weight-map filename
WEIGHT_GAIN N # modulate gain (E/ADU) with weights? (Y/N)
WEIGHT_THRESH 1e-7 # weight threshold[s] for bad pixels
#-------------------------------- FLAGging -----------------------------------
FLAG_IMAGE flag.fits # filename for an input FLAG-image
FLAG_TYPE OR # flag pixel combination: OR, AND, MIN, MAX
# # or MOST
#------------------------------ Photometry -----------------------------------
PHOT_APERTURES 10 # <- put the referrence aperture diameter here
SATUR_LEVEL 30000.0 # <- put the right saturation threshold here
GAIN 1.4 # <- put the detector gain in e-/ADU here
#------------------------- Star/Galaxy Separation ----------------------------
#------------------------------ Background -----------------------------------
#------------------------------ Check Image ----------------------------------
#--------------------- Memory (change with caution!) -------------------------
#------------------------------- ASSOCiation ---------------------------------
#----------------------------- Miscellaneous ---------------------------------
NUMBER #Running object number
FLUX_APER(12) #Flux vector within fixed circular aperture(s) [count]
FLUXERR_APER(12) #RMS error vector for aperture flux(es) [count]
#MAG_APER(12) #Fixed aperture magnitude vector [mag]
#MAGERR_APER(12) #RMS error vector for fixed aperture mag. [mag]
FLUX_AUTO #Flux within a Kron-like elliptical aperture [count]
FLUXERR_AUTO #RMS error for AUTO flux [count]
#MAG_AUTO #Kron-like elliptical aperture magnitude [mag]
#MAGERR_AUTO #RMS error for AUTO magnitude [mag]
KRON_RADIUS #Kron apertures in units of A or B
BACKGROUND #Background at centroid position [count]
X_IMAGE #Object position along x [pixel]
Y_IMAGE #Object position along y [pixel]
ALPHA_J2000 #Right ascension of barycenter (J2000) [deg]
DELTA_J2000 #Declination of barycenter (J2000) [deg]
A_IMAGE #Profile RMS along major axis [pixel]
B_IMAGE #Profile RMS along minor axis [pixel]
THETA_IMAGE #Position angle (CCW/x) [deg]
A_WORLD #Profile RMS along major axis (world units) [deg]
B_WORLD #Profile RMS along minor axis (world units) [deg]
THETA_WORLD #Position angle (CCW/world-x) [deg]
THETA_J2000 #Position angle (east of north) (J2000) [deg]
ERRX2_IMAGE #Variance of position along x [pixel**2]
ERRY2_IMAGE #Variance of position along y [pixel**2]
ERRA_IMAGE #RMS position error along major axis [pixel]
ERRB_IMAGE #RMS position error along minor axis [pixel]
EERRTHETA_IMAGE #Error ellipse position angle (CCW/x) [deg]
ERRA_WORLD #World RMS position error along major axis [deg]
ERRB_WORLD #World RMS position error along minor axis [deg]
ERRTHETA_WORLD #Error ellipse pos. angle (CCW/world-x) [deg]
ERRTHETA_J2000 #J2000 error ellipse pos. angle (east of north) [deg]
XWIN_IMAGE #Windowed position estimate along x [pixel]
YWIN_IMAGE #Windowed position estimate along y [pixel]
ALPHAWIN_J2000 #Windowed right ascension (J2000) [deg]
DELTAWIN_J2000 #windowed declination (J2000) [deg]
ERRX2WIN_IMAGE #Variance of windowed pos along x [pixel**2]
ERRY2WIN_IMAGE #Variance of windowed pos along y [pixel**2]
FLAGS #Extraction flags
FLAGS_WEIGHT #Weighted extraction flags
IMAFLAGS_ISO #FLAG-image flags OR'ed over the iso. profile
NIMAFLAGS_ISO #Number of flagged pixels entering IMAFLAGS_ISO
FWHM_IMAGE #FWHM assuming a gaussian core [pixel]
FWHM_WORLD #FWHM assuming a gaussian core [deg]
ELONGATION #A_IMAGE/B_IMAGE
ELLIPTICITY #1 - B_IMAGE/A_IMAGE
CLASS_STAR #S/G classifier output
FLUX_RADIUS(3) #Fraction-of-light radii [pixel]
FWHMPSF_IMAGE #FWHM of the local PSF model [pixel]
FWHMPSF_WORLD #FWHM of the local PSF model (world units) [deg]
XPSF_IMAGE #X coordinate from PSF-fitting [pixel]
YPSF_IMAGE #Y coordinate from PSF-fitting [pixel]
ALPHAPSF_J2000 #Right ascension of the fitted PSF (J2000) [deg]
DELTAPSF_J2000 #Declination of the fitted PSF (J2000) [deg]
FLUX_PSF #Flux from PSF-fitting [count]
FLUXERR_PSF #RMS flux error for PSF-fitting [count]
#MAG_PSF #Magnitude from PSF-fitting [mag]
#MAGERR_PSF #RMS magnitude error from PSF-fitting [mag]
NITER_PSF #Number of iterations for PSF-fitting
CHI2_PSF #Reduced chi2 from PSF-fitting
ERRX2PSF_IMAGE #Variance of PSF position along x [pixel**2]
ERRY2PSF_IMAGE #Variance of PSF position along y [pixel**2]
CONV NORM
# 7x7 convolution mask of a gaussian PSF with FWHM = 3.0 pixels.
0.004963 0.021388 0.051328 0.068707 0.051328 0.021388 0.004963
0.021388 0.092163 0.221178 0.296069 0.221178 0.092163 0.021388
0.051328 0.221178 0.530797 0.710525 0.530797 0.221178 0.051328
0.068707 0.296069 0.710525 0.951108 0.710525 0.296069 0.068707
0.051328 0.221178 0.530797 0.710525 0.530797 0.221178 0.051328
0.021388 0.092163 0.221178 0.296069 0.221178 0.092163 0.021388
0.004963 0.021388 0.051328 0.068707 0.051328 0.021388 0.004963
NNW
# Neural Network Weights for the SExtractor star/galaxy classifier (V1.3)
# inputs: 9 for profile parameters + 1 for seeing.
# outputs: ``Stellarity index'' (0.0 to 1.0)
# Seeing FWHM range: from 0.025 to 5.5'' (images must have 1.5 < FWHM < 5 pixels)
# Optimized for Moffat profiles with 2<= beta <= 4.
3 10 10 1
-1.56604e+00 -2.48265e+00 -1.44564e+00 -1.24675e+00 -9.44913e-01 -5.22453e-01 4.61342e-02 8.31957e-01 2.15505e+00 2.64769e-01
3.03477e+00 2.69561e+00 3.16188e+00 3.34497e+00 3.51885e+00 3.65570e+00 3.74856e+00 3.84541e+00 4.22811e+00 3.27734e+00
-3.22480e-01 -2.12804e+00 6.50750e-01 -1.11242e+00 -1.40683e+00 -1.55944e+00 -1.84558e+00 -1.18946e-01 5.52395e-01 -4.36564e-01 -5.30052e+00
4.62594e-01 -3.29127e+00 1.10950e+00 -6.01857e-01 1.29492e-01 1.42290e+00 2.90741e+00 2.44058e+00 -9.19118e-01 8.42851e-01 -4.69824e+00
-2.57424e+00 8.96469e-01 8.34775e-01 2.18845e+00 2.46526e+00 8.60878e-02 -6.88080e-01 -1.33623e-02 9.30403e-02 1.64942e+00 -1.01231e+00
4.81041e+00 1.53747e+00 -1.12216e+00 -3.16008e+00 -1.67404e+00 -1.75767e+00 -1.29310e+00 5.59549e-01 8.08468e-01 -1.01592e-02 -7.54052e+00
1.01933e+01 -2.09484e+01 -1.07426e+00 9.87912e-01 6.05210e-01 -6.04535e-02 -5.87826e-01 -7.94117e-01 -4.89190e-01 -8.12710e-02 -2.07067e+01
-5.31793e+00 7.94240e+00 -4.64165e+00 -4.37436e+00 -1.55417e+00 7.54368e-01 1.09608e+00 1.45967e+00 1.62946e+00 -1.01301e+00 1.13514e-01
2.20336e-01 1.70056e+00 -5.20105e-01 -4.28330e-01 1.57258e-03 -3.36502e-01 -8.18568e-02 -7.16163e+00 8.23195e+00 -1.71561e-02 -1.13749e+01
3.75075e+00 7.25399e+00 -1.75325e+00 -2.68814e+00 -3.71128e+00 -4.62933e+00 -2.13747e+00 -1.89186e-01 1.29122e+00 -7.49380e-01 6.71712e-01
-8.41923e-01 4.64997e+00 5.65808e-01 -3.08277e-01 -1.01687e+00 1.73127e-01 -8.92130e-01 1.89044e+00 -2.75543e-01 -7.72828e-01 5.36745e-01
-3.65598e+00 7.56997e+00 -3.76373e+00 -1.74542e+00 -1.37540e-01 -5.55400e-01 -1.59195e-01 1.27910e-01 1.91906e+00 1.42119e+00 -4.35502e+00
-1.70059e+00 -3.65695e+00 1.22367e+00 -5.74367e-01 -3.29571e+00 2.46316e+00 5.22353e+00 2.42038e+00 1.22919e+00 -9.22250e-01 -2.32028e+00
0.00000e+00
1.00000e+00
CONV NORM
# 3x3 convolution mask of a gaussian PSF with FWHM = 1.5 pixels.
0.109853 0.300700 0.109853
0.300700 0.823102 0.300700
0.109853 0.300700 0.109853
CONV NORM
# 3x3 convolution mask of a gaussian PSF with FWHM = 2.0 pixels.
0.260856 0.483068 0.260856
0.483068 0.894573 0.483068
0.260856 0.483068 0.260856
CONV NORM
# 5x5 convolution mask of a gaussian PSF with FWHM = 2.0 pixels.
0.006319 0.040599 0.075183 0.040599 0.006319
0.040599 0.260856 0.483068 0.260856 0.040599
0.075183 0.483068 0.894573 0.483068 0.075183
0.040599 0.260856 0.483068 0.260856 0.040599
0.006319 0.040599 0.075183 0.040599 0.006319
CONV NORM
# 5x5 convolution mask of a gaussian PSF with FWHM = 2.5 pixels.
0.034673 0.119131 0.179633 0.119131 0.034673
0.119131 0.409323 0.617200 0.409323 0.119131
0.179633 0.617200 0.930649 0.617200 0.179633
0.119131 0.409323 0.617200 0.409323 0.119131
0.034673 0.119131 0.179633 0.119131 0.034673
CONV NORM
# 5x5 convolution mask of a gaussian PSF with FWHM = 3.0 pixels.
0.092163 0.221178 0.296069 0.221178 0.092163
0.221178 0.530797 0.710525 0.530797 0.221178
0.296069 0.710525 0.951108 0.710525 0.296069
0.221178 0.530797 0.710525 0.530797 0.221178
0.092163 0.221178 0.296069 0.221178 0.092163
CONV NORM
# 7x7 convolution mask of a gaussian PSF with FWHM = 3.0 pixels.
0.004963 0.021388 0.051328 0.068707 0.051328 0.021388 0.004963
0.021388 0.092163 0.221178 0.296069 0.221178 0.092163 0.021388
0.051328 0.221178 0.530797 0.710525 0.530797 0.221178 0.051328
0.068707 0.296069 0.710525 0.951108 0.710525 0.296069 0.068707
0.051328 0.221178 0.530797 0.710525 0.530797 0.221178 0.051328
0.021388 0.092163 0.221178 0.296069 0.221178 0.092163 0.021388
0.004963 0.021388 0.051328 0.068707 0.051328 0.021388 0.004963
CONV NORM
# 7x7 convolution mask of a gaussian PSF with FWHM = 4.0 pixels.
0.047454 0.109799 0.181612 0.214776 0.181612 0.109799 0.047454
0.109799 0.254053 0.420215 0.496950 0.420215 0.254053 0.109799
0.181612 0.420215 0.695055 0.821978 0.695055 0.420215 0.181612
0.214776 0.496950 0.821978 0.972079 0.821978 0.496950 0.214776
0.181612 0.420215 0.695055 0.821978 0.695055 0.420215 0.181612
0.109799 0.254053 0.420215 0.496950 0.420215 0.254053 0.109799
0.047454 0.109799 0.181612 0.214776 0.181612 0.109799 0.047454
CONV NORM
# 9x9 convolution mask of a gaussian PSF with FWHM = 5.0 pixels.
0.030531 0.065238 0.112208 0.155356 0.173152 0.155356 0.112208 0.065238 0.030531
0.065238 0.139399 0.239763 0.331961 0.369987 0.331961 0.239763 0.139399 0.065238
0.112208 0.239763 0.412386 0.570963 0.636368 0.570963 0.412386 0.239763 0.112208
0.155356 0.331961 0.570963 0.790520 0.881075 0.790520 0.570963 0.331961 0.155356
0.173152 0.369987 0.636368 0.881075 0.982004 0.881075 0.636368 0.369987 0.173152
0.155356 0.331961 0.570963 0.790520 0.881075 0.790520 0.570963 0.331961 0.155356
0.112208 0.239763 0.412386 0.570963 0.636368 0.570963 0.412386 0.239763 0.112208
0.065238 0.139399 0.239763 0.331961 0.369987 0.331961 0.239763 0.139399 0.065238
0.030531 0.065238 0.112208 0.155356 0.173152 0.155356 0.112208 0.065238 0.030531
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment