SourceXtractorPlusPlus
0.10
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 |
![]() | |
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 |
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(), std::vector< T >::size(), and SourceXtractor::SourceGroupInterface::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().
|
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 55 of file Cleaning.h.
Referenced by shouldClean().
|
private |
Definition at line 54 of file Cleaning.h.
Referenced by mergeSources().