public software.sextractor

[/] [trunk/] [src/] [sexhead.h] - Blame information for rev 233

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 bertin
/*
2 233 bertin
*                               sexhead.h
3 2 bertin
*
4 233 bertin
* Keyword list for FITS-LDAC catalogue headers.
5 2 bertin
*
6 233 bertin
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7 2 bertin
*
8 233 bertin
*       This file part of:      SExtractor
9 2 bertin
*
10 233 bertin
*       Copyright:              (C) 1998-2010 IAP/CNRS/UPMC
11
*                               (C) 1997 ESO
12
*                               (C) 1996 Sterrewacht Leiden
13 2 bertin
*
14 233 bertin
*       Author:                 Emmanuel Bertin (IAP)
15
*
16
*       License:                GNU General Public License
17
*
18
*       SExtractor is free software: you can redistribute it and/or modify
19
*       it under the terms of the GNU General Public License as published by
20
*       the Free Software Foundation, either version 3 of the License, or
21
*       (at your option) any later version.
22
*       SExtractor is distributed in the hope that it will be useful,
23
*       but WITHOUT ANY WARRANTY; without even the implied warranty of
24
*       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25
*       GNU General Public License for more details.
26
*       You should have received a copy of the GNU General Public License
27
*       along with SExtractor. If not, see <http://www.gnu.org/licenses/>.
28
*
29
*       Last modified:          11/10/2010
30
*
31
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
32 2 bertin
 
33
keystruct       headkey[] = {
34
  {"FITSFILE", "File name of the analysed image",
35
        thecat.image_name, H_STRING, T_STRING, "%-18s"},
36
  {"FITSEXT ", "FITS Extension number",
37
        &thecat.currext, H_INT, T_LONG, "%3d"},
38
  {"FITSNEXT", "Number of FITS image extensions in file",
39
        &thecat.next, H_INT, T_LONG, "3d"},
40
  {"SEXVERS ", "Extraction software",
41
        thecat.soft_name, H_STRING, T_STRING, "%-18s"},
42
  {"SEXDATE ", "Extraction date",
43
        thecat.ext_date, H_STRING, T_STRING, "%-18s"},
44
  {"SEXTIME ", "Extraction time",
45
        thecat.ext_time, H_STRING, T_STRING, "%-18s"},
46
  {"SEXELAPS", "Elapsed time during extraction (s)",
47
        &thecat.ext_elapsed, H_FLOAT, T_DOUBLE, "%7.1f"},
48
  {"SEXBKGND", "Median background level (ADU)",
49
        &thefield1.backmean, H_EXPO, T_FLOAT, "%-13G"},
50
  {"SEXBKDEV", "Median background RMS (ADU)",
51
        &thefield1.backsig, H_EXPO, T_FLOAT, "%-13G"},
52
  {"SEXTHLD ", "Extraction threshold (ADU)",
53
        &thefield2.dthresh, H_EXPO, T_FLOAT, "%-15G"},
54
  {"SEXATHLD", "Analysis threshold (ADU)",
55
        &thefield1.thresh, H_EXPO, T_FLOAT, "%-15G"},
56
  {"SEXNDET ", "Number of raw detections",
57
        &thecat.ndetect, H_INT, T_LONG, "%9d"},
58
  {"SEXNFIN ", "Final number of extracted sources",
59
        &thecat.ntotal, H_INT, T_LONG, "%9d"},
60
  {"SEXNPARA", "Number of parameters per source",
61
        &thecat.nparam, H_INT, T_LONG, "%3d"},
62
  {"SEXPXSCL", "Pixel scale used for measurements (arcsec)",
63
        &thefield1.pixscale, H_EXPO, T_DOUBLE, "%-15G"},
64
  {"SEXSFWHM", "Source FWHM used for measurements (arcsec)",
65
        &prefs.seeing_fwhm, H_EXPO, T_DOUBLE, "%-13G"},
66
  {"SEXNNWF ", "S/G classification NNW filename",
67
        thecat.nnw_name, H_STRING, T_STRING, "%-18s"},
68
  {"SEXGAIN ", "Gain used (e-/ADU)",
69 173 bertin
        &thefield2.gain, H_EXPO, T_DOUBLE, "%6.2f"},
70 2 bertin
  {"SEXFLTR ", "Detection filtering activated (flag)",
71
        &prefs.filter_flag, H_BOOL, T_LONG, "%1s"},
72
  {"SEXFILTN", "Filter filename",
73
        thecat.filter_name, H_STRING, T_STRING, "%-18s"},
74
/*
75
  {"SEXDETT ", "Detection type",
76
        &prefs.detect_type, H_STRING, T_STRING, "%-18s"},
77
*/
78
  {"SEXMINAR", "Minimum area used for detection (pixels)",
79
        &prefs.ext_minarea, H_INT, T_LONG, "%5d"},
