SourceXtractorPlusPlus 0.21
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>
30#include <Configuration/Configuration.h>
31
32namespace SourceXtractor {
33
35
36public:
37
38 explicit ModelFittingConfig(long manager_id);
39
41
42 void initialize(const UserValues& args) override;
43
45
48
50
52
56
57 unsigned int getMaxIterations() const { return m_max_iterations; }
60 int getMetaIterations() const { return m_meta_iterations; }
61 double getDeblendFactor() const { return m_deblend_factor; }
63
64private:
66 unsigned int m_max_iterations {0};
70 double m_deblend_factor { 1.0 };
71 double m_meta_iteration_stop { 0.0001 };
72
78
81 void initializeInner();
82};
83
84}
85
86#endif // _SEIMPLEMENTATION_CONFIGURATION_MODELFITTINGCONFIG_H
87
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
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