SourceXtractorPlusPlus
0.10
Please provide a description of the project.
SEImplementation
SEImplementation
Configuration
DetectionImageConfig.h
Go to the documentation of this file.
1
23
#ifndef _SEIMPLEMENTATION_DETECTIONIMAGECONFIG_H
24
#define _SEIMPLEMENTATION_DETECTIONIMAGECONFIG_H
25
26
#include "
Configuration/Configuration.h
"
27
#include "
SEFramework/Image/Image.h
"
28
#include "
SEFramework/CoordinateSystem/CoordinateSystem.h
"
29
30
namespace
SourceXtractor
{
31
37
class
DetectionImageConfig
:
public
Euclid::Configuration::Configuration
{
38
public
:
39
43
virtual
~DetectionImageConfig
() =
default
;
44
46
DetectionImageConfig
(
long
manager_id);
47
48
std::map<std::string, Configuration::OptionDescriptionList>
getProgramOptions
()
override
;
49
50
void
initialize
(
const
UserValues
& args)
override
;
51
52
std::string
getDetectionImagePath
()
const
;
53
std::shared_ptr<DetectionImage>
getDetectionImage
()
const
;
54
std::shared_ptr<CoordinateSystem>
getCoordinateSystem
()
const
;
55
56
double
getGain
()
const
{
return
m_gain
; }
57
double
getSaturation
()
const
{
return
m_saturation
; }
58
int
getInterpolationGap
()
const
{
return
m_interpolation_gap
; }
59
60
61
// Note: flux scale is already applied to all values returned,
62
// we still need to know what it was to adjust the weight map
63
double
getOriginalFluxScale
()
const
{
return
m_flux_scale
; }
64
65
private
:
66
std::string
m_detection_image_path
;
67
std::shared_ptr<DetectionImage>
m_detection_image
;
68
std::shared_ptr<CoordinateSystem>
m_coordinate_system
;
69
double
m_gain
;
70
double
m_saturation
;
71
72
double
m_flux_scale
;
73
74
int
m_interpolation_gap
;
75
76
};
/* End of DetectionImageConfig class */
77
78
}
/* namespace SourceXtractor */
79
80
81
#endif
SourceXtractor::DetectionImageConfig::getSaturation
double getSaturation() const
Definition:
DetectionImageConfig.h:57
std::shared_ptr
STL class.
SourceXtractor::DetectionImageConfig::m_coordinate_system
std::shared_ptr< CoordinateSystem > m_coordinate_system
Definition:
DetectionImageConfig.h:68
SourceXtractor::DetectionImageConfig::m_detection_image_path
std::string m_detection_image_path
Definition:
DetectionImageConfig.h:66
Euclid::Configuration::Configuration
SourceXtractor::DetectionImageConfig
Provides the detection image.
Definition:
DetectionImageConfig.h:37
std::map
STL class.
SourceXtractor::DetectionImageConfig::getGain
double getGain() const
Definition:
DetectionImageConfig.h:56
std::string
STL class.
Image.h
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::DetectionImageConfig::getOriginalFluxScale
double getOriginalFluxScale() const
Definition:
DetectionImageConfig.h:63
SourceXtractor::DetectionImageConfig::getProgramOptions
std::map< std::string, Configuration::OptionDescriptionList > getProgramOptions() override
Definition:
DetectionImageConfig.cpp:48
SourceXtractor::DetectionImageConfig::~DetectionImageConfig
virtual ~DetectionImageConfig()=default
Destructor.
SourceXtractor::DetectionImageConfig::initialize
void initialize(const UserValues &args) override
Definition:
DetectionImageConfig.cpp:65
SourceXtractor::DetectionImageConfig::DetectionImageConfig
DetectionImageConfig(long manager_id)
Constructs a new DetectionImageConfig object.
Definition:
DetectionImageConfig.cpp:44
CoordinateSystem.h
SourceXtractor::DetectionImageConfig::getDetectionImage
std::shared_ptr< DetectionImage > getDetectionImage() const
Definition:
DetectionImageConfig.cpp:118
SourceXtractor::DetectionImageConfig::m_flux_scale
double m_flux_scale
Definition:
DetectionImageConfig.h:72
SourceXtractor::DetectionImageConfig::getCoordinateSystem
std::shared_ptr< CoordinateSystem > getCoordinateSystem() const
Definition:
DetectionImageConfig.cpp:125
SourceXtractor::DetectionImageConfig::getDetectionImagePath
std::string getDetectionImagePath() const
Definition:
DetectionImageConfig.cpp:114
SourceXtractor::DetectionImageConfig::m_saturation
double m_saturation
Definition:
DetectionImageConfig.h:70
Configuration.h
SourceXtractor::DetectionImageConfig::m_interpolation_gap
int m_interpolation_gap
Definition:
DetectionImageConfig.h:74
SourceXtractor::DetectionImageConfig::m_gain
double m_gain
Definition:
DetectionImageConfig.h:69
SourceXtractor::DetectionImageConfig::getInterpolationGap
int getInterpolationGap() const
Definition:
DetectionImageConfig.h:58
SourceXtractor::DetectionImageConfig::m_detection_image
std::shared_ptr< DetectionImage > m_detection_image
Definition:
DetectionImageConfig.h:67
Generated by
1.8.15