SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
GrowthCurveTaskFactory.cpp
Go to the documentation of this file.
1
26
27namespace SourceXtractor {
28
30 if (property_id.getTypeId() == typeid(GrowthCurve)) {
32 }
33 else if (property_id.getTypeId() == typeid(GrowthCurveResampled)) {
35 }
36 return nullptr;
37}
38
40 manager.registerConfiguration<GrowthCurveConfig>();
41 manager.registerConfiguration<WeightImageConfig>();
42 manager.registerConfiguration<MeasurementImageConfig>();
43}
44
46 m_nsamples = manager.getConfiguration<GrowthCurveConfig>().m_nsamples;
47 m_use_symmetry = manager.getConfiguration<WeightImageConfig>().symmetryUsage();
48
49 auto& measurement_config = manager.getConfiguration<MeasurementImageConfig>();
50 const auto& image_infos = measurement_config.getImageInfos();
51
53
54 for (size_t i = 0; i < image_infos.size(); ++i) {
56 }
57}
58
59} // end of namespace SourceXtractor
std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
Identifier used to set and retrieve properties.
Definition PropertyId.h:40
T push_back(T... args)