SourceXtractorPlusPlus  0.11
Please provide a description of the project.
PsfPluginConfig.h
Go to the documentation of this file.
1 
17 /*
18  * PsfPluginConfig.h
19  *
20  * Created on: Jun 25, 2018
21  * Author: Alejandro Álvarez Ayllón
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_PSF_PSFCONFIG_H_
25 #define _SEIMPLEMENTATION_PLUGIN_PSF_PSFCONFIG_H_
26 
30 
31 namespace SourceXtractor {
32 
34 public:
35  virtual ~PsfPluginConfig() = default;
36 
37  PsfPluginConfig(long manager_id): Configuration(manager_id) {}
38 
40 
41  void preInitialize(const UserValues& args) override;
42  void initialize(const UserValues& args) override;
43 
44  const std::shared_ptr<VariablePsf>& getPsf() const;
45 
46  static std::shared_ptr<VariablePsf> readPsf(const std::string &filename, int hdu_number = 1);
48 
49 private:
51 };
52 
53 } // end SourceXtractor
54 
55 #endif //_SEIMPLEMENTATION_PLUGIN_PSF_PSFCONFIG_H_
std::map< std::string, OptionDescriptionList > getProgramOptions() override
void initialize(const UserValues &args) override
const std::shared_ptr< VariablePsf > & getPsf() const
SeFloat32 SeFloat
Definition: Types.h:32
STL class.
STL class.
void preInitialize(const UserValues &args) override
string filename
Definition: conf.py:63
virtual ~PsfPluginConfig()=default
static std::shared_ptr< VariablePsf > generateGaussianPsf(SeFloat fwhm, SeFloat pixel_sampling)
static std::shared_ptr< VariablePsf > readPsf(const std::string &filename, int hdu_number=1)
std::shared_ptr< VariablePsf > m_vpsf
std::map< std::string, boost::program_options::variable_value > UserValues