SourceXtractorPlusPlus  0.14
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetectionImageConfig.h
Go to the documentation of this file.
1 
23 #ifndef _SEIMPLEMENTATION_DETECTIONIMAGECONFIG_H
24 #define _SEIMPLEMENTATION_DETECTIONIMAGECONFIG_H
25 
30 
31 namespace SourceXtractor {
32 
39  public:
40 
44  virtual ~DetectionImageConfig() = default;
45 
47  DetectionImageConfig(long manager_id);
48 
50 
51  void initialize(const UserValues& args) override;
52 
56 
57  double getGain() const { return m_gain; }
58  double getSaturation() const { return m_saturation; }
59  int getInterpolationGap() const { return m_interpolation_gap; }
60 
61 
62  // Note: flux scale is already applied to all values returned,
63  // we still need to know what it was to adjust the weight map
64  double getOriginalFluxScale() const { return m_flux_scale; }
65 
66  // Get the detection image source
68  return m_image_source;
69  }
70 
71 private:
76  double m_gain;
77  double m_saturation;
78 
79  double m_flux_scale;
80 
82 
83 }; /* End of DetectionImageConfig class */
84 
85 } /* namespace SourceXtractor */
86 
87 
88 #endif
std::shared_ptr< CoordinateSystem > m_coordinate_system
std::shared_ptr< DetectionImage > getDetectionImage() const
std::shared_ptr< CoordinateSystem > getCoordinateSystem() const
Provides the detection image.
STL class.
std::shared_ptr< ImageSource > getImageSource()
STL class.
std::map< std::string, Configuration::OptionDescriptionList > getProgramOptions() override
virtual ~DetectionImageConfig()=default
Destructor.
void initialize(const UserValues &args) override
DetectionImageConfig(long manager_id)
Constructs a new DetectionImageConfig object.
std::shared_ptr< ImageSource > m_image_source
std::shared_ptr< DetectionImage > m_detection_image