Luiza  v03-01
CalibrateFrameObjects.h
1 // -*- mode: c++; mode: auto-fill; mode: flyspell-prog; -*-
2 
3 #ifndef CalibrateFrameObjects_h
4 #define CalibrateFrameObjects_h 1
5 
6 #include "luiza/Processor.h"
7 
8 using namespace gloria;
9 
10 namespace luiza {
11 
12 
14 
145 
146  public:
147 
148  virtual Processor* newProcessor() { return new CalibrateFrameObjects ; }
149 
150 
152 
156  virtual void init() ;
157 
159 
161  virtual void startAnalysis( GloriaDataContainer* data ) ;
162 
165  virtual void processData( GloriaDataContainer* data ) ;
166 
167 
168  virtual void check( GloriaDataContainer* data ) ;
169 
170 
172 
173  virtual void concludeAnalysis( GloriaDataContainer* data ) ;
174 
177  virtual void end() ;
178 
179 
180  protected:
181 
183  void printEndMessage() const ;
184 
187 
190 
193 
196 
199 
202 
205 
208 
209 
212 
214  std::vector<std::string> _positionColumns;
215 
216 
218  std::string _brightnessColumn;
219 
220 
223 
226 
227 
229  vector<float> _referenceMagRange;
230 
232 
236 
239 
242 
245 
247  vector<int> _inputImageSize;
248 
249 
251  vector<std::string> _outputColumnNames;
252 
253  int _nLoops ;
254  int _nInputLists ;
255  int _nObjectsMatched;
256 
257  } ;
258 
259 } // end namespace luiza
260 #endif
261 
262 
263 
string _calibrationMapCollection
Name of the table collection to store calibration correction map.
Definition: CalibrateFrameObjects.h:207
string _outputCollectionName
Name of the output table collection, with calibration results.
Definition: CalibrateFrameObjects.h:192
virtual Processor * newProcessor()
Return a new instance of the processor.
Definition: CalibrateFrameObjects.h:148
namespace for data storing and exchange formats
Definition: GloriaAstrometry.h:15
vector< int > _inputImageSize
Size of the image corresponding to the analysed object list (for map definition)
Definition: CalibrateFrameObjects.h:247
string _referenceMagColumn
Name of the column containing reference magnitudo.
Definition: CalibrateFrameObjects.h:225
string _skyCatalogName
Name of the collection containing sky catalog to be matched.
Definition: CalibrateFrameObjects.h:189
std::vector< std::string > _positionColumns
Names of the position columns in the table.
Definition: CalibrateFrameObjects.h:214
Class for storing all data processed in Luiza.
Definition: GloriaDataContainer.h:82
Processor to normalize brightness measurements on the whole frame.
Definition: CalibrateFrameObjects.h:144
bool _magnitudoGiven
Flag for brightness given in magintudo.
Definition: CalibrateFrameObjects.h:222
Base class for Luiza processors.
Definition: Processor.h:55
string _calibrationImageCollection
Name of the image collection to store calibration correction image.
Definition: CalibrateFrameObjects.h:201
vector< float > _referenceMagRange
Magnitudo range for reference stars used for calibration.
Definition: CalibrateFrameObjects.h:229
int _interpolationOrder
Polinomial order used to interpolate calibration map.
Definition: CalibrateFrameObjects.h:244
string _inputImageCollection
Name of the input image collection - just to get size of images.
Definition: CalibrateFrameObjects.h:198
bool _autoAdjustDivision
Flag to allow automatic adjustment of map binning for too few entries.
Definition: CalibrateFrameObjects.h:238
int _frameDivision
Frame division for calibration map calculation.
Definition: CalibrateFrameObjects.h:235
Namespace for Luiza framework.
Definition: CCCollection.h:6
string _errorImageCollection
Name of the image collection to store calibration uncertainty image.
Definition: CalibrateFrameObjects.h:204
int _correctionFitOrder
Order of the polynomial fit of correction dependence on position.
Definition: CalibrateFrameObjects.h:241
double _matchingTolerance
Position matching tolerance for object and reference stars.
Definition: CalibrateFrameObjects.h:211
vector< std::string > _outputColumnNames
Names of columns for calibrated magnitudo and estimated uncertainty.
Definition: CalibrateFrameObjects.h:251
std::string _brightnessColumn
Name of the object brightness column.
Definition: CalibrateFrameObjects.h:218
string _inputCollectionName
Name of the collection containing object lists.
Definition: CalibrateFrameObjects.h:186
bool _permanentCollection
Flag the output collection to be permanent.
Definition: CalibrateFrameObjects.h:195