B.2 CFHTLS T0007 Deep configuration files

B.2.1 SCAMPconfiguration files for T0007 Deep

SCAMPinternal astrometric reference catalogue run (D1,D2,D3,D4) :
# Default configuration file for SCAMP 1.5.5  
# EB 2009-04-10  
# Last modified for CFHTLS-T0007-D3 (Megacam):  
# YG 2011-05-27  
 
#------------------------------ Field grouping -----------------------------------  
 
FGROUP_RADIUS          1.0                   # Max dist (deg) between field groups  
 
#---------------------------- Reference catalogs ---------------------------------  
 
REF_SERVER             cocat1.u-strasbg.fr   # Internet addresses of catalog servers  
REF_PORT               1660                  # Ports to connect to catalog servers  
CDSCLIENT_EXEC         aclient               # CDSclient executable  
ASTREF_CATALOG         2MASS                 # NONE, FILE, USNO-A1, USNO-A2, USNO-B1,  
                                             # GSC-1.3, GSC-2.2, UCAC-1, UCAC-2,  
                                             # NOMAD-1, 2MASS, DENIS-3,  
                                             # SDSS-R3, SDSS-R5 or SDSS-R6  
ASTREF_BAND            DEFAULT               # Photom. band for astr.ref.magnitudes  
                                             # or DEFAULT, BLUEST, or REDDEST  
ASTREFCAT_NAME         astrefcat.cat         # Local astrometric reference catalogs  
ASTREFCENT_KEYS        X_WORLD,Y_WORLD       # Local ref.cat.centroid parameters  
ASTREFERR_KEYS         ERRA_WORLD, ERRB_WORLD, ERRTHETA_WORLD  
                                             # Local ref.cat.error ellipse parameters  
ASTREFMAG_KEY          MAG                   # Local ref.cat.magnitude parameter  
SAVE_REFCATALOG        N                     # Save ref catalogs in FITS-LDAC format?  
REFOUT_CATPATH         .                     # Save path for reference catalogs  
 
#--------------------------- Merged output catalogs ------------------------------  
 
MERGEDOUTCAT_NAME      CFHTLS-T0007-D3_SCamp_astr_ref.cat  
                                             # Merged output catalog filename  
MERGEDOUTCAT_TYPE      FITS_LDAC             # NONE, ASCII_HEAD, ASCII, FITS_LDAC  
 
#------------------------------ Pattern matching ---------------------------------  
 
MATCH                  Y                     # Do pattern-matching (Y/N) ?  
MATCH_NMAX             0                     # Max.number of detections for MATCHing  
                                             # (0=auto)  
PIXSCALE_MAXERR        1.2                   # Max scale-factor uncertainty  
POSANGLE_MAXERR        5.0                   # Max position-angle uncertainty (deg)  
POSITION_MAXERR        1.0                   # Max positional uncertainty (arcmin)  
MATCH_RESOL            0                     # Matching resolution (arcsec); 0=auto  
MATCH_FLIPPED          N                     # Allow matching with flipped axes?  
MOSAIC_TYPE            SAME_CRVAL            # UNCHANGED, SAME_CRVAL, SHARE_PROJAXIS,  
                                             # FIX_FOCALPLANE or LOOSE  
FIXFOCALPLANE_NMIN     1                     # Min number of dets for FIX_FOCALPLANE  
 
#---------------------------- Cross-identification -------------------------------  
 
CROSSID_RADIUS         2.0                   # Cross-id initial radius (arcsec)  
 
#---------------------------- Astrometric solution -------------------------------  
 
SOLVE_ASTROM           Y                     # Compute astrometric solution (Y/N) ?  
ASTRINSTRU_KEY         FILTER,QRUNID         # FITS keyword(s) defining the astrom  
STABILITY_TYPE         INSTRUMENT            # EXPOSURE, GROUP, INSTRUMENT or FILE  
CENTROID_KEYS          XWIN_IMAGE,YWIN_IMAGE # Cat. parameters for centroiding  
CENTROIDERR_KEYS       ERRAWIN_IMAGE,ERRBWIN_IMAGE,ERRTHETAWIN_IMAGE  
                                             # Cat. params for centroid err ellipse  
DISTORT_KEYS           XWIN_IMAGE,YWIN_IMAGE # Cat. parameters or FITS keywords  
DISTORT_GROUPS         1,1                   # Polynom group for each context key  
DISTORT_DEGREES        3                     # Polynom degree for each group  
ASTREF_WEIGHT          1.0                   # Relative weight of ref.astrom.cat.  
ASTRCLIP_NSIGMA        3.0                   # Astrom. clipping threshold in sigmas  
CORRECT_COLOURSHIFTS   N                     # Correct for colour shifts (Y/N)?  
 
#--------------------------- Photometric solution --------------------------------  
 
SOLVE_PHOTOM           Y                     # Compute photometric solution (Y/N) ?  
MAGZERO_OUT            30.0                  # Magnitude zero-point(s) in output  
MAGZERO_INTERR         0.01                  # Internal mag.zero-point accuracy  
MAGZERO_REFERR         0.03                  # Photom.field mag.zero-point accuracy  
PHOTINSTRU_KEY         FILTER                # FITS keyword(s) defining the photom.  
MAGZERO_KEY            PHOT_C                # FITS keyword for the mag zero-point  
EXPOTIME_KEY           EXPTIME               # FITS keyword for the exposure time (s)  
AIRMASS_KEY            AIRMASS               # FITS keyword for the airmass  
EXTINCT_KEY            PHOT_K                # FITS keyword for the extinction coeff  
PHOTOMFLAG_KEY         PHOTFLAG              # FITS keyword for the photometry flag  
PHOTFLUX_KEY           FLUX_AUTO             # Catalog param. for the flux measurement  
PHOTFLUXERR_KEY        FLUXERR_AUTO          # Catalog parameter for the flux error  
PHOTCLIP_NSIGMA        3.0                   # Photom.clipping threshold in sigmas  
 
