SourceXtractorPlusPlus
0.10
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
Plugin
AperturePhotometry
AperturePhotometryTaskFactory.h
Go to the documentation of this file.
1
17
/*
18
* AperturePhotometryTaskFactory.h
19
*
20
* Created on: Sep 23, 2016
21
* Author: mschefer
22
*/
23
24
#ifndef _SEIMPLEMENTATION_PLUGIN_APERTUREPHOTOMETRY_APERTUREPHOTOMETRYTASKFACTORY_H_
25
#define _SEIMPLEMENTATION_PLUGIN_APERTUREPHOTOMETRY_APERTUREPHOTOMETRYTASKFACTORY_H_
26
27
#include "
SEFramework/Task/TaskFactory.h
"
28
#include "
SEUtils/Types.h
"
29
30
namespace
SourceXtractor {
31
48
class
AperturePhotometryTaskFactory
:
public
TaskFactory
{
49
public
:
50
AperturePhotometryTaskFactory
() :
m_magnitude_zero_point
(0),
m_symmetry_usage
(true) {}
51
53
virtual
~AperturePhotometryTaskFactory
() =
default
;
54
55
void
reportConfigDependencies
(
Euclid::Configuration::ConfigManager
&manager)
const override
;
56
57
void
configure
(
Euclid::Configuration::ConfigManager
&manager)
override
;
58
59
virtual
std::shared_ptr<Task>
createTask
(
const
PropertyId
&property_id)
const override
;
60
61
void
registerPropertyInstances
(
OutputRegistry
&)
override
;
62
63
private
:
64
SeFloat
m_magnitude_zero_point
;
65
bool
m_symmetry_usage
;
66
67
// Apertures for a given image ID
68
std::map<unsigned, std::vector<float>
>
m_aperture_config
;
69
// All configured apertures (required to be able to flag on the detection image)
70
std::vector<float>
m_all_apertures
;
71
72
std::map<unsigned, std::string>
m_col_prefix
;
73
std::map<unsigned, std::vector<unsigned>
>
m_apertures_per_output
;
74
};
75
76
}
77
78
#endif
/* _SEIMPLEMENTATION_PLUGIN_APERTUREPHOTOMETRY_APERTUREPHOTOMETRYTASKFACTORY_H_ */
std::shared_ptr
SourceXtractor::AperturePhotometryTaskFactory::m_apertures_per_output
std::map< unsigned, std::vector< unsigned > > m_apertures_per_output
Definition:
AperturePhotometryTaskFactory.h:73
Types.h
SourceXtractor::AperturePhotometryTaskFactory::createTask
virtual std::shared_ptr< Task > createTask(const PropertyId &property_id) const override
Returns a Task producing a Property corresponding to the given PropertyId.
Definition:
AperturePhotometryTaskFactory.cpp:43
SourceXtractor::OutputRegistry
Definition:
OutputRegistry.h:36
SourceXtractor::AperturePhotometryTaskFactory::configure
void configure(Euclid::Configuration::ConfigManager &manager) override
Method which should initialize the object.
Definition:
AperturePhotometryTaskFactory.cpp:95
SourceXtractor::AperturePhotometryTaskFactory::~AperturePhotometryTaskFactory
virtual ~AperturePhotometryTaskFactory()=default
Destructor.
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition:
Types.h:32
SourceXtractor::AperturePhotometryTaskFactory::m_all_apertures
std::vector< float > m_all_apertures
Definition:
AperturePhotometryTaskFactory.h:70
std::map
STL class.
SourceXtractor::AperturePhotometryTaskFactory
Definition:
AperturePhotometryTaskFactory.h:48
SourceXtractor::AperturePhotometryTaskFactory::m_symmetry_usage
bool m_symmetry_usage
Definition:
AperturePhotometryTaskFactory.h:65
SourceXtractor::AperturePhotometryTaskFactory::AperturePhotometryTaskFactory
AperturePhotometryTaskFactory()
Definition:
AperturePhotometryTaskFactory.h:50
SourceXtractor::AperturePhotometryTaskFactory::reportConfigDependencies
void reportConfigDependencies(Euclid::Configuration::ConfigManager &manager) const override
Registers all the Configuration dependencies.
Definition:
AperturePhotometryTaskFactory.cpp:88
Euclid::Configuration::ConfigManager
SourceXtractor::TaskFactory
Creates a Task for computing a given property.
Definition:
TaskFactory.h:42
SourceXtractor::AperturePhotometryTaskFactory::m_aperture_config
std::map< unsigned, std::vector< float > > m_aperture_config
Definition:
AperturePhotometryTaskFactory.h:68
std::vector< float >
SourceXtractor::PropertyId
Identifier used to set and retrieve properties.
Definition:
PropertyId.h:40
SourceXtractor::AperturePhotometryTaskFactory::m_col_prefix
std::map< unsigned, std::string > m_col_prefix
Definition:
AperturePhotometryTaskFactory.h:72
TaskFactory.h
SourceXtractor::AperturePhotometryTaskFactory::m_magnitude_zero_point
SeFloat m_magnitude_zero_point
Definition:
AperturePhotometryTaskFactory.h:64
SourceXtractor::AperturePhotometryTaskFactory::registerPropertyInstances
void registerPropertyInstances(OutputRegistry &) override
Definition:
AperturePhotometryTaskFactory.cpp:64
Generated by
1.8.5