SourceXtractorPlusPlus  0.15
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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  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, OptionDescriptionList > getProgramOptions() override
static std::shared_ptr< Psf > readPsf(const std::string &filename, int hdu_number=1)
void initialize(const UserValues &args) override
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
std::shared_ptr< Psf > m_vpsf
static std::shared_ptr< Psf > generateGaussianPsf(SeFloat fwhm, SeFloat pixel_sampling)
const std::shared_ptr< Psf > & getPsf() const