SourceXtractorPlusPlus
0.15
Please provide a description of the project.
SEImplementation
SEImplementation
Background
SE2
BackgroundDefine.h
Go to the documentation of this file.
1
17
/*
18
* Created on Jan 05, 2015
19
* @author: mkuemmel@usm.lmu.de
20
*
21
* Date: $Date$
22
* Revision: $Revision$
23
* Author: $Author$
24
*/
25
#ifndef BACKGROUNDDEFINE_H
26
#define BACKGROUNDDEFINE_H
27
28
namespace
SourceXtractor
{
29
30
typedef
float
PIXTYPE
;
31
32
#define BIG 1e+30
// a huge number
33
#define MAXCHAR 1048
//
34
35
/*------------------------------ field flags -------------------------------*/
36
#define DETECT_FIELD 0x0001
// Detection
37
#define MEASURE_FIELD 0x0002
// Measurement
38
#define FLAG_FIELD 0x0004
// Flagging
39
#define RMS_FIELD 0x0008
// Weighting with std deviations
40
#define VAR_FIELD 0x0010
// Weighting with variances
41
#define WEIGHT_FIELD 0x0020
// Weighting with weights
42
#define BACKRMS_FIELD 0x0040
// Weighting from a backrms matrix
43
#define INTERP_FIELD 0x0080
// Purely interpolated data
44
#define MULTIGRID_FIELD 0x0100
// Multi-grid mode
45
/*---------------------- gap filling flags --------------------------------*/
46
#define MEAN 0x0200
// Mean of the minimum distance pixels
47
#define WEIGHTED_MEAN 0x0400
// Distance-weighted mean of the edge pixels
48
/*----------------------------- Internal constants --------------------------*/
49
//#define BACK_BUFSIZE 1048576 /* bkgnd buffer */
50
#define BACK_BUFSIZE 1048576
// maximum size of the background buffer
51
#define BACK_MINGOODFRAC 0.5
// minimumm fraction of good values in a cell
52
#define BACK_FKAPPA 2.0
// kappa=nsigma for the first data cut
53
#define QUANTIF_NSIGMA 5
// kappa=nsigma for the histogram limits
54
#define QUANTIF_NMAXLEVELS 4096
// max nb of quantif. levels = size of the histogram
55
#define QUANTIF_AMIN 4
// min nb of "mode pixels"
56
#define BACK_EPS (1e-4)
// a small number to end iteration
57
58
//#define BACK_WSCALE 1 /* Activate weight scaling */
59
//#define BACK_NOWSCALE 0 /* No weight scaling */
60
61
#ifndef PI
62
#define PI 3.1415926535898
// just for sure, maybe it is in C++??
63
#endif
64
65
}
// end of namespace SourceXtractor
66
67
#endif
/* BACKGROUNDDEFINE_H */
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::PIXTYPE
float PIXTYPE
Definition:
BackgroundDefine.h:30
Generated by
1.9.1