|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
Groups sources if their Moffat profile overlap. More...
#include <MoffatCriteria.h>


Public Member Functions | |
| MoffatCriteria (double threshold, double max_distance) | |
| virtual | ~MoffatCriteria () |
| bool | shouldGroup (const SourceInterface &, const SourceInterface &) const override |
| Determines if the two sources should be grouped together. | |
| std::set< PropertyId > | requiredProperties () const override |
| Return a set of used properties so they can be pre-fetched. | |
| Public Member Functions inherited from SourceXtractor::GroupingCriteria | |
| virtual | ~GroupingCriteria ()=default |
| Destructor. | |
Private Member Functions | |
| bool | doesImpact (const SourceInterface &impactor, const SourceInterface &impactee) const |
Private Attributes | |
| double | m_threshold |
| double | m_max_distance |
Groups sources if their Moffat profile overlap.
Definition at line 39 of file MoffatCriteria.h.
|
inline |
Definition at line 42 of file MoffatCriteria.h.
References m_max_distance, and m_threshold.
|
inlinevirtual |
Definition at line 43 of file MoffatCriteria.h.
|
private |
Definition at line 35 of file MoffatCriteria.cpp.
References SourceXtractor::PixelCentroid::getCentroidX(), SourceXtractor::PixelCentroid::getCentroidY(), SourceXtractor::SourceInterface::getProperty(), m_max_distance, and m_threshold.
Referenced by shouldGroup().

|
overridevirtual |
Return a set of used properties so they can be pre-fetched.
Reimplemented from SourceXtractor::GroupingCriteria.
Definition at line 61 of file MoffatCriteria.cpp.
References SourceXtractor::PropertyId::create().

|
overridevirtual |
Determines if the two sources should be grouped together.
Implements SourceXtractor::GroupingCriteria.
Definition at line 57 of file MoffatCriteria.cpp.
References doesImpact().

|
private |
Definition at line 53 of file MoffatCriteria.h.
Referenced by doesImpact(), and MoffatCriteria().
|
private |
Definition at line 52 of file MoffatCriteria.h.
Referenced by doesImpact(), and MoffatCriteria().