SourceXtractorPlusPlus
0.13
Please provide a description of the project.
|
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. More... | |
std::set< PropertyId > | requiredProperties () const override |
Return a set of used properties so they can be pre-fetched. More... | |
![]() | |
virtual | ~GroupingCriteria ()=default |
Destructor. More... | |
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.
|
inlinevirtual |
Definition at line 43 of file MoffatCriteria.h.
|
private |
Definition at line 35 of file MoffatCriteria.cpp.
References dx, dy, SourceXtractor::PixelCentroid::getCentroidX(), SourceXtractor::PixelCentroid::getCentroidY(), and SourceXtractor::SourceInterface::getProperty().
|
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.
|
overridevirtual |
Determines if the two sources should be grouped together.
Implements SourceXtractor::GroupingCriteria.
Definition at line 57 of file MoffatCriteria.cpp.
|
private |
Definition at line 53 of file MoffatCriteria.h.
|
private |
Definition at line 52 of file MoffatCriteria.h.