SourceXtractorPlusPlus
0.12
Please provide a description of the project.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SEImplementation
SEImplementation
Deblending
Cleaning.h
Go to the documentation of this file.
1
17
/*
18
* Cleaning.h
19
*
20
* Created on: 2018 M12 18
21
* Author: mschefer
22
*/
23
24
#ifndef _SEIMPLEMENTATION_DEBLENDING_CLEANING_H_
25
#define _SEIMPLEMENTATION_DEBLENDING_CLEANING_H_
26
27
#include "
SEUtils/Types.h
"
28
#include "
SEFramework/Pipeline/Deblending.h
"
29
#include "
SEFramework/Source/SourceInterface.h
"
30
#include "
SEFramework/Source/SourceGroupInterface.h
"
31
#include "
SEFramework/Source/SourceFactory.h
"
32
33
namespace
SourceXtractor {
34
35
class
MoffatModelFitting;
36
37
class
Cleaning
:
public
DeblendStep
{
38
39
public
:
40
Cleaning
(
std::shared_ptr<SourceFactory>
source_factory,
unsigned
int
min_area) :
41
m_source_factory
(source_factory),
m_min_area
(min_area) {}
42
virtual
~Cleaning
() {}
43
44
void
deblend
(
SourceGroupInterface
& group)
const override
;
45
46
private
:
47
bool
shouldClean
(
SourceInterface
& source,
SourceGroupInterface
& group)
const
;
48
SourceGroupInterface::iterator
findMostInfluentialSource
(
49
SourceInterface
& source,
const
std::vector<SourceGroupInterface::iterator>
& candidates)
const
;
50
51
std::shared_ptr<SourceInterface>
mergeSources
(
SourceInterface
& parent,
52
const
std::vector<SourceGroupInterface::iterator>
children)
const
;
53
54
std::shared_ptr<SourceFactory>
m_source_factory
;
55
unsigned
int
m_min_area
;
56
};
57
58
}
59
60
61
#endif
/* _SEIMPLEMENTATION_DEBLENDING_CLEANING_H_ */
SourceXtractor::Cleaning::m_source_factory
std::shared_ptr< SourceFactory > m_source_factory
Definition:
Cleaning.h:54
std::shared_ptr< SourceFactory >
Types.h
SourceXtractor::SourceGroupInterface::iterator
std::list< SourceWrapper >::iterator iterator
Definition:
SourceGroupInterface.h:81
SourceXtractor::Cleaning::mergeSources
std::shared_ptr< SourceInterface > mergeSources(SourceInterface &parent, const std::vector< SourceGroupInterface::iterator > children) const
Definition:
Cleaning.cpp:147
SourceXtractor::Cleaning::Cleaning
Cleaning(std::shared_ptr< SourceFactory > source_factory, unsigned int min_area)
Definition:
Cleaning.h:40
SourceXtractor::Cleaning::shouldClean
bool shouldClean(SourceInterface &source, SourceGroupInterface &group) const
Definition:
Cleaning.cpp:89
SourceGroupInterface.h
SourceXtractor::DeblendStep
An action to be applied to a SourceGroup for deblending its sources.
Definition:
Deblending.h:37
SourceXtractor::Cleaning::m_min_area
unsigned int m_min_area
Definition:
Cleaning.h:55
SourceXtractor::Cleaning
Definition:
Cleaning.h:37
SourceXtractor::Cleaning::~Cleaning
virtual ~Cleaning()
Definition:
Cleaning.h:42
Deblending.h
SourceInterface.h
SourceXtractor::SourceGroupInterface
Defines the interface used to group sources.
Definition:
SourceGroupInterface.h:37
std::vector
STL class.
SourceFactory.h
SourceXtractor::Cleaning::deblend
void deblend(SourceGroupInterface &group) const override
Definition:
Cleaning.cpp:45
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition:
SourceInterface.h:46
SourceXtractor::Cleaning::findMostInfluentialSource
SourceGroupInterface::iterator findMostInfluentialSource(SourceInterface &source, const std::vector< SourceGroupInterface::iterator > &candidates) const
Definition:
Cleaning.cpp:120
Generated by
1.8.5