Project

General

Profile

Bug #703 » psfex.conf

psfex configuration file - Chiara Marmo, 07/28/2016 11:03 AM

 
1
# Default configuration file for PSFEx 3.17.2
2
# EB 2014-04-14
3
#
4
 
5
#-------------------------------- PSF model ----------------------------------
6
 
7
BASIS_TYPE      PIXEL_AUTO      # NONE, PIXEL, GAUSS-LAGUERRE or FILE
8
BASIS_NUMBER    20              # Basis number or parameter
9
BASIS_NAME      basis.fits      # Basis filename (FITS data-cube)
10
BASIS_SCALE     1.0             # Gauss-Laguerre beta parameter
11
NEWBASIS_TYPE   NONE            # Create new basis: NONE, PCA_INDEPENDENT
12
                                # or PCA_COMMON
13
NEWBASIS_NUMBER 8               # Number of new basis vectors
14
PSF_SAMPLING    0.0             # Sampling step in pixel units (0.0 = auto)
15
PSF_PIXELSIZE   1.0             # Effective pixel size in pixel step units
16
PSF_ACCURACY    0.01            # Accuracy to expect from PSF "pixel" values
17
PSF_SIZE        10,10           # Image size of the PSF model
18
PSF_RECENTER    Y               # Allow recentering of PSF-candidates Y/N ?
19
MEF_TYPE        INDEPENDENT     # INDEPENDENT or COMMON
20
 
21
#------------------------- Point source measurements -------------------------
22
 
23
CENTER_KEYS     XWIN_IMAGE,YWIN_IMAGE # Catalogue parameters for source pre-centering
24
PHOTFLUX_KEY    FLUX_APER(1)    # Catalogue parameter for photometric norm.
25
PHOTFLUXERR_KEY FLUXERR_APER(1) # Catalogue parameter for photometric error
26
 
27
#----------------------------- PSF variability -------------------------------
28
 
29
PSFVAR_KEYS     XWIN_IMAGE,YWIN_IMAGE # Catalogue or FITS (preceded by :) params
30
PSFVAR_GROUPS   1,1             # Group tag for each context key
31
PSFVAR_DEGREES  2               # Polynom degree for each group
32
PSFVAR_NSNAP    9               # Number of PSF snapshots per axis
33
HIDDENMEF_TYPE  COMMON          # INDEPENDENT or COMMON
34
STABILITY_TYPE  SEQUENCE        # EXPOSURE or SEQUENCE
35
 
36
#----------------------------- Sample selection ------------------------------
37
 
38
SAMPLE_AUTOSELECT  Y            # Automatically select the FWHM (Y/N) ?
39
SAMPLEVAR_TYPE     SEEING       # File-to-file PSF variability: NONE or SEEING
40
SAMPLE_FWHMRANGE   0.0005,5.0     # Allowed FWHM range
41
SAMPLE_VARIABILITY 0.9          # Allowed FWHM variability (1.0 = 100%)
42
SAMPLE_MINSN       1           # Minimum S/N for a source to be used
43
SAMPLE_MAXELLIP    1          # Maximum (A-B)/(A+B) for a source to be used
44
SAMPLE_FLAGMASK    0x00fe       # Rejection mask on SExtractor FLAGS
45
SAMPLE_WFLAGMASK   0x0000       # Rejection mask on SExtractor FLAGS_WEIGHT
46
SAMPLE_IMAFLAGMASK 0x0          # Rejection mask on SExtractor IMAFLAGS_ISO
47
BADPIXEL_FILTER    N            # Filter bad-pixels in samples (Y/N) ?
48
BADPIXEL_NMAX      0            # Maximum number of bad pixels allowed
49
 
50
#----------------------- PSF homogeneisation kernel --------------------------
51

    
52
HOMOBASIS_TYPE     NONE         # NONE or GAUSS-LAGUERRE
53
HOMOBASIS_NUMBER   10           # Kernel basis number or parameter
54
HOMOBASIS_SCALE    1.0          # GAUSS-LAGUERRE beta parameter
55
HOMOPSF_PARAMS     2.0, 3.0     # Moffat parameters of the idealised PSF
56
HOMOKERNEL_DIR                  # Where to write kernels (empty=same as input)
57
HOMOKERNEL_SUFFIX  .homo.fits   # Filename extension for homogenisation kernels
58

    
59
#----------------------------- Output catalogs -------------------------------
60

    
61
OUTCAT_TYPE        ASCII_HEAD         # NONE, ASCII_HEAD, ASCII, FITS_LDAC
62
OUTCAT_NAME        psfex_out.cat  # Output catalog filename
63

    
64
#------------------------------- Check-plots ----------------------------------
65
 
66
CHECKPLOT_DEV       PNG         # NULL, XWIN, TK, PS, PSC, XFIG, PNG,
67
                                # JPEG, AQT, PDF or SVG
68
CHECKPLOT_RES       0           # Check-plot resolution (0 = default)
69
CHECKPLOT_ANTIALIAS Y           # Anti-aliasing using convert (Y/N) ?
70
CHECKPLOT_TYPE      FWHM,ELLIPTICITY,COUNTS, COUNT_FRACTION, RESIDUALS
71
                                # or NONE
72
CHECKPLOT_NAME      fwhm, ellipticity, counts, countfrac, resi
73
 
74
#------------------------------ Check-Images ---------------------------------
75
 
76
CHECKIMAGE_TYPE PROTOTYPES,SAMPLES,RESIDUALS,SNAPSHOTS
77
                                # or MOFFAT,-MOFFAT,-SYMMETRICAL
78
CHECKIMAGE_NAME proto.fits,samp.fits,resi.fits,snap.fits
79
                                # Check-image filenames
80
CHECKIMAGE_CUBE N               # Save check-images as datacubes (Y/N) ?
81
 
82
#----------------------------- Miscellaneous ---------------------------------
83
 
84
PSF_DIR                         # Where to write PSFs (empty=same as input)
85
PSF_SUFFIX      .psf            # Filename extension for output PSF filename
86
VERBOSE_TYPE    NORMAL          # can be QUIET,NORMAL,LOG or FULL
87
WRITE_XML       Y               # Write XML file (Y/N)?
88
XML_NAME        psfex.xml       # Filename for XML output
89
XSL_URL         file:///usr/local/share/psfex/psfex.xsl
90
                                # Filename for XSL style-sheet
91
NTHREADS        0               # Number of simultaneous threads for
92
                                # the SMP version of PSFEx
93
                                # 0 = automatic
(3-3/4)