Luiza  v03-01
Astrometry.h
1 // -*- mode: c++; mode: auto-fill; mode: flyspell-prog; -*-
2 
3 #ifndef Astrometry_h
4 #define Astrometry_h 1
5 
6 #include "luiza/Processor.h"
7 #include "GloriaAstrometry.h"
8 
9 using namespace gloria;
10 
11 namespace luiza {
12 
13 
15 
115  class Astrometry : public Processor {
116 
117  public:
118 
119  virtual Processor* newProcessor() { return new Astrometry; }
120 
121 
122  Astrometry();
123 
127  virtual void init();
128 
131  virtual void processData( GloriaDataContainer* data );
132 
133 
134  virtual void check( GloriaDataContainer* data );
135 
136 
139  virtual void end();
140 
141 
142  protected:
143 
145  void printEndMessage() const ;
146 
150  int GetAstrometricIndexesForImage(char**, GloriaFitsImage*);
151 
154 
155  string _listCollectionName;
156 
158  std::vector<std::string> _positionColumns;
159 
161  std::string _brightnessColumn;
162 
165 
167  double _PixscaleHigh;
169  double _PixscaleLow;
170 
173 
176 
179 
182 
185 
188 
191 
194 
196  bool overwrite;
197 
200 
201 
204 
205  int _nLoops ;
206  int _nInputImages ;
207  int _nOutputLists ;
208 
209  } ;
210 
211 } // end namespace luiza
212 
213 extern "C"{
214 int main1(leblind_struct *lestr);
215 }
216 
217 #endif
218 
219 
220 
double _PixscaleLow
Lower boundary of possible pixel sizes in arcseconds.
Definition: Astrometry.h:169
std::vector< std::string > _positionColumns
Names of the position columns in the object table.
Definition: Astrometry.h:158
namespace for data storing and exchange formats
Definition: GloriaAstrometry.h:15
float _bloomingCut
Minimum distance between objects along vertical or horizontal line.
Definition: Astrometry.h:187
int verbosity
Verbosity of astrometry.net output.
Definition: Astrometry.h:190
int astrodepth
Depth limit for astrometry.net algorithm.
Definition: Astrometry.h:175
Class for storing all data processed in Luiza.
Definition: GloriaDataContainer.h:82
Base class for Luiza processors.
Definition: Processor.h:55
int astroorder
Order of the SIP polynomial in astrometry fit.
Definition: Astrometry.h:178
bool addposition
Add object positions to the object list table.
Definition: Astrometry.h:199
float _minDistance
Minimum distance between two objects to be used in astrometry algorithm.
Definition: Astrometry.h:184
bool _magnitudoGiven
Flag for brightness given in magintudo.
Definition: Astrometry.h:164
double _PixscaleHigh
Upper boundary of possible pixel sizes in arcseconds.
Definition: Astrometry.h:167
bool inparallel
Solve using indexes parallely or not.
Definition: Astrometry.h:193
Processor implementing Astrometry.net algorithms.
Definition: Astrometry.h:115
int _maxObjects
Maximum number of objects to be used in astrometry algorithm.
Definition: Astrometry.h:181
Namespace for Luiza framework.
Definition: CCCollection.h:6
Class for reading and processing fits images in Luiza.
Definition: GloriaFitsImage.h:43
string _Indexes_path
Path to astrometric (astrometry.net) indexes files.
Definition: Astrometry.h:172
bool overwrite
Recalculate and overwrite astrometry if exists in a file.
Definition: Astrometry.h:196
std::string _brightnessColumn
Name of the object brightness column.
Definition: Astrometry.h:161
bool addtoheader
Add astrometry output to the object list table header.
Definition: Astrometry.h:203
string _imageCollectionName
Name of the image collection containing images to be added.
Definition: Astrometry.h:153
virtual Processor * newProcessor()
Return a new instance of the processor.
Definition: Astrometry.h:119