SourceXtractorPlusPlus  0.11
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MultiframeModelFitting.h
Go to the documentation of this file.
1 
17 /*
18  * MultiframeModelFitting.h
19  *
20  * Created on: Sep 12, 2017
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_MULTIFRAMEMODELFITTING_MULTIFRAMEMODELFITTING_H_
25 #define _SEIMPLEMENTATION_PLUGIN_MULTIFRAMEMODELFITTING_MULTIFRAMEMODELFITTING_H_
26 
27 #include <vector>
28 
29 #include "SEUtils/Types.h"
31 
32 namespace SourceXtractor {
33 
35 public:
36 
37  virtual ~MultiframeModelFitting() = default;
38 
40  SeFloat x, SeFloat y,
41  SeFloat wc_alpha, SeFloat wc_delta,
42  SeFloat exp_radius, SeFloat dev_radius,
43  std::vector<double> fluxes, std::vector<double> exp_fluxes, std::vector<double> dev_fluxes,
44  unsigned int iterations, SeFloat chi_squared, unsigned int nframes) :
45  m_x(x),
46  m_y(y),
47  m_wc_alpha(wc_alpha),
48  m_wc_delta(wc_delta),
49  m_exp_radius(exp_radius),
50  m_dev_radius(dev_radius),
51  m_fluxes(fluxes),
52  m_exp_fluxes(exp_fluxes),
53  m_dev_fluxes(dev_fluxes),
54  m_iterations(iterations), m_frame_count(nframes),
55  m_chi_squared(chi_squared) {}
56 
57  SeFloat getX() const {
58  return m_x;
59  }
60 
61  SeFloat getY() const {
62  return m_y;
63  }
64 
65  SeFloat getAlpha() const {
66  return m_wc_alpha;
67  }
68 
69  SeFloat getDelta() const {
70  return m_wc_delta;
71  }
72 
74  return m_exp_radius;
75  }
76 
78  return m_dev_radius;
79  }
80 
81 // SeFloat getTotalFlux() const {
82 // return m_total_flux;
83 // }
84 
86  return m_fluxes;
87  }
88 
90  return m_exp_fluxes;
91  }
92 
94  return m_dev_fluxes;
95  }
96 
97  unsigned int getIterations() const {
98  return m_iterations;
99  }
100 
101  unsigned int getFrameCount() const {
102  return m_frame_count;
103  }
104 
106  return m_chi_squared;
107  }
108 
109 private:
111  SeFloat m_wc_alpha, m_wc_delta; // world coordinate position
113 
117 };
118 
119 }
120 
121 #endif /* _SEIMPLEMENTATION_PLUGIN_MULTIFRAMEMODELFITTING_MULTIFRAMEMODELFITTING_H_ */
std::vector< double > getExpFluxes() const
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
SeFloat32 SeFloat
Definition: Types.h:32
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
Base class for all Properties. (has no actual content)
Definition: Property.h:33
std::vector< double > getDevFluxes() const
std::vector< double > getFluxes() const
MultiframeModelFitting(SeFloat x, SeFloat y, SeFloat wc_alpha, SeFloat wc_delta, SeFloat exp_radius, SeFloat dev_radius, std::vector< double > fluxes, std::vector< double > exp_fluxes, std::vector< double > dev_fluxes, unsigned int iterations, SeFloat chi_squared, unsigned int nframes)