SourceXtractorPlusPlus
0.16
Please provide a description of the project.
|
#include <Cleaning.h>
Public Member Functions | |
Cleaning (std::shared_ptr< SourceFactory > source_factory, unsigned int min_area) | |
virtual | ~Cleaning () |
void | deblend (SourceGroupInterface &group) const override |
Performs the DeblendStep on the SourceGroup. More... | |
std::set< PropertyId > | requiredProperties () const override |
Returns properties used by the deblend step. More... | |
![]() | |
virtual | ~DeblendStep ()=default |
Destructor. More... | |
Private Member Functions | |
bool | shouldClean (SourceInterface &source, SourceGroupInterface &group) const |
SourceGroupInterface::iterator | findMostInfluentialSource (SourceInterface &source, const std::vector< SourceGroupInterface::iterator > &candidates) const |
std::shared_ptr< SourceInterface > | mergeSources (SourceInterface &parent, const std::vector< SourceGroupInterface::iterator > children) const |
Private Attributes | |
std::shared_ptr< SourceFactory > | m_source_factory |
unsigned int | m_min_area |
Definition at line 37 of file Cleaning.h.
|
inline |
Definition at line 40 of file Cleaning.h.
|
inlinevirtual |
Definition at line 42 of file Cleaning.h.
|
overridevirtual |
Performs the DeblendStep on the SourceGroup.
Implements SourceXtractor::DeblendStep.
Definition at line 45 of file Cleaning.cpp.
References SourceXtractor::SourceGroupInterface::addSource(), SourceXtractor::SourceGroupInterface::begin(), SourceXtractor::SourceGroupInterface::end(), findMostInfluentialSource(), mergeSources(), std::vector< T >::push_back(), SourceXtractor::SourceGroupInterface::removeSource(), shouldClean(), SourceXtractor::SourceGroupInterface::size(), and std::vector< T >::size().
|
private |
Definition at line 120 of file Cleaning.cpp.
References SourceXtractor::SourceInterface::getProperty(), SourceXtractor::MoffatModelEvaluator::getValue(), and std::vector< T >::size().
Referenced by deblend().
|
private |
Definition at line 147 of file Cleaning.cpp.
References SourceXtractor::SourceInterface::getProperty(), and m_source_factory.
Referenced by deblend().
|
overridevirtual |
Returns properties used by the deblend step.
Reimplemented from SourceXtractor::DeblendStep.
Definition at line 168 of file Cleaning.cpp.
|
private |
Definition at line 89 of file Cleaning.cpp.
References SourceXtractor::SourceGroupInterface::begin(), SourceXtractor::SourceGroupInterface::end(), SourceXtractor::SourceInterface::getProperty(), SourceXtractor::MoffatModelEvaluator::getValue(), and m_min_area.
Referenced by deblend().
|
private |
Definition at line 57 of file Cleaning.h.
Referenced by shouldClean().
|
private |
Definition at line 56 of file Cleaning.h.
Referenced by mergeSources().