#-------------------------------- Check-plots ------------------------------------  
 
CHECKPLOT_CKEY         SCAMPCOL              # FITS keyword for PLPLOT field colour  
CHECKPLOT_DEV          PNG                   # NULL, XWIN, TK, PS, PSC, XFIG, PNG,  
                                             # JPEG, AQT, PDF or SVG  
CHECKPLOT_RES          1600,1200             # Check-plot resolution (0 = default)  
CHECKPLOT_ANTIALIAS    Y                     # Anti-aliasing using convert (Y/N) ?  
CHECKPLOT_TYPE         DISTORTION,ASTR_INTERROR2D,ASTR_INTERROR1D,ASTR_REFERROR2D,  
                       ASTR_REFERROR1D,ASTR_CHI2,PHOT_ERROR,PHOT_ERRORVSMAG,  
                       PHOT_ZPCORR,PHOT_ZPCORR3D  
CHECKPLOT_NAME         distort,astr_interror2d,astr_interror1d,astr_referror2d,  
                       astr_referror1d,astr_chi2,psphot_error,phot_errorvsmag,  
                       phot_zpcorr,phot_zpcorr3d  
                                             # Check-plot filename(s)  
 
#-------------------------------- Check-images -----------------------------------  
 
CHECKIMAGE_TYPE        NONE                  # NONE, AS_PAIR, AS_REFPAIR, or AS_XCORR  
CHECKIMAGE_NAME        check.fits            # Check-image filename(s)  
 
#------------------------------- Miscellaneous -----------------------------------  
 
SN_THRESHOLDS          10.0,100.0            # S/N thresholds (in sigmas) for all and  
                                             # high-SN sample  
FWHM_THRESHOLDS        0.0,100.0             # FWHM thresholds (in pixels) for sources  
FLAGS_MASK             0x00f0                # Rejection mask on SEx FLAGS  
WEIGHTFLAGS_MASK       0x00ff                # Rejection mask on SEx FLAGS_WEIGHT  
IMAFLAGS_MASK          0x0                   # Rejection mask on SEx IMAFLAGS_ISO  
AHEADER_GLOBAL         /usr/share/scamp/megacam.ahead  
                                             # Filename of the global INPUT header  
AHEADER_SUFFIX         .ahead                # Filename extension for additional  
                                             # INPUT headers  
HEADER_SUFFIX          .head                 # Filename extension for OUTPUT headers  
HEADER_TYPE            NORMAL                # NORMAL or FOCAL_PLANE  
VERBOSE_TYPE           LOG                   # QUIET, NORMAL, LOG or FULL  
WRITE_XML              Y                     # Write XML file (Y/N)?  
XML_NAME               CFHTLS-T0007-D3_SCamp_astr_ref.xml  
                                             # Filename for XML output  
XSL_URL                scamp.xsl             # Filename for XSL style-sheet  
NTHREADS               0                     # Number of simultaneous threads for  
                                             # the SMP version of SCAMP  
                                             # 0 = automatic  

SCAMPastrometric run using internal astrometric reference catalogue (D1,D2,D3,D4) :
# Default configuration file for SCAMP 1.5.5  
# EB 2009-04-10  
# Last modified for CFHTLS-T0007-D3 (Megacam):  
# YG 2011-02-21  
 
#------------------------------ Field grouping -----------------------------------  
 
FGROUP_RADIUS          1.0                   # Max dist (deg) between field groups  
 
#---------------------------- Reference catalogs ---------------------------------  
 
REF_SERVER             cocat1.u-strasbg.fr   # Internet addresses of catalog servers  
REF_PORT               1660                  # Ports to connect to catalog servers  
CDSCLIENT_EXEC         aclient               # CDSclient executable  
ASTREF_CATALOG         FILE                  # NONE, FILE, USNO-A1, USNO-A2, USNO-B1,  
                                             # GSC-1.3, GSC-2.2, UCAC-1, UCAC-2,  
                                             # NOMAD-1, 2MASS, DENIS-3,  
                                             # SDSS-R3, SDSS-R5 or SDSS-R6  
ASTREF_BAND            DEFAULT               # Photom. band for astr.ref.magnitudes  
                                             # or DEFAULT, BLUEST, or REDDEST  
ASTREFCAT_NAME         CFHTLS-T0007-D3_SCamp_astr_ref.cat  
                                             # Local astrometric reference catalogs  
ASTREFCENT_KEYS        X_WORLD,Y_WORLD       # Local ref.cat.centroid parameters  
ASTREFERR_KEYS         ERRA_WORLD, ERRB_WORLD, ERRTHETA_WORLD  
                                             # Local ref.cat.error ellipse parameters  
ASTREFMAG_KEY          MAG                   # Local ref.cat.magnitude parameter  
SAVE_REFCATALOG        N                     # Save ref catalogs in FITS-LDAC format?  
REFOUT_CATPATH         .                     # Save path for reference catalogs  
 
#--------------------------- Merged output catalogs ------------------------------  
 
MERGEDOUTCAT_NAME      scamp.cat             # Merged output catalog filename  
MERGEDOUTCAT_TYPE      NONE                  # NONE, ASCII_HEAD, ASCII, FITS_LDAC  
 
#------------------------------ Pattern matching ---------------------------------  
 
MATCH                  Y                     # Do pattern-matching (Y/N) ?  
MATCH_NMAX             0                     # Max.number of detections for MATCHing  
                                             # (0=auto)  
PIXSCALE_MAXERR        1.2                   # Max scale-factor uncertainty  
POSANGLE_MAXERR        5.0                   # Max position-angle uncertainty (deg)  
POSITION_MAXERR        1.0                   # Max positional uncertainty (arcmin)  
MATCH_RESOL            0                     # Matching resolution (arcsec); 0=auto  
MATCH_FLIPPED          N                     # Allow matching with flipped axes?  
MOSAIC_TYPE            SAME_CRVAL            # UNCHANGED, SAME_CRVAL, SHARE_PROJAXIS,  
                                             # FIX_FOCALPLANE or LOOSE  
