SourceXtractorPlusPlus  0.16
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 
28 #include <SEFramework/Psf/Psf.h>
29 
30 namespace SourceXtractor {
31 
33 public:
34  virtual ~PsfPluginConfig() = default;
35 
36  explicit PsfPluginConfig(long manager_id): Configuration(manager_id) {}
37 
39 
40  void preInitialize(const UserValues& args) override;
41  void initialize(const UserValues& args) override;
42 
43  const std::shared_ptr<Psf>& getPsf() const;
44 
45  static std::shared_ptr<Psf> readPsf(const std::string &filename, int hdu_number = 1);
46  static std::shared_ptr<Psf> generateGaussianPsf(SeFloat fwhm, SeFloat pixel_sampling);
47 
48 private:
50 };
51 
52 } // end SourceXtractor
53 
54 #endif //_SEIMPLEMENTATION_PLUGIN_PSF_PSFCONFIG_H_
std::map< std::string, boost::program_options::variable_value > UserValues
std::map< std::string, OptionDescriptionList > getProgramOptions() override
std::shared_ptr< Psf > m_vpsf
void initialize(const UserValues &args) override
static std::shared_ptr< Psf > readPsf(const std::string &filename, int hdu_number=1)
const std::shared_ptr< Psf > & getPsf() const
virtual ~PsfPluginConfig()=default
static std::shared_ptr< Psf > generateGaussianPsf(SeFloat fwhm, SeFloat pixel_sampling)
void preInitialize(const UserValues &args) override
SeFloat32 SeFloat
Definition: Types.h:32
string filename
Definition: conf.py:63