Luiza  v03-01
WeightedAperturePhotometry.h
1 // -*- mode: c++; mode: auto-fill; mode: flyspell-prog; -*-
2 
3 #ifndef WeightedAperturePhotometry_h
4 #define WeightedAperturePhotometry_h 1
5 
6 #include "luiza/Processor.h"
7 
8 using namespace gloria;
9 
10 namespace luiza {
11 
12 
14 
148 
149  public:
150 
152 
153 
155 
159  virtual void init() ;
160 
163  virtual void processData( GloriaDataContainer* data ) ;
164 
165 
166  virtual void check( GloriaDataContainer* data ) ;
167 
168 
171  virtual void end() ;
172 
173 
174  protected:
175 
177  void printEndMessage() const ;
178 
181 
184 
187 
190 
191 
194 
196  std::vector<float> _annulusRadii;
197 
199 
203 
205 
209 
212 
215 
218 
219 
221  std::string _brightnessColumn;
222 
223 
225  std::vector<float> _objectPositions;
226 
228 
233 
236 
237 
240 
242  std::vector<std::string> _positionColumns;
243 
245  bool _addNoise;
246 
248  string _noiseColumn;
249 
252 
254  std::vector<std::string> _spreadColumns;
255 
257  bool _addShape;
258 
260  std::vector<std::string> _shapeColumns;
261 
263  std::vector<std::string> _copykey;
264 
267 
268 
270  std::vector<int> _apShiftX;
271  std::vector<int> _apShiftY;
272  std::vector<int> _awShiftX;
273  std::vector<int> _awShiftY;
274  std::vector<int> _anShiftX;
275  std::vector<int> _anShiftY;
276 
278 
282  std::vector<double> _awWeights[9];
283 
284  int _nLoops ;
285  int _nInputImages ;
286  int _nOutputLists ;
287 
288  } ;
289 
290 } // end namespace luiza
291 #endif
292 
293 
294 
bool _usingObjectList
Flag indicating input method used.
Definition: WeightedAperturePhotometry.h:235
std::vector< float > _objectPositions
Object positions (two numbers, RA,DEC in degree, per object)
Definition: WeightedAperturePhotometry.h:225
virtual Processor * newProcessor()
Return a new instance of the processor.
Definition: WeightedAperturePhotometry.h:151
std::string _brightnessColumn
Name of the column to store object signal.
Definition: WeightedAperturePhotometry.h:221
namespace for data storing and exchange formats
Definition: GloriaAstrometry.h:15
std::vector< std::string > _positionColumns
Column names for corrected positions.
Definition: WeightedAperturePhotometry.h:242
bool _useTelescopeParameters
Use network configuration file to update processor parameters.
Definition: WeightedAperturePhotometry.h:232
float _apertureRadius
Radius of circular aperture used for signal counting in pixels.
Definition: WeightedAperturePhotometry.h:193
bool _correctPosition
Flag for calculating CoG position from pixels within aperture.
Definition: WeightedAperturePhotometry.h:239
std::vector< std::string > _copykey
Keywords of image fits header to copied to the table header.
Definition: WeightedAperturePhotometry.h:263
bool _addSpread
Flag for writing spread information to output table.
Definition: WeightedAperturePhotometry.h:251
string _noiseColumn
Column name for noise information.
Definition: WeightedAperturePhotometry.h:248
std::vector< std::string > _spreadColumns
Column names for spread information.
Definition: WeightedAperturePhotometry.h:254
Class for storing all data processed in Luiza.
Definition: GloriaDataContainer.h:82
int _frameDivision
Frame division for background calculation.
Definition: WeightedAperturePhotometry.h:208
Base class for Luiza processors.
Definition: Processor.h:55
int _interpolationOrder
Polinomial order used to interpolate background map.
Definition: WeightedAperturePhotometry.h:211
bool _removeEmpty
Flags if clusters with signal below SignalThreshold should be removed.
Definition: WeightedAperturePhotometry.h:217
bool _addNoise
Flag for writing noise information to output table.
Definition: WeightedAperturePhotometry.h:245
bool _permanentCollection
Flag the output collection to be permanent.
Definition: WeightedAperturePhotometry.h:189
string _imageCollectionName
Name of the image collection containing images.
Definition: WeightedAperturePhotometry.h:180
std::vector< int > _apShiftX
Pixel shifts for aperture definition (to speed up the code)
Definition: WeightedAperturePhotometry.h:270
std::vector< float > _annulusRadii
Inner and outer radius of the annulus used for background subtraction.
Definition: WeightedAperturePhotometry.h:196
Namespace for Luiza framework.
Definition: CCCollection.h:6
int _backgroundSampling
Background sampling factor.
Definition: WeightedAperturePhotometry.h:202
string _outputCollectionName
Name of the output object list collection.
Definition: WeightedAperturePhotometry.h:186
Processor to calculate aperture photometry on the CCD frame.
Definition: WeightedAperturePhotometry.h:147
bool _usingStatistics
Flag indicating calculation of statistics for pixel within aperture.
Definition: WeightedAperturePhotometry.h:266
double _signalThreshold
Threshold for the cluster signal (in units of noise level)
Definition: WeightedAperturePhotometry.h:214
bool _addShape
Flag for writing shape information to output table.
Definition: WeightedAperturePhotometry.h:257
string _listCollectionName
Name of the table collection containing object lists.
Definition: WeightedAperturePhotometry.h:183
std::vector< std::string > _shapeColumns
Column names for shape information.
Definition: WeightedAperturePhotometry.h:260