FIXFOCALPLANE_NMIN     1                     # Min number of dets for FIX_FOCALPLANE  
 
#---------------------------- Cross-identification -------------------------------  
 
CROSSID_RADIUS         2.0                   # Cross-id initial radius (arcsec)  
 
#---------------------------- Astrometric solution -------------------------------  
 
SOLVE_ASTROM           Y                     # Compute astrometric solution (Y/N) ?  
ASTRINSTRU_KEY         FILTER,QRUNID         # FITS keyword(s) defining the astrom  
STABILITY_TYPE         INSTRUMENT            # EXPOSURE, GROUP, INSTRUMENT or FILE  
CENTROID_KEYS          XWIN_IMAGE,YWIN_IMAGE # Cat. parameters for centroiding  
CENTROIDERR_KEYS       ERRAWIN_IMAGE,ERRBWIN_IMAGE,ERRTHETAWIN_IMAGE  
                                             # Cat. params for centroid err ellipse  
DISTORT_KEYS           XWIN_IMAGE,YWIN_IMAGE # Cat. parameters or FITS keywords  
DISTORT_GROUPS         1,1                   # Polynom group for each context key  
DISTORT_DEGREES        3                     # Polynom degree for each group  
ASTREF_WEIGHT          1.0                   # Relative weight of ref.astrom.cat.  
ASTRCLIP_NSIGMA        3.0                   # Astrom. clipping threshold in sigmas  
CORRECT_COLOURSHIFTS   N                     # Correct for colour shifts (Y/N)?  
 
#--------------------------- Photometric solution --------------------------------  
 
SOLVE_PHOTOM           Y                     # Compute photometric solution (Y/N) ?  
MAGZERO_OUT            30.0                  # Magnitude zero-point(s) in output  
MAGZERO_INTERR         0.01                  # Internal mag.zero-point accuracy  
MAGZERO_REFERR         0.03                  # Photom.field mag.zero-point accuracy  
PHOTINSTRU_KEY         FILTER                # FITS keyword(s) defining the photom.  
MAGZERO_KEY            PHOT_C                # FITS keyword for the mag zero-point  
EXPOTIME_KEY           EXPTIME               # FITS keyword for the exposure time (s)  
AIRMASS_KEY            AIRMASS               # FITS keyword for the airmass  
EXTINCT_KEY            PHOT_K                # FITS keyword for the extinction coeff  
PHOTOMFLAG_KEY         PHOTFLAG              # FITS keyword for the photometry flag  
PHOTFLUX_KEY           FLUX_AUTO             # Catalog param. for the flux measurement  
PHOTFLUXERR_KEY        FLUXERR_AUTO          # Catalog parameter for the flux error  
PHOTCLIP_NSIGMA        3.0                   # Photom.clipping threshold in sigmas  
 
#-------------------------------- Check-plots ------------------------------------  
 
CHECKPLOT_CKEY         SCAMPCOL              # FITS keyword for PLPLOT field colour  
CHECKPLOT_DEV          PNG                   # NULL, XWIN, TK, PS, PSC, XFIG, PNG,  
                                             # JPEG, AQT, PDF or SVG  
CHECKPLOT_RES          1600,1200             # Check-plot resolution (0 = default)  
CHECKPLOT_ANTIALIAS    Y                     # Anti-aliasing using convert (Y/N) ?  
CHECKPLOT_TYPE         DISTORTION,ASTR_INTERROR2D,ASTR_INTERROR1D,ASTR_REFERROR2D,  
                       ASTR_REFERROR1D,ASTR_CHI2,PHOT_ERROR,PHOT_ERRORVSMAG,  
                       PHOT_ZPCORR,PHOT_ZPCORR3D  
CHECKPLOT_NAME         distort,astr_interror2d,astr_interror1d,astr_referror2d,  
                       astr_referror1d,astr_chi2,psphot_error,phot_errorvsmag,  
                       phot_zpcorr,phot_zpcorr3d  
                                             # Check-plot filename(s)  
 
#-------------------------------- Check-images -----------------------------------  
 
CHECKIMAGE_TYPE        NONE                  # NONE, AS_PAIR, AS_REFPAIR, or AS_XCORR  
CHECKIMAGE_NAME        check.fits            # Check-image filename(s)  
 
#------------------------------- Miscellaneous -----------------------------------  
 
SN_THRESHOLDS          10.0,100.0            # S/N thresholds (in sigmas) for all and  
                                             # high-SN sample  
FWHM_THRESHOLDS        0.0,100.0             # FWHM thresholds (in pixels) for sources  
FLAGS_MASK             0x00f0                # Rejection mask on SEx FLAGS  
WEIGHTFLAGS_MASK       0x00ff                # Rejection mask on SEx FLAGS_WEIGHT  
IMAFLAGS_MASK          0x0                   # Rejection mask on SEx IMAFLAGS_ISO  
AHEADER_GLOBAL         /usr/share/scamp/megacam.ahead  
                                             # Filename of the global INPUT header  
AHEADER_SUFFIX         .ahead                # Filename extension for additional  
                                             # INPUT headers  
HEADER_SUFFIX          .head                 # Filename extension for OUTPUT headers  
HEADER_TYPE            NORMAL                # NORMAL or FOCAL_PLANE  
VERBOSE_TYPE           LOG                   # QUIET, NORMAL, LOG or FULL  
WRITE_XML              Y                     # Write XML file (Y/N)?  
XML_NAME               CFHTLS-T0007-D3_SCamp_astr_g.xml  
                                             # Filename for XML output  
XSL_URL                scamp.xsl             # Filename for XSL style-sheet  
NTHREADS               0                     # Number of simultaneous threads for  
                                             # the SMP version of SCAMP  
                                             # 0 = automatic  

SCAMPphotometric run (D1,D2,D3,D4) :
# Default configuration file for SCAMP 1.5.5  
# EB 2009-04-10  
# Last modified for CFHTLS-T0007-D3 (Megacam):  
# YG 2011-06-10  
 
