SourceXtractorPlusPlus  0.16
Please provide a description of the project.
FlexibleModelFittingTaskFactory.h
Go to the documentation of this file.
1 
17 /*
18  * FlexibleModelFittingTaskFactory.h
19  *
20  * Created on: Sep 17, 2018
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_FLEXIBLEMODELFITTING_FLEXIBLEMODELFITTINGTASKFACTORY_H_
25 #define _SEIMPLEMENTATION_PLUGIN_FLEXIBLEMODELFITTING_FLEXIBLEMODELFITTINGTASKFACTORY_H_
26 
28 
30 
31 namespace SourceXtractor {
32 
34 public:
36 
38  virtual ~FlexibleModelFittingTaskFactory() = default;
39 
40  // TaskFactory implementation
41  std::shared_ptr<Task> createTask(const PropertyId& property_id) const override;
42 
44  void configure(Euclid::Configuration::ConfigManager& manager) override;
46 
47 private:
49  unsigned int m_max_iterations {0};
51  bool m_use_iterative_fitting { true };
52  int m_meta_iterations { 3 };
53  double m_deblend_factor { 1.0 };
54  double m_meta_iteration_stop { 0.0001 };
55 
60 
61  double m_scale_factor {1.0};
62  double m_max_fit_size {100};
63 };
64 
65 }
66 
67 
68 
69 
70 #endif /* _SEIMPLEMENTATION_PLUGIN_FLEXIBLEMODELFITTING_FLEXIBLEMODELFITTINGTASKFACTORY_H_ */
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
virtual ~FlexibleModelFittingTaskFactory()=default
Destructor.
std::vector< std::shared_ptr< FlexibleModelFittingParameter > > m_parameters
std::vector< std::pair< std::string, std::vector< int > > > m_outputs
std::vector< std::shared_ptr< FlexibleModelFittingPrior > > m_priors
std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
std::vector< std::shared_ptr< FlexibleModelFittingFrame > > m_frames
Identifier used to set and retrieve properties.
Definition: PropertyId.h:40
Creates a Task for computing a given property.
Definition: TaskFactory.h:42