80
  {"SEXDBLDN", "Number of deblending thresholds",
81
        &prefs.deblend_nthresh, H_INT, T_LONG, "%3d"},
82
  {"SEXDBLDC", "Minimum contrast used for deblending",
83
        &prefs.deblend_mincont, H_FLOAT, T_DOUBLE, "%8f"},
84
  {"SEXCLN  ", "Cleaning activated (flag)",
85
        &prefs.clean_flag, H_BOOL, T_LONG, "%1s"},
86
  {"SEXCLNPA", "Cleaning parameter",
87
        &prefs.clean_param, H_FLOAT, T_DOUBLE, "%5.2f"},
88
  {"SEXCLNST", "Cleaning stack-size",
89
        &prefs.clean_stacksize, H_INT, T_LONG, "%6d"},
90
  {"SEXAPED1", "Fixed photometric aperture #1 (pixels)",
91
        &prefs.apert[0], H_FLOAT, T_DOUBLE, "%7.1f"},
92
  {"SEXAPED2", "Fixed photometric aperture #2 (pixels)",
93
        &prefs.apert[1], H_FLOAT, T_DOUBLE, "%7.1f"},
94
  {"SEXAPED3", "Fixed photometric aperture #3 (pixels)",
95
        &prefs.apert[2], H_FLOAT, T_DOUBLE, "%7.1f"},
96
  {"SEXAPED4", "Fixed photometric aperture #4 (pixels)",
97
        &prefs.apert[3], H_FLOAT, T_DOUBLE, "%7.1f"},
98
  {"SEXAUTP1", "Parameter #1 used for automatic magnitudes",
99
        &prefs.autoparam[0], H_FLOAT, T_DOUBLE, "%4.1f"},
100
  {"SEXAUTP2", "Parameter #2 used for automatic magnitudes",
101
        &prefs.autoparam[1], H_FLOAT, T_DOUBLE, "%4.1f"},
102
  {"SEXPETP1", "Parameter #1 used for Petronsian magnitudes",
103
        &prefs.autoparam[0], H_FLOAT, T_DOUBLE, "%4.1f"},
104
  {"SEXPETP2", "Parameter #2 used for Petrosian magnitudes",
105
        &prefs.autoparam[1], H_FLOAT, T_DOUBLE, "%4.1f"},
106
  {"SEXSATLV", "Saturation level used for flagging (ADU)",
107 173 bertin
        &thefield2.satur_level, H_EXPO, T_DOUBLE, "%-13G"},
108 2 bertin
  {"SEXMGZPT", "Zero-point used for magnitudes",
109
        &prefs.mag_zeropoint, H_FLOAT, T_DOUBLE, "%8.4f"},
110
  {"SEXMGGAM", "Gamma used for photographic photometry",
111
        &prefs.mag_gamma, H_FLOAT, T_DOUBLE, "%4.2f"},
112
  {"SEXBKGSX", "Mesh width used for background mapping (pixels)",
113
        &thefield1.backw, H_INT, T_LONG, "%5d"},
114
  {"SEXBKGSY", "Mesh height used for background mapping (pixels)",
115
        &thefield1.backh, H_INT, T_LONG, "%5d"},
116
  {"SEXBKGFX", "Mask width used for background map filtering",
117
        &thefield1.nbackfx, H_INT, T_LONG, "%3d"},
118
  {"SEXBKGFY", "Mask height used for background map filtering",
119
        &thefield1.nbackfy, H_INT, T_LONG, "%3d"},
120
/*
121
  {"SEXPBKGT", "Background type for photometry",
122
         &prefs.pback_type, H_STRING, T_STRING, "-18s"},
123
*/
124
  {"SEXPBKGS", "Thickness used for local background (pixels)",
125
        &prefs.pback_size, H_INT, T_LONG, "%3d"},
126
  {"SEXPIXSK", "Pixel stack-size (pixels)",
127
        &prefs.mem_pixstack, H_INT, T_LONG, "%8d"},
128
  {"SEXFBUFS", "Image-buffer height (scanlines)",
129
        &prefs.mem_bufsize, H_INT, T_LONG, "%5d"},
130
  {"SEXMWSCL", "Measurement-weight re-scaling factor",
131
        &thewfield1.sigfac, H_EXPO, T_FLOAT, "%-13G"},
132
  {"SEXDWSCL", "Detection-weight re-scaling factor",
133
        &thewfield2.sigfac, H_EXPO, T_FLOAT, "%-13G"},
134
  {""}};
135