SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
ModelFittingConfig.h
Go to the documentation of this file.
1
17/*
18 * @file ModelFittingConfig.h
19 * @author Nikolaos Apostolakos <nikoapos@gmail.com>
20 */
21
22#ifndef _SEIMPLEMENTATION_CONFIGURATION_MODELFITTINGCONFIG_H
23#define _SEIMPLEMENTATION_CONFIGURATION_MODELFITTINGCONFIG_H
24
25#include <vector>
26
31
33
34#include <Configuration/Configuration.h>
35
36namespace SourceXtractor {
37
39
40public:
41
42 explicit ModelFittingConfig(long manager_id);
43
45
46 void initialize(const UserValues& args) override;
47
49
52
54
56
60
61 unsigned int getMaxIterations() const { return m_max_iterations; }
64 int getMetaIterations() const { return m_meta_iterations; }
65 double getDeblendFactor() const { return m_deblend_factor; }
68 double getEllipseScale() const { return m_ellipse_scale; }
69
70private:
72 unsigned int m_max_iterations {0};
76 double m_deblend_factor { 1.0 };
77 double m_meta_iteration_stop { 0.0001 };
80 double m_ellipse_scale { 3.0 };
81
87
90 void initializeInner();
91};
92
93}
94
95#endif // _SEIMPLEMENTATION_CONFIGURATION_MODELFITTINGCONFIG_H
96
std::map< std::string, boost::program_options::variable_value > UserValues
const std::vector< std::pair< std::string, std::vector< int > > > & getOutputs() const
std::map< int, std::shared_ptr< FlexibleModelFittingParameter > > m_parameters
const std::vector< std::shared_ptr< FlexibleModelFittingFrame > > & getFrames() const
const std::map< int, std::shared_ptr< FlexibleModelFittingModel > > & getModels() const
const std::map< int, std::shared_ptr< FlexibleModelFittingPrior > > & getPriors() const
const std::map< int, std::shared_ptr< FlexibleModelFittingParameter > > & getParameters() const
std::map< int, std::shared_ptr< FlexibleModelFittingPrior > > m_priors
std::map< int, std::shared_ptr< FlexibleModelFittingModel > > m_models
FlexibleModelFittingIterativeTask::WindowType getWindowType() const
std::vector< std::pair< std::string, std::vector< int > > > m_outputs
void initialize(const UserValues &args) override
std::vector< std::shared_ptr< FlexibleModelFittingFrame > > m_frames
FlexibleModelFittingIterativeTask::WindowType m_window_type