#------------------------------ Field grouping -----------------------------------  
 
FGROUP_RADIUS          1.0                   # Max dist (deg) between field groups  
 
#---------------------------- Reference catalogs ---------------------------------  
 
REF_SERVER             cocat1.u-strasbg.fr   # Internet addresses of catalog servers  
REF_PORT               1660                  # Ports to connect to catalog servers  
CDSCLIENT_EXEC         aclient               # CDSclient executable  
ASTREF_CATALOG         FILE                  # NONE, FILE, USNO-A1, USNO-A2, USNO-B1,  
                                             # GSC-1.3, GSC-2.2, UCAC-1, UCAC-2,  
                                             # NOMAD-1, 2MASS, DENIS-3,  
                                             # SDSS-R3, SDSS-R5 or SDSS-R6  
ASTREF_BAND            DEFAULT               # Photom. band for astr.ref.magnitudes  
                                             # or DEFAULT, BLUEST, or REDDEST  
ASTREFCAT_NAME         CFHTLS-T0007-D3_SCamp_astr_ref.cat  
                                             # Local astrometric reference catalogs  
ASTREFCENT_KEYS        X_WORLD,Y_WORLD       # Local ref.cat.centroid parameters  
ASTREFERR_KEYS         ERRA_WORLD, ERRB_WORLD, ERRTHETA_WORLD  
                                             # Local ref.cat.error ellipse parameters  
ASTREFMAG_KEY          MAG                   # Local ref.cat.magnitude parameter  
SAVE_REFCATALOG        N                     # Save ref catalogs in FITS-LDAC format?  
REFOUT_CATPATH         .                     # Save path for reference catalogs  
 
#--------------------------- Merged output catalogs ------------------------------  
 
MERGEDOUTCAT_NAME      scamp.cat             # Merged output catalog filename  
MERGEDOUTCAT_TYPE      NONE                  # NONE, ASCII_HEAD, ASCII, FITS_LDAC  
 
#------------------------------ Pattern matching ---------------------------------  
 
MATCH                  N                     # Do pattern-matching (Y/N) ?  
MATCH_NMAX             0                     # Max.number of detections for MATCHing  
                                             # (0=auto)  
PIXSCALE_MAXERR        1.2                   # Max scale-factor uncertainty  
POSANGLE_MAXERR        5.0                   # Max position-angle uncertainty (deg)  
POSITION_MAXERR        1.0                   # Max positional uncertainty (arcmin)  
MATCH_RESOL            0                     # Matching resolution (arcsec); 0=auto  
MATCH_FLIPPED          N                     # Allow matching with flipped axes?  
MOSAIC_TYPE            UNCHANGED             # UNCHANGED, SAME_CRVAL, SHARE_PROJAXIS,  
                                             # FIX_FOCALPLANE or LOOSE  
FIXFOCALPLANE_NMIN     1                     # Min number of dets for FIX_FOCALPLANE  
 
#---------------------------- Cross-identification -------------------------------  
 
CROSSID_RADIUS         2.0                   # Cross-id initial radius (arcsec)  
 
#---------------------------- Astrometric solution -------------------------------  
 
SOLVE_ASTROM           N                     # Compute astrometric solution (Y/N) ?  
ASTRINSTRU_KEY         FILTER,QRUNID         # FITS keyword(s) defining the astrom  
STABILITY_TYPE         INSTRUMENT            # EXPOSURE, GROUP, INSTRUMENT or FILE  
CENTROID_KEYS          XWIN_IMAGE,YWIN_IMAGE # Cat. parameters for centroiding  
CENTROIDERR_KEYS       ERRAWIN_IMAGE,ERRBWIN_IMAGE,ERRTHETAWIN_IMAGE  
                                             # Cat. params for centroid err ellipse  
DISTORT_KEYS           XWIN_IMAGE,YWIN_IMAGE # Cat. parameters or FITS keywords  
DISTORT_GROUPS         1,1                   # Polynom group for each context key  
DISTORT_DEGREES        3                     # Polynom degree for each group  
ASTREF_WEIGHT          1.0                   # Relative weight of ref.astrom.cat.  
ASTRCLIP_NSIGMA        3.0                   # Astrom. clipping threshold in sigmas  
CORRECT_COLOURSHIFTS   N                     # Correct for colour shifts (Y/N)?  
 
#--------------------------- Photometric solution --------------------------------  
 
SOLVE_PHOTOM           Y                     # Compute photometric solution (Y/N) ?  
MAGZERO_OUT            30.0                  # Magnitude zero-point(s) in output  
MAGZERO_INTERR         0.01                  # Internal mag.zero-point accuracy  
MAGZERO_REFERR         0.03                  # Photom.field mag.zero-point accuracy  
PHOTINSTRU_KEY         FILTER                # FITS keyword(s) defining the photom.  
MAGZERO_KEY            PHOT_C                # FITS keyword for the mag zero-point  
EXPOTIME_KEY           EXPTIME               # FITS keyword for the exposure time (s)  
AIRMASS_KEY            AIRMASS               # FITS keyword for the airmass  
EXTINCT_KEY            PHOT_K                # FITS keyword for the extinction coeff  
PHOTOMFLAG_KEY         PHOTFLAG              # FITS keyword for the photometry flag  
PHOTFLUX_KEY           FLUX_AUTO             # Catalog param. for the flux measurement  
PHOTFLUXERR_KEY        FLUXERR_AUTO          # Catalog parameter for the flux error  
PHOTCLIP_NSIGMA        3.0                   # Photom.clipping threshold in sigmas  
 
#-------------------------------- Check-plots ------------------------------------  
 
CHECKPLOT_CKEY         SCAMPCOL              # FITS keyword for PLPLOT field colour  
CHECKPLOT_DEV          PNG                   # NULL, XWIN, TK, PS, PSC, XFIG, PNG,  
                                             # JPEG, AQT, PDF or SVG  
