SourceXtractorPlusPlus  0.15
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  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_
SourceXtractor::PsfPluginConfig::m_vpsf
std::shared_ptr< Psf > m_vpsf
Definition: PsfPluginConfig.h:49
std::string
STL class.
std::shared_ptr
STL class.
conf.filename
string filename
Definition: conf.py:63
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition: Types.h:32
SourceXtractor::PsfPluginConfig::generateGaussianPsf
static std::shared_ptr< Psf > generateGaussianPsf(SeFloat fwhm, SeFloat pixel_sampling)
Definition: PsfPluginConfig.cpp:190
SourceXtractor::PsfPluginConfig::getPsf
const std::shared_ptr< Psf > & getPsf() const
Definition: PsfPluginConfig.cpp:246
SourceXtractor::PsfPluginConfig::~PsfPluginConfig
virtual ~PsfPluginConfig()=default
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::PsfPluginConfig::getProgramOptions
std::map< std::string, OptionDescriptionList > getProgramOptions() override
Definition: PsfPluginConfig.cpp:218
SourceXtractor::PsfPluginConfig::PsfPluginConfig
PsfPluginConfig(long manager_id)
Definition: PsfPluginConfig.h:36
Psf.h
SourceXtractor::PsfPluginConfig
Definition: PsfPluginConfig.h:32
std::map
STL class.
SourceXtractor::PsfPluginConfig::readPsf
static std::shared_ptr< Psf > readPsf(const std::string &filename, int hdu_number=1)
Definition: PsfPluginConfig.cpp:161
Configuration.h
SourceXtractor::PsfPluginConfig::initialize
void initialize(const UserValues &args) override
Definition: PsfPluginConfig.cpp:237
Euclid::Configuration::Configuration
Euclid::Configuration::Configuration::UserValues
std::map< std::string, boost::program_options::variable_value > UserValues
SourceXtractor::PsfPluginConfig::preInitialize
void preInitialize(const UserValues &args) override
Definition: PsfPluginConfig.cpp:229