SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SourceXtractor::Cleaning Class Reference

#include <Cleaning.h>

Inheritance diagram for SourceXtractor::Cleaning:
[legend]
Collaboration diagram for SourceXtractor::Cleaning:
[legend]

Public Member Functions

 Cleaning (std::shared_ptr< SourceFactory > source_factory, unsigned int min_area)
 
virtual ~Cleaning ()
 
void deblend (SourceGroupInterface &group) const override
 
- Public Member Functions inherited from SourceXtractor::DeblendStep
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< SourceInterfacemergeSources (SourceInterface &parent, const std::vector< SourceGroupInterface::iterator > children) const
 

Private Attributes

std::shared_ptr< SourceFactorym_source_factory
 
unsigned int m_min_area
 

Detailed Description

Definition at line 37 of file Cleaning.h.

Constructor & Destructor Documentation

SourceXtractor::Cleaning::Cleaning ( std::shared_ptr< SourceFactory source_factory,
unsigned int  min_area 
)
inline

Definition at line 40 of file Cleaning.h.

virtual SourceXtractor::Cleaning::~Cleaning ( )
inlinevirtual

Definition at line 42 of file Cleaning.h.

Member Function Documentation

void SourceXtractor::Cleaning::deblend ( SourceGroupInterface group) const
overridevirtual
SourceGroupInterface::iterator SourceXtractor::Cleaning::findMostInfluentialSource ( SourceInterface source,
const std::vector< SourceGroupInterface::iterator > &  candidates 
) const
private

Definition at line 120 of file Cleaning.cpp.

References SourceXtractor::SourceInterface::getProperty(), SourceXtractor::MoffatModelEvaluator::getValue(), and std::vector< T >::size().

Referenced by deblend().

Here is the call graph for this function:

std::shared_ptr< SourceInterface > SourceXtractor::Cleaning::mergeSources ( SourceInterface parent,
const std::vector< SourceGroupInterface::iterator children 
) const
private

Definition at line 147 of file Cleaning.cpp.

References SourceXtractor::SourceInterface::getProperty(), and m_source_factory.

Referenced by deblend().

Here is the call graph for this function:

bool SourceXtractor::Cleaning::shouldClean ( SourceInterface source,
SourceGroupInterface group 
) const
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().

Here is the call graph for this function:

Member Data Documentation

unsigned int SourceXtractor::Cleaning::m_min_area
private

Definition at line 55 of file Cleaning.h.

Referenced by shouldClean().

std::shared_ptr<SourceFactory> SourceXtractor::Cleaning::m_source_factory
private

Definition at line 54 of file Cleaning.h.

Referenced by mergeSources().


The documentation for this class was generated from the following files: