sexhead.h 5.72 KB
Newer Older
Emmanuel Bertin's avatar
Emmanuel Bertin committed
1
/*
2
3
4
5
6
7
8
9
10
11
12
*				sexhead.h
*
* Keyword list for FITS-LDAC catalogue headers.
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*
*	This file part of:	SExtractor
*
*	Copyright:		(C) 1998-2010 IAP/CNRS/UPMC
*				(C) 1997 ESO
*				(C) 1996 Sterrewacht Leiden
Emmanuel Bertin's avatar
Emmanuel Bertin committed
13
*
14
*	Author:			Emmanuel Bertin (IAP)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
15
*
16
*	License:		GNU General Public License
Emmanuel Bertin's avatar
Emmanuel Bertin committed
17
*
18
19
20
21
22
23
24
25
26
27
*	SExtractor is free software: you can redistribute it and/or modify
*	it under the terms of the GNU General Public License as published by
*	the Free Software Foundation, either version 3 of the License, or
*	(at your option) any later version.
*	SExtractor is distributed in the hope that it will be useful,
*	but WITHOUT ANY WARRANTY; without even the implied warranty of
*	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*	GNU General Public License for more details.
*	You should have received a copy of the GNU General Public License
*	along with SExtractor. If not, see <http://www.gnu.org/licenses/>.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
28
*
29
*	Last modified:		11/10/2010
Emmanuel Bertin's avatar
Emmanuel Bertin committed
30
*
31
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
Emmanuel Bertin's avatar
Emmanuel Bertin committed
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

keystruct	headkey[] = {
  {"FITSFILE", "File name of the analysed image",
	thecat.image_name, H_STRING, T_STRING, "%-18s"},
  {"FITSEXT ", "FITS Extension number",
	&thecat.currext, H_INT, T_LONG, "%3d"},
  {"FITSNEXT", "Number of FITS image extensions in file",
	&thecat.next, H_INT, T_LONG, "3d"},
  {"SEXVERS ", "Extraction software",
	thecat.soft_name, H_STRING, T_STRING, "%-18s"},
  {"SEXDATE ", "Extraction date",
	thecat.ext_date, H_STRING, T_STRING, "%-18s"},
  {"SEXTIME ", "Extraction time",
	thecat.ext_time, H_STRING, T_STRING, "%-18s"},
  {"SEXELAPS", "Elapsed time during extraction (s)",
	&thecat.ext_elapsed, H_FLOAT, T_DOUBLE, "%7.1f"},
  {"SEXBKGND", "Median background level (ADU)",
	&thefield1.backmean, H_EXPO, T_FLOAT, "%-13G"},
  {"SEXBKDEV", "Median background RMS (ADU)",
	&thefield1.backsig, H_EXPO, T_FLOAT, "%-13G"},
  {"SEXTHLD ", "Extraction threshold (ADU)",
	&thefield2.dthresh, H_EXPO, T_FLOAT, "%-15G"},
  {"SEXATHLD", "Analysis threshold (ADU)",
	&thefield1.thresh, H_EXPO, T_FLOAT, "%-15G"},
  {"SEXNDET ", "Number of raw detections",
	&thecat.ndetect, H_INT, T_LONG, "%9d"},
  {"SEXNFIN ", "Final number of extracted sources",
	&thecat.ntotal, H_INT, T_LONG, "%9d"},
  {"SEXNPARA", "Number of parameters per source",
	&thecat.nparam, H_INT, T_LONG, "%3d"},
  {"SEXPXSCL", "Pixel scale used for measurements (arcsec)",
	&thefield1.pixscale, H_EXPO, T_DOUBLE, "%-15G"},
  {"SEXSFWHM", "Source FWHM used for measurements (arcsec)",
	&prefs.seeing_fwhm, H_EXPO, T_DOUBLE, "%-13G"},
  {"SEXNNWF ", "S/G classification NNW filename",
	thecat.nnw_name, H_STRING, T_STRING, "%-18s"},
  {"SEXGAIN ", "Gain used (e-/ADU)",
Emmanuel Bertin's avatar
Emmanuel Bertin committed
69
	&thefield2.gain, H_EXPO, T_DOUBLE, "%6.2f"},
Emmanuel Bertin's avatar
Emmanuel Bertin committed
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
  {"SEXFLTR ", "Detection filtering activated (flag)",
	&prefs.filter_flag, H_BOOL, T_LONG, "%1s"},
  {"SEXFILTN", "Filter filename",
	thecat.filter_name, H_STRING, T_STRING, "%-18s"},
/*
  {"SEXDETT ", "Detection type",
	&prefs.detect_type, H_STRING, T_STRING, "%-18s"},
*/
  {"SEXMINAR", "Minimum area used for detection (pixels)",
	&prefs.ext_minarea, H_INT, T_LONG, "%5d"},
  {"SEXDBLDN", "Number of deblending thresholds",
	&prefs.deblend_nthresh, H_INT, T_LONG, "%3d"},
  {"SEXDBLDC", "Minimum contrast used for deblending",
	&prefs.deblend_mincont, H_FLOAT, T_DOUBLE, "%8f"},
  {"SEXCLN  ", "Cleaning activated (flag)",
	&prefs.clean_flag, H_BOOL, T_LONG, "%1s"},
  {"SEXCLNPA", "Cleaning parameter",
	&prefs.clean_param, H_FLOAT, T_DOUBLE, "%5.2f"},
  {"SEXCLNST", "Cleaning stack-size",
	&prefs.clean_stacksize, H_INT, T_LONG, "%6d"},
  {"SEXAPED1", "Fixed photometric aperture #1 (pixels)",
	&prefs.apert[0], H_FLOAT, T_DOUBLE, "%7.1f"},
  {"SEXAPED2", "Fixed photometric aperture #2 (pixels)",
	&prefs.apert[1], H_FLOAT, T_DOUBLE, "%7.1f"},
  {"SEXAPED3", "Fixed photometric aperture #3 (pixels)",
	&prefs.apert[2], H_FLOAT, T_DOUBLE, "%7.1f"},
  {"SEXAPED4", "Fixed photometric aperture #4 (pixels)",
	&prefs.apert[3], H_FLOAT, T_DOUBLE, "%7.1f"},
  {"SEXAUTP1", "Parameter #1 used for automatic magnitudes",
	&prefs.autoparam[0], H_FLOAT, T_DOUBLE, "%4.1f"},
  {"SEXAUTP2", "Parameter #2 used for automatic magnitudes",
	&prefs.autoparam[1], H_FLOAT, T_DOUBLE, "%4.1f"},
  {"SEXPETP1", "Parameter #1 used for Petronsian magnitudes",
	&prefs.autoparam[0], H_FLOAT, T_DOUBLE, "%4.1f"},
  {"SEXPETP2", "Parameter #2 used for Petrosian magnitudes",
	&prefs.autoparam[1], H_FLOAT, T_DOUBLE, "%4.1f"},
  {"SEXSATLV", "Saturation level used for flagging (ADU)",
Emmanuel Bertin's avatar
Emmanuel Bertin committed
107
	&thefield2.satur_level, H_EXPO, T_DOUBLE, "%-13G"},
Emmanuel Bertin's avatar
Emmanuel Bertin committed
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
  {"SEXMGZPT", "Zero-point used for magnitudes",
	&prefs.mag_zeropoint, H_FLOAT, T_DOUBLE, "%8.4f"},
  {"SEXMGGAM", "Gamma used for photographic photometry",
	&prefs.mag_gamma, H_FLOAT, T_DOUBLE, "%4.2f"},
  {"SEXBKGSX", "Mesh width used for background mapping (pixels)",
	&thefield1.backw, H_INT, T_LONG, "%5d"},
  {"SEXBKGSY", "Mesh height used for background mapping (pixels)",
	&thefield1.backh, H_INT, T_LONG, "%5d"},
  {"SEXBKGFX", "Mask width used for background map filtering",
	&thefield1.nbackfx, H_INT, T_LONG, "%3d"},
  {"SEXBKGFY", "Mask height used for background map filtering",
	&thefield1.nbackfy, H_INT, T_LONG, "%3d"},
/*
  {"SEXPBKGT", "Background type for photometry",
	 &prefs.pback_type, H_STRING, T_STRING, "-18s"},
*/
  {"SEXPBKGS", "Thickness used for local background (pixels)",
	&prefs.pback_size, H_INT, T_LONG, "%3d"},
  {"SEXPIXSK", "Pixel stack-size (pixels)",
	&prefs.mem_pixstack, H_INT, T_LONG, "%8d"},
  {"SEXFBUFS", "Image-buffer height (scanlines)",
	&prefs.mem_bufsize, H_INT, T_LONG, "%5d"},
  {"SEXMWSCL", "Measurement-weight re-scaling factor",
	&thewfield1.sigfac, H_EXPO, T_FLOAT, "%-13G"},
  {"SEXDWSCL", "Detection-weight re-scaling factor",
	&thewfield2.sigfac, H_EXPO, T_FLOAT, "%-13G"},
  {""}};