CHECKPLOT_RES          1600,1200             # Check-plot resolution (0 = default)  
CHECKPLOT_ANTIALIAS    Y                     # Anti-aliasing using convert (Y/N) ?  
CHECKPLOT_TYPE         DISTORTION,ASTR_INTERROR2D,ASTR_INTERROR1D,ASTR_REFERROR2D,  
                       ASTR_REFERROR1D,ASTR_CHI2,PHOT_ERROR,PHOT_ERRORVSMAG,  
                       PHOT_ZPCORR,PHOT_ZPCORR3D  
CHECKPLOT_NAME         distort,astr_interror2d,astr_interror1d,astr_referror2d,  
                       astr_referror1d,astr_chi2,psphot_error,phot_errorvsmag,  
                       phot_zpcorr,phot_zpcorr3d  
                                             # Check-plot filename(s)  
 
#-------------------------------- Check-images -----------------------------------  
 
CHECKIMAGE_TYPE        NONE                  # NONE, AS_PAIR, AS_REFPAIR, or AS_XCORR  
CHECKIMAGE_NAME        check.fits            # Check-image filename(s)  
 
#------------------------------- Miscellaneous -----------------------------------  
 
SN_THRESHOLDS          10.0,100.0            # S/N thresholds (in sigmas) for all and  
                                             # high-SN sample  
FWHM_THRESHOLDS        0.0,100.0             # FWHM thresholds (in pixels) for sources  
FLAGS_MASK             0x00f0                # Rejection mask on SEx FLAGS  
WEIGHTFLAGS_MASK       0x00ff                # Rejection mask on SEx FLAGS_WEIGHT  
IMAFLAGS_MASK          0x0                   # Rejection mask on SEx IMAFLAGS_ISO  
AHEADER_GLOBAL         /usr/share/scamp/megacam.ahead  
                                             # Filename of the global INPUT header  
AHEADER_SUFFIX         .ahead                # Filename extension for additional  
                                             # INPUT headers  
HEADER_SUFFIX          .head                 # Filename extension for OUTPUT headers  
HEADER_TYPE            NORMAL                # NORMAL or FOCAL_PLANE  
VERBOSE_TYPE           LOG                   # QUIET, NORMAL, LOG or FULL  
WRITE_XML              Y                     # Write XML file (Y/N)?  
XML_NAME               CFHTLS-T0007-D3_SCamp_phot_g.xml  
                                             # Filename for XML output  
XSL_URL                scamp.xsl             # Filename for XSL style-sheet  
NTHREADS               0                     # Number of simultaneous threads for  
                                             # the SMP version of SCAMP  
                                             # 0 = automatic  

B.2.2 SWarpstack configuration file for T0007 Deep
# Default configuration file for SWarp 2.17.6  
# EB 2009-04-09  
#  
# Last modified for CFHTLS-T0007 (Megacam):  
# YG 2011-09-01  
 
#----------------------------------- Output -----------------------------------  
 
IMAGEOUT_NAME          CFHTLS_D-85_g_221531-174356_T0007.fits  
                                       # Output filename  
WEIGHTOUT_NAME         CFHTLS_D-85_g_221531-174356_T0007_weight.fits  
                                       # Output weight-map filename  
 
HEADER_ONLY            N               # Only a header as an output file (Y/N)?  
HEADER_SUFFIX          .head           # Filename extension for additional headers  
 
#------------------------------- Input Weights --------------------------------  
 
WEIGHT_TYPE            MAP_WEIGHT      # BACKGROUND,MAP_RMS,MAP_VARIANCE  
                                       # or MAP_WEIGHT  
WEIGHT_SUFFIX          _weight.fits    # Suffix to use for weight-maps  
WEIGHT_IMAGE                           # Weightmap filename if suffix not used  
                                       # (all or for each weight-map)  
WEIGHT_THRESH                          # Bad pixel weight-threshold  
 
#------------------------------- Co-addition ----------------------------------  
 
COMBINE                Y               # Combine resampled images (Y/N)?  
COMBINE_TYPE           MEDIAN          # MEDIAN,AVERAGE,MIN,MAX,WEIGHTED,CHI2  
                                       # or SUM  
BLANK_BADPIXELS        N               # Set to 0 pixels having a weight of 0  
 
#-------------------------------- Astrometry ----------------------------------  
 
CELESTIAL_TYPE         NATIVE          # NATIVE, PIXEL, EQUATORIAL,  
                                       # GALACTIC,ECLIPTIC, or SUPERGALACTIC  
PROJECTION_TYPE        TAN             # Any WCS projection code or NONE  
PROJECTION_ERR         0.001           # Maximum projection error (in output  
                                       # pixels), or 0 for no approximation  
CENTER_TYPE            MANUAL          # MANUAL, ALL or MOST  
CENTER            22:15:31,-17:43:56   # Coordinates of the image center  
PIXELSCALE_TYPE        MANUAL          # MANUAL,FIT,MIN,MAX or MEDIAN  
PIXEL_SCALE            0.186           # Pixel scale  
IMAGE_SIZE             19354,19354     # Image size (0 = AUTOMATIC)  
 
 
#-------------------------------- Resampling ----------------------------------  
 
RESAMPLE               Y               # Resample input images (Y/N)?  
RESAMPLE_DIR           .               # Directory path for resampled images  
RESAMPLE_SUFFIX        .resamp.fits    # filename extension for resampled images  
RESAMPLING_TYPE        LANCZOS3        # NEAREST,BILINEAR,LANCZOS2,LANCZOS3  
                                       # or LANCZOS4 (1 per axis)  
OVERSAMPLING           0               # Oversampling in each dimension  
                                       # (0 = automatic)  
INTERPOLATE            Y               # Interpolate bad input pixels (Y/N)?  
                                       # (all or for each image)  
FSCALASTRO_TYPE        VARIABLE        # NONE,FIXED, or VARIABLE  
FSCALE_KEYWORD         FLXSCALE        # FITS keyword for the multiplicative  
                                       # factor applied to each input image  
