SourceXtractorPlusPlus
0.10
Please provide a description of the project.
SEImplementation
SEImplementation
Grouping
MoffatCriteria.h
Go to the documentation of this file.
1
17
/*
18
* MoffatCritteria.h
19
*
20
* Created on: 2019 M01 25
21
* Author: mschefer
22
*/
23
24
#ifndef _SEIMPLEMENTATION_GROUPING_MOFFATCRITERIA_H_
25
#define _SEIMPLEMENTATION_GROUPING_MOFFATCRITERIA_H_
26
27
#include "
SEFramework/Pipeline/SourceGrouping.h
"
28
29
namespace
SourceXtractor
{
30
31
class
MoffatModelFitting;
32
39
class
MoffatCriteria
:
public
GroupingCriteria
{
40
public
:
41
42
MoffatCriteria
(
double
threshold,
double
max_distance) :
m_threshold
(threshold),
m_max_distance
(max_distance) {}
43
virtual
~MoffatCriteria
() {}
44
45
virtual
bool
shouldGroup
(
const
SourceInterface
&,
const
SourceInterface
&)
const override
;
46
47
private
:
48
bool
doesImpact
(
const
SourceInterface
& impactor,
const
SourceInterface
& impactee)
const
;
49
50
double
m_threshold
;
51
double
m_max_distance
;
52
};
53
54
}
/* namespace SourceXtractor */
55
56
#endif
/* _SEIMPLEMENTATION_GROUPING_MOFFATCRITERIA_H_ */
SourceXtractor::MoffatCriteria::m_max_distance
double m_max_distance
Definition:
MoffatCriteria.h:51
SourceGrouping.h
SourceXtractor::GroupingCriteria
Criteria used by SourceGrouping to determine if two sources should be grouped together.
Definition:
SourceGrouping.h:83
SourceXtractor::MoffatCriteria::~MoffatCriteria
virtual ~MoffatCriteria()
Definition:
MoffatCriteria.h:43
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::MoffatCriteria::MoffatCriteria
MoffatCriteria(double threshold, double max_distance)
Definition:
MoffatCriteria.h:42
SourceXtractor::MoffatCriteria::shouldGroup
virtual bool shouldGroup(const SourceInterface &, const SourceInterface &) const override
Determines if the two sources should be grouped together.
Definition:
MoffatCriteria.cpp:57
SourceXtractor::MoffatCriteria::m_threshold
double m_threshold
Definition:
MoffatCriteria.h:50
SourceXtractor::MoffatCriteria
Groups sources if their Moffat profile overlap.
Definition:
MoffatCriteria.h:39
SourceXtractor::SourceInterface
The SourceInterface is an abstract "source" that has properties attached to it.
Definition:
SourceInterface.h:46
SourceXtractor::MoffatCriteria::doesImpact
bool doesImpact(const SourceInterface &impactor, const SourceInterface &impactee) const
Definition:
MoffatCriteria.cpp:35
Generated by
1.8.17