Luiza  v03-01
ApplyGausKernel.h
1 // -*- mode: c++; mode: auto-fill; mode: flyspell-prog; -*-
2 
3 #ifndef ApplyGausKernel_h
4 #define ApplyGausKernel_h 1
5 
6 #include "luiza/Processor.h"
7 
8 using namespace gloria;
9 
10 namespace luiza {
11 
12 
14 
104  class ApplyGausKernel : public Processor {
105 
106  public:
107 
108  virtual Processor* newProcessor() { return new ApplyGausKernel ; }
109 
110 
111  ApplyGausKernel() ;
112 
116  virtual void init() ;
117 
120  virtual void processData( GloriaDataContainer* data ) ;
121 
122  // virtual void createTable( GloriaDataContainer* data ) ;
123 
124  virtual void startAnalysis(GloriaDataContainer* data);
125 
126  virtual void check( GloriaDataContainer* data ) ;
127 
128 
131  virtual void end() ;
132 
133 
134  protected:
135 
137  void printEndMessage() const ;
138 
141 
144 
147 
150 
153 
156 
158 
162 
164 
168 
170 
172 
175 
178 
181 
183  double _pixCut;
184 
187 
190 
192  std::vector<std::string> _copykey;
193 
194  int _nLoops ;
195  int _nInputImages ;
196  int _nOutputLists ;
197 
198  } ;
199 
200 } // end namespace luiza
201 #endif
202 
203 
int _fixedKernelSize
If kernel have got constant size, user set the value of size of kernel.
Definition: ApplyGausKernel.h:174
double _starCogRadius
Radius for calculating star position with CoG method.
Definition: ApplyGausKernel.h:189
virtual Processor * newProcessor()
Return a new instance of the processor.
Definition: ApplyGausKernel.h:108
namespace for data storing and exchange formats
Definition: GloriaAstrometry.h:15
int _backgroundFrameDivision
Frame division for background calculation.
Definition: ApplyGausKernel.h:167
bool _variableKernelFlag
Flag to decide, whether kernel size is constant or variable. If it's is true, size is variable...
Definition: ApplyGausKernel.h:171
Class for storing all data processed in Luiza.
Definition: GloriaDataContainer.h:82
double _pixThresholdKernel
Threshold for the cluster pixel signal (in units of noise level)
Definition: ApplyGausKernel.h:180
Base class for Luiza processors.
Definition: Processor.h:55
double _minDistBetweenStars
Minimum distance between two stars.
Definition: ApplyGausKernel.h:186
string _outputFrameCollectionName
Name of the output collection for convoluted frames.
Definition: ApplyGausKernel.h:149
int _interpolationOrder
Polinomial order used to interpolate background map.
Definition: ApplyGausKernel.h:177
bool _permanentList
Flag the output object list collection to be permanent.
Definition: ApplyGausKernel.h:152
std::vector< std::string > _copykey
Keywords of image fits header to copied to the table header.
Definition: ApplyGausKernel.h:192
Processor to calculate Gaus Kernel and apply it to the image frame.
Definition: ApplyGausKernel.h:104
string _inputTableOfParameters
Name of the table collection containing tables.
Definition: ApplyGausKernel.h:143
Namespace for Luiza framework.
Definition: CCCollection.h:6
double _pixCut
Decide wchich pixel is included to star (in units of the brightest pixel in the star) ...
Definition: ApplyGausKernel.h:183
int _backgroundSampling
Background sampling factor.
Definition: ApplyGausKernel.h:161
string _outputListCollectionName
Name of the output object list collection.
Definition: ApplyGausKernel.h:146
bool _permanentFrame
Flag the output collection of convoluted frames to be permanent.
Definition: ApplyGausKernel.h:155
string _imageCollectionName
Name of the image collection containing images.
Definition: ApplyGausKernel.h:140