FSCALE_DEFAULT         1.0             # Default FSCALE value if not in header  
GAIN_KEYWORD           GAIN            # FITS keyword for effect. gain (e-/ADU)  
GAIN_DEFAULT           0.0             # Default gain if no FITS keyword found  
                                       # 0 = infinity (all or for each image)  
SATLEV_KEYWORD         SATURATE        # FITS keyword for saturation level (ADU)  
SATLEV_DEFAULT         50000.0         # Default saturation if no FITS keyword  
 
#--------------------------- Background subtraction ---------------------------  
 
SUBTRACT_BACK          Y               # Subtraction sky background (Y/N)?  
                                       # (all or for each image)  
BACK_TYPE              AUTO            # AUTO or MANUAL  
                                       # (all or for each image)  
BACK_DEFAULT           0.0             # Default background value in MANUAL  
                                       # (all or for each image)  
BACK_SIZE              128             # Background mesh size (pixels)  
                                       # (all or for each image)  
BACK_FILTERSIZE        3               # Background map filter range (meshes)  
                                       # (all or for each image)  
BACK_FILTTHRESH        0.0             # Threshold above which the background-  
                                       # map filter operates  
 
#------------------------------ Memory management -----------------------------  
 
VMEM_DIR               .               # Directory path for swap files  
VMEM_MAX               2047            # Maximum amount of virtual memory (MB)  
MEM_MAX                128             # Maximum amount of usable RAM (MB)  
COMBINE_BUFSIZE        400             # RAM dedicated to co-addition(MB)  
 
#------------------------------ Miscellaneous ---------------------------------  
 
DELETE_TMPFILES        Y               # Delete temporary resampled FITS files  
                                       # (Y/N)?  
 
COPY_KEYWORDS          FILTER,INSTRUME,TELESCOP,DETECTOR,OBSERVER,PHOT_C,PHOT_K,  
                       OBJECT,DATE_OBS,ORIGIN,SEEING,REL_DATE  
                                       # List of FITS keywords to propagate  
                                       # from the input to the output headers  
WRITE_FILEINFO         N               # Write information about each input  
                                       # file in the output image header?  
WRITE_XML              Y               # Write XML file (Y/N)?  
XML_NAME               CFHTLS_D-85_g_221531-174356_T0007_SWarp.xml  
                                       # Filename for XML output  
XSL_URL                swarp.xsl       # Filename for XSL style-sheet  
VERBOSE_TYPE           NORMAL          # QUIET,NORMAL or FULL  
NNODES                 1               # Number of nodes (for clusters)  
NODE_INDEX             0               # Node index (for clusters)  
NTHREADS               0               # Number of simultaneous threads for  
                                       # the SMP version of SWarp  
                                       # 0 = automatic  

B.2.3 SWarpchi2-image configuration file for T0007 Deep
# Default configuration file for SWarp 2.17.6  
# EB 2009-04-09  
#  
# Last modified for CFHTLS-T0007 chi2 (Megacam):  
# YG 2011-09-22  
 
#----------------------------------- Output -----------------------------------  
 
IMAGEOUT_NAME          CFHTLS_D-85_gri_221531-174356_T0007.fits  
                                       # Output filename  
WEIGHTOUT_NAME         CFHTLS_D-85_gri_221531-174356_T0007_weight.fits  
                                       # Output weight-map filename  
 
HEADER_ONLY            N               # Only a header as an output file (Y/N)?  
HEADER_SUFFIX          .head           # Filename extension for additional headers  
 
#------------------------------- Input Weights --------------------------------  
 
WEIGHT_TYPE            MAP_WEIGHT      # BACKGROUND,MAP_RMS,MAP_VARIANCE  
                                       # or MAP_WEIGHT  
WEIGHT_SUFFIX          _weight.fits    # Suffix to use for weight-maps  
WEIGHT_IMAGE                           # Weightmap filename if suffix not used  
                                       # (all or for each weight-map)  
WEIGHT_THRESH                          # Bad pixel weight-threshold  
 
#------------------------------- Co-addition ----------------------------------  
 
COMBINE                Y               # Combine resampled images (Y/N)?  
COMBINE_TYPE           CHI2            # MEDIAN,AVERAGE,MIN,MAX,WEIGHTED,CHI2  
                                       # or SUM  
BLANK_BADPIXELS        N               # Set to 0 pixels having a weight of 0  
 
#-------------------------------- Astrometry ----------------------------------  
 
CELESTIAL_TYPE         NATIVE          # NATIVE, PIXEL, EQUATORIAL,  
                                       # GALACTIC,ECLIPTIC, or SUPERGALACTIC  
PROJECTION_TYPE        TAN             # Any WCS projection code or NONE  
PROJECTION_ERR         0.001           # Maximum projection error (in output  
                                       # pixels), or 0 for no approximation  
CENTER_TYPE            MANUAL          # MANUAL, ALL or MOST  
CENTER            22:15:31,-17:43:56   # Coordinates of the image center  
PIXELSCALE_TYPE        MANUAL          # MANUAL,FIT,MIN,MAX or MEDIAN  
PIXEL_SCALE            0.186           # Pixel scale  
IMAGE_SIZE             19354,19354     # Image size (0 = AUTOMATIC)  
 
 
#-------------------------------- Resampling ----------------------------------  
 
RESAMPLE               Y               # Resample input images (Y/N)?  
RESAMPLE_DIR           .               # Directory path for resampled images  
RESAMPLE_SUFFIX        .resamp.fits    # filename extension for resampled images  
RESAMPLING_TYPE        LANCZOS3        # NEAREST,BILINEAR,LANCZOS2,LANCZOS3  
                                       # or LANCZOS4 (1 per axis)  
OVERSAMPLING           0               # Oversampling in each dimension  
                                       # (0 = automatic)  
INTERPOLATE            Y               # Interpolate bad input pixels (Y/N)?  
                                       # (all or for each image)  
