|
SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
#include <FlexibleModelFittingTaskFactory.h>
Public Member Functions | |
| FlexibleModelFittingTaskFactory () | |
| virtual | ~FlexibleModelFittingTaskFactory ()=default |
| Destructor. More... | |
| std::shared_ptr< Task > | createTask (const PropertyId &property_id) const override |
| Returns a Task producing a Property corresponding to the given PropertyId. More... | |
| void | reportConfigDependencies (Euclid::Configuration::ConfigManager &manager) const override |
| Registers all the Configuration dependencies. More... | |
| void | configure (Euclid::Configuration::ConfigManager &manager) override |
| Method which should initialize the object. More... | |
| void | registerPropertyInstances (OutputRegistry &) override |
Public Member Functions inherited from SourceXtractor::TaskFactory | |
| virtual | ~TaskFactory ()=default |
| Destructor. More... | |
Public Member Functions inherited from SourceXtractor::Configurable | |
| virtual | ~Configurable ()=default |
| Destructor. More... | |
Private Attributes | |
| std::string | m_least_squares_engine |
| unsigned int | m_max_iterations {0} |
| double | m_modified_chi_squared_scale {10} |
| std::vector< std::shared_ptr< FlexibleModelFittingParameter > > | m_parameters |
| std::vector< std::shared_ptr< FlexibleModelFittingFrame > > | m_frames |
| std::vector< std::pair< std::string, std::vector< int > > > | m_outputs |
| std::vector< std::shared_ptr< FlexibleModelFittingPrior > > | m_priors |
| double | m_scale_factor {1.0} |
Definition at line 33 of file FlexibleModelFittingTaskFactory.h.
|
inline |
Definition at line 35 of file FlexibleModelFittingTaskFactory.h.
|
virtualdefault |
Destructor.
|
overridevirtual |
Method which should initialize the object.
The given manager is guaranteed to already be in the initialized state, so all the required Configurations can be accessed using its getConfiguration() method.
| manager | The manager to get the Configurations from |
Reimplemented from SourceXtractor::TaskFactory.
Definition at line 49 of file FlexibleModelFittingTaskFactory.cpp.
References Euclid::Configuration::ConfigManager::getConfiguration(), Elements::Logging::info(), SourceXtractor::logger, m_frames, m_least_squares_engine, m_max_iterations, m_modified_chi_squared_scale, m_outputs, m_parameters, m_priors, and m_scale_factor.
|
overridevirtual |
Returns a Task producing a Property corresponding to the given PropertyId.
Implements SourceXtractor::TaskFactory.
Definition at line 36 of file FlexibleModelFittingTaskFactory.cpp.
References m_frames, m_least_squares_engine, m_max_iterations, m_modified_chi_squared_scale, m_parameters, m_priors, and m_scale_factor.
|
overridevirtual |
Reimplemented from SourceXtractor::TaskFactory.
Definition at line 75 of file FlexibleModelFittingTaskFactory.cpp.
References m_outputs, std::vector< T >::push_back(), SourceXtractor::OutputRegistry::registerColumnConverter(), and std::vector< T >::size().
|
overridevirtual |
Registers all the Configuration dependencies.
Configurable implementations should implement this method to register to the given ConfigManager (using the registerConfiguration() method) all the Configurations they are going to use
| manager | The manager to register the dependencies to |
Reimplemented from SourceXtractor::TaskFactory.
Definition at line 45 of file FlexibleModelFittingTaskFactory.cpp.
References Euclid::Configuration::ConfigManager::registerConfiguration().
|
private |
Definition at line 53 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and createTask().
|
private |
Definition at line 48 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and createTask().
|
private |
Definition at line 49 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and createTask().
|
private |
Definition at line 50 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and createTask().
|
private |
Definition at line 54 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and registerPropertyInstances().
|
private |
Definition at line 52 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and createTask().
|
private |
Definition at line 55 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and createTask().
|
private |
Definition at line 57 of file FlexibleModelFittingTaskFactory.h.
Referenced by configure(), and createTask().
1.8.14