SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
MoffatCriteria.h
Go to the documentation of this file.
1
17/*
18 * MoffatCritteria.h
19 *
20 * Created on: 2019 M01 25
21 * Author: mschefer
22 */
23
24#ifndef _SEIMPLEMENTATION_GROUPING_MOFFATCRITERIA_H_
25#define _SEIMPLEMENTATION_GROUPING_MOFFATCRITERIA_H_
26
28
29namespace SourceXtractor {
30
31class MoffatModelFitting;
32
40public:
41
43 virtual ~MoffatCriteria() {}
44
45 bool shouldGroup(const SourceInterface&, const SourceInterface&) const override;
46
48
49private:
51
54};
55
56} /* namespace SourceXtractor */
57
58#endif /* _SEIMPLEMENTATION_GROUPING_MOFFATCRITERIA_H_ */
Criteria used by SourceGrouping to determine if two sources should be grouped together.
Groups sources if their Moffat profile overlap.
bool shouldGroup(const SourceInterface &, const SourceInterface &) const override
Determines if the two sources should be grouped together.
bool doesImpact(const SourceInterface &impactor, const SourceInterface &impactee) const
std::set< PropertyId > requiredProperties() const override
Return a set of used properties so they can be pre-fetched.
MoffatCriteria(double threshold, double max_distance)
The SourceInterface is an abstract "source" that has properties attached to it.