FSCALASTRO_TYPE        VARIABLE        # NONE,FIXED, or VARIABLE  
FSCALE_KEYWORD         FLXSCALE        # FITS keyword for the multiplicative  
                                       # factor applied to each input image  
FSCALE_DEFAULT         1.0             # Default FSCALE value if not in header  
GAIN_KEYWORD           GAIN            # FITS keyword for effect. gain (e-/ADU)  
GAIN_DEFAULT           0.0             # Default gain if no FITS keyword found  
                                       # 0 = infinity (all or for each image)  
SATLEV_KEYWORD         SATURATE        # FITS keyword for saturation level (ADU)  
SATLEV_DEFAULT         50000.0         # Default saturation if no FITS keyword  
 
#--------------------------- Background subtraction ---------------------------  
 
SUBTRACT_BACK          Y               # Subtraction sky background (Y/N)?  
                                       # (all or for each image)  
BACK_TYPE              AUTO            # AUTO or MANUAL  
                                       # (all or for each image)  
BACK_DEFAULT           0.0             # Default background value in MANUAL  
                                       # (all or for each image)  
BACK_SIZE              64              # Background mesh size (pixels)  
                                       # (all or for each image)  
BACK_FILTERSIZE        3               # Background map filter range (meshes)  
                                       # (all or for each image)  
BACK_FILTTHRESH        0.0             # Threshold above which the background-  
                                       # map filter operates  
 
#------------------------------ Memory management -----------------------------  
 
VMEM_DIR               .               # Directory path for swap files  
VMEM_MAX               2047            # Maximum amount of virtual memory (MB)  
MEM_MAX                4096            # Maximum amount of usable RAM (MB)  
COMBINE_BUFSIZE        1024            # RAM dedicated to co-addition(MB)  
 
#------------------------------ Miscellaneous ---------------------------------  
 
DELETE_TMPFILES        Y               # Delete temporary resampled FITS files  
                                       # (Y/N)?  
 
COPY_KEYWORDS          OBJECT,FILTER   # List of FITS keywords to propagate  
                                       # from the input to the output headers  
WRITE_FILEINFO         Y               # Write information about each input  
                                       # file in the output image header?  
WRITE_XML              Y               # Write XML file (Y/N)?  
XML_NAME               CFHTLS_D-85_gri_221531-174356_T0007_SWarp_chi2.xml  
                                       # Filename for XML output  
XSL_URL                swarp.xsl       # Filename for XSL style-sheet  
VERBOSE_TYPE           NORMAL          # QUIET,NORMAL or FULL  
NNODES                 1               # Number of nodes (for clusters)  
NODE_INDEX             0               # Node index (for clusters)  
NTHREADS               0               # Number of simultaneous threads for  
                                       # the SMP version of SWarp  
                                       # 0 = automatic  

B.2.4 SExtractor.ldac catalogue configuration file for T0007 Deep
# Default configuration file for SExtractor 2.11.0  
# EB 2010-02-11  
#  
# Last modified for SExtr stack.ldac MAG_APER(1):  
# YG 2011-01-28  
 
#-------------------------------- Catalog ---------------------------------------  
 
CATALOG_NAME     CFHTLS_D-85_y_100028+021230_T0007.ldac  
                                   # name of the output catalog  
CATALOG_TYPE     FITS_LDAC         # NONE,ASCII,ASCII_HEAD, ASCII_SKYCAT,  
                                   # ASCII_VOTABLE, FITS_1.0 or FITS_LDAC  
PARAMETERS_NAME  sextr-stack_APER1.param  
                                   # name of the file containing catalog contents  
 
#------------------------------- Extraction -------------------------------------  
 
DETECT_TYPE      CCD               # CCD (linear) or PHOTO (with gamma correction)  
DETECT_MINAREA   3                 # min. number of pixels above threshold  
DETECT_MAXAREA   0                 # max. number of pixels above threshold (0=unlimited)  
THRESH_TYPE      RELATIVE          # threshold type: RELATIVE (in sigmas)  
                                   # or ABSOLUTE (in ADUs)  
DETECT_THRESH    1.0               # <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-auto.conv # name of the file containing the filter  
FILTER_THRESH                      # Threshold[s] for retina filtering  
DEBLEND_NTHRESH  32                # Number of deblending sub-thresholds  
DEBLEND_MINCONT  0.002             # 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  
 
#-------------------------------- WEIGHTing -------------------------------------  
 
WEIGHT_TYPE     MAP_WEIGHT         # type of WEIGHTing: NONE, BACKGROUND,  
                                   # MAP_RMS, MAP_VAR or MAP_WEIGHT  
WEIGHT_IMAGE    CFHTLS_D-85_y_100028+021230_T0007_weight.fits  
                                   # weight-map filename  
WEIGHT_GAIN      Y                 # modulate gain (E/ADU) with weights? (Y/N)  
WEIGHT_THRESH                      # 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   27.7139           # 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.8       # flux fraction[s] used for FLUX_RADIUS  
SATUR_LEVEL      50000.0           # level (in ADUs) at which arises saturation  
SATUR_KEY        TOTO              # keyword for saturation level (in ADUs)  
MAG_ZEROPOINT    30.0              # magnitude zero-point  
MAG_GAMMA        4.0               # gamma of emulsion (for photographic scans)  
GAIN             0.0               # detector gain in e-/ADU  
GAIN_KEY         GAIN              # keyword for detector gain in e-/ADU  
PIXEL_SCALE      0                 # size of pixel in arcsec (0=use FITS WCS info)  
 
#------------------------- Star/Galaxy Separation -------------------------------  
 
SEEING_FWHM      0.9               # stellar FWHM in arcsec  
STARNNW_NAME     default-auto.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        128               # Background mesh: <size> or <width>,<height>  
BACK_FILTERSIZE  3                 # Background filter: <size> or <width>,<height>  
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  MINIBACKGROUND    # MINIBACKGROUND, MINIBACK_RMS, -BACKGROUND,  
                                   # FILTERED, OBJECTS, -OBJECTS, SEGMENTATION,  
                                   # or APERTURES  
