SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
MoffatModelFittingTask.h
Go to the documentation of this file.
1
17/*
18 * MoffatModelFittingTask.h
19 *
20 * Created on: May 2, 2017
21 * Author: mschefer
22 */
23
24#ifndef _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELFITTINGTASK_H_
25#define _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELFITTINGTASK_H_
26
28
30
31namespace SourceXtractor {
32
34
35public:
36 MoffatModelFittingTask(const std::string& least_squares_engine, unsigned int max_iterations)
37 : m_least_squares_engine(least_squares_engine), m_max_iterations(max_iterations) {}
38
39 virtual ~MoffatModelFittingTask() = default;
40
41 void computeProperties(SourceInterface& source) const override;
42
43private:
44
46 unsigned int m_max_iterations;
47};
48
49}
50
51#endif /* _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELFITTINGTASK_H_ */
MoffatModelFittingTask(const std::string &least_squares_engine, unsigned int max_iterations)
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
The SourceInterface is an abstract "source" that has properties attached to it.
A Task that acts on a Source to compute one or more properties.
Definition SourceTask.h:36