Luiza  v03-01
FastAperturePhotometry.h
1 // -*- mode: c++; mode: auto-fill; mode: flyspell-prog; -*-
2 
3 #ifndef FastAperturePhotometry_h
4 #define FastAperturePhotometry_h 1
5 
6 #include "luiza/Processor.h"
7 
8 using namespace gloria;
9 
10 namespace luiza {
11 
12 
14 
84 
85  public:
86 
87  virtual Processor* newProcessor() { return new FastAperturePhotometry ; }
88 
89 
91 
95  virtual void init() ;
96 
99  virtual void processData( GloriaDataContainer* data ) ;
100 
101 
102  virtual void check( GloriaDataContainer* data ) ;
103 
104 
107  virtual void end() ;
108 
109 
110  protected:
111 
113  void printEndMessage() const ;
114 
117 
120 
123 
126 
127 
130 
132  std::vector<float> _annulusRadii;
133 
135 
139 
141 
145 
148 
150  std::string _brightnessColumn;
151 
153  std::vector<float> _objectPositions;
154 
156 
161 
164 
165 
167  std::vector<int> _apShiftX;
168  std::vector<int> _apShiftY;
169  std::vector<int> _anShiftX;
170  std::vector<int> _anShiftY;
171 
172  int _nLoops ;
173  int _nInputImages ;
174  int _nOutputLists ;
175 
176  } ;
177 
178 } // end namespace luiza
179 #endif
180 
181 
182 
bool _useTelescopeParameters
Use network configuration file to update processor parameters.
Definition: FastAperturePhotometry.h:160
string _outputCollectionName
Name of the output object list collection.
Definition: FastAperturePhotometry.h:122
namespace for data storing and exchange formats
Definition: GloriaAstrometry.h:15
int _interpolationOrder
Polinomial order used to interpolate background map.
Definition: FastAperturePhotometry.h:147
string _imageCollectionName
Name of the image collection containing images.
Definition: FastAperturePhotometry.h:116
float _apertureRadius
Radius of circular aperture used for signal counting in pixels.
Definition: FastAperturePhotometry.h:129
std::vector< float > _objectPositions
Object positions (two numbers, RA,DEC in degree, per object)
Definition: FastAperturePhotometry.h:153
Simple processor to calculate aperture photometry on the CCD frame.
Definition: FastAperturePhotometry.h:83
Class for storing all data processed in Luiza.
Definition: GloriaDataContainer.h:82
Base class for Luiza processors.
Definition: Processor.h:55
int _backgroundSampling
Background sampling factor.
Definition: FastAperturePhotometry.h:138
std::vector< int > _apShiftX
Pixel shifts for aperture definition (to speed up the code)
Definition: FastAperturePhotometry.h:167
bool _permanentCollection
Flag the output collection to be permanent.
Definition: FastAperturePhotometry.h:125
int _frameDivision
Frame division for background calculation.
Definition: FastAperturePhotometry.h:144
bool _usingObjectList
Flag indicating input method used.
Definition: FastAperturePhotometry.h:163
Namespace for Luiza framework.
Definition: CCCollection.h:6
virtual Processor * newProcessor()
Return a new instance of the processor.
Definition: FastAperturePhotometry.h:87
std::string _brightnessColumn
Name of the column to store object signal.
Definition: FastAperturePhotometry.h:150
string _listCollectionName
Name of the table collection containing object lists.
Definition: FastAperturePhotometry.h:119
std::vector< float > _annulusRadii
Inner and outer radius of the annulus used for background subtraction.
Definition: FastAperturePhotometry.h:132