CHECKIMAGE_NAME  CFHTLS_D-85_y_100028+021230_T0007_mbkg.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]  
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        Y                 # Write XML file (Y/N)?  
XML_NAME         CFHTLS_W_r_021021-104400_T0007_SExtr_ldac.xml  
                                   # Filename for XML output  
XSL_URL          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         2                 # 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  

B.2.5 SExtractordual mode .cat catalogue configuration file for T0007 Deep
# Default configuration file for SExtractor 2.8.6  
# EB 2009-04-09  
#  
# Last modified for CFHTLS-T0007 chi2 (Megacam):  
# YG 2011-09-24  
 
#---------------------------------- Catalog -----------------------------------------  
 
CATALOG_NAME     CFHTLS_D-25_g_022559-042940_T0007.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  sextr-chi2_APER27.param # name of the file containing catalog contents  
 
#--------------------------------- Extraction ---------------------------------------  
 
DETECT_TYPE      CCD                     # CCD (linear) or PHOTO (with gamma correction)  
DETECT_MINAREA   3                       # minimum number of pixels above threshold  
THRESH_TYPE      ABSOLUTE                # threshold type: RELATIVE (in sigmas)  
                                         # or ABSOLUTE (in ADUs)  
DETECT_THRESH    0.4                     # <sigmas> or <threshold>,<ZP> in mag.arcsec-2  
ANALYSIS_THRESH  0.4                     # <sigmas> or <threshold>,<ZP> in mag.arcsec-2  
FILTER           Y                       # apply filter for detection (Y or N)?  
FILTER_NAME      default-autochi2.conv   # name of the file containing the filter  
FILTER_THRESH                            # Threshold[s] for retina filtering  
DEBLEND_NTHRESH  32                      # Number of deblending sub-thresholds  
DEBLEND_MINCONT  0.002                   # 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  
 
#---------------------------------- WEIGHTing ---------------------------------------  
 
WEIGHT_TYPE      MAP_WEIGHT,MAP_WEIGHT   # type of WEIGHTing: NONE, BACKGROUND,  
                                         # MAP_RMS, MAP_VAR or MAP_WEIGHT  
WEIGHT_IMAGE     CFHTLS_D-25_gri_022559-042940_T0007_weight.fits,  
                 CFHTLS_D-25_g_022559-042940_T0007_weight.fits  
                                         # weight-map filename  
WEIGHT_GAIN      Y                       # modulate gain (E/ADU) with weights? (Y/N)  
WEIGHT_THRESH                            # 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.,12.,14.,16.,18.,20.,22.,24.,26.,28.,30.,32.,34.,36.,38.,  
                 40.,42.,44.,46.,48.,50.,52.,54.,56.,58.,60.,26.471  
                                         # 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   16.0,16.0               # <estimation>,<measurement> minimum apertures  
                                         # for MAG_AUTO and MAG_PETRO  
PHOT_FLUXFRAC    0.2,0.5,0.8             # flux fraction[s] used for FLUX_RADIUS  
SATUR_LEVEL      50000.0                 # level (in ADUs) at which arises saturation  
SATUR_KEY        TOTO                    # keyword for saturation level (in ADUs)  
MAG_ZEROPOINT    30.0                    # magnitude zero-point  
MAG_GAMMA        4.0                     # gamma of emulsion (for photographic scans)  
GAIN             0.0                     # detector gain in e-/ADU  
GAIN_KEY         GAIN                    # keyword for detector gain in e-/ADU  
PIXEL_SCALE      0                       # size of pixel in arcsec (0=use FITS WCS info)  
 
#--------------------------- Star/Galaxy Separation ---------------------------------  
 
SEEING_FWHM      0.9                     # stellar FWHM in arcsec  
STARNNW_NAME     default-autochi2.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        256                     # Background mesh: <size> or <width>,<height>  
BACK_FILTERSIZE  9                       # Background filter: <size> or <width>,<height>  
BACKPHOTO_TYPE   LOCAL                   # can be GLOBAL or LOCAL  
BACKPHOTO_THICK  30                      # thickness of the background LOCAL annulus  
BACK_FILTTHRESH  0.0                     # Threshold above which the background-  
                                         # map filter operates  
 
#-------------------------------- Check Image ---------------------------------------  
 
CHECKIMAGE_TYPE  MINIBACKGROUND          # can be NONE, BACKGROUND, BACKGROUND_RMS,  
                                         # MINIBACKGROUND, MINIBACK_RMS, -BACKGROUND,  
                                         # FILTERED, OBJECTS, -OBJECTS, SEGMENTATION,  
                                         # or APERTURES  
CHECKIMAGE_NAME   CFHTLS_D-25_g_022559-042940_T0007_mbkg_chi2.fits  
                                         # Filename for the check-image  
 
#----------------------- Memory (change with caution!) ------------------------------  
 
MEMORY_OBJSTACK  5000                    # number of objects in stack  
MEMORY_PIXSTACK  1000000                 # 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]  
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  
WRITE_XML        Y                       # Write XML file (Y/N)?  
XML_NAME         CFHTLS_D-25_g_022559-042940_T0007_SExtr_chi2.xml  
                                         # Filename for XML output  
XSL_URL          sextractor.xsl          # Filename for XSL style-sheet  
NTHREADS         0                       # Number of simultaneous threads for  
                                         # the SMP version of SExtractor  
                                         # 0 = automatic  
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         9                       # Max.number of PSFs fitted simultaneously  
PSFDISPLAY_TYPE  SPLIT                   # Catalog type for PSF-fitting: SPLIT or VECTOR  
PATTERN_TYPE     RINGS-HARMONIC          # can RINGS-QUADPOLE, RINGS-OCTOPOLE,  
                                         # RINGS-HARMONICS or GAUSS-LAGUERRE  
SOM_NAME         default.som             # File containing Self-Organizing Map weights