gastro  0.1.0
 All Classes Files Functions Variables Pages
distortionmodel.h
1 #ifndef DISTORTIONSMODEL__H
2 #define DISTORTIONSMODEL__H
3 
4 #include "eigenstuff.h"
5 #include "mapping.h"
6 
7 class CcdImage;
8 class Gtransfo;
9 
11 /* For an implementation example, see SimplePolyModel, and the comments at
12 the top of simplepolymodel.h */
14 {
15 public :
16 
18  virtual const Mapping* GetMapping(const CcdImage &) const = 0;
19 
21  virtual unsigned AssignIndices(unsigned FirstIndex, std::string &WhatToFit) = 0;
22 
24 
26  virtual void OffsetParams(const Eigen::VectorXd &Delta) = 0;
27 
29 
31  virtual const Gtransfo* Sky2TP(const Mapping* M, const CcdImage &C) const = 0;
32 
33 };
34 
35 
36 
37 
38 #endif /*DISTORTIONSMODEL__H */
virtual class needed in the abstraction of the distortion model
Definition: mapping.h:13
handler of an actual image from a single CCD
Definition: ccdimage.h:21
Interface class between AstromFit and an actual model for the Mapping (s) from pixels to some tangent...
Definition: distortionmodel.h:13
virtual unsigned AssignIndices(unsigned FirstIndex, std::string &WhatToFit)=0
Assign indices to parameters involved in mappings, starting at FirstIndex. Returns the highest assign...
virtual const Mapping * GetMapping(const CcdImage &) const =0
Mapping associated to a given CcdImage.
virtual void OffsetParams(const Eigen::VectorXd &Delta)=0
Offset the parameters by the provided amounts.
virtual const Gtransfo * Sky2TP(const Mapping *M, const CcdImage &C) const =0
The transformation used to project the positions of FittedStars.