SourceXtractorPlusPlus
0.16
Please provide a description of the project.
SEImplementation
SEImplementation
Plugin
Psf
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
27
#include <
Configuration/Configuration.h
>
28
#include <
SEFramework/Psf/Psf.h
>
29
30
namespace
SourceXtractor
{
31
32
class
PsfPluginConfig
:
public
Euclid::Configuration::Configuration
{
33
public
:
34
virtual
~PsfPluginConfig
() =
default
;
35
36
explicit
PsfPluginConfig
(
long
manager_id):
Configuration
(manager_id) {}
37
38
std::map<std::string, OptionDescriptionList>
getProgramOptions
()
override
;
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
:
49
std::shared_ptr<Psf>
m_vpsf
;
50
};
51
52
}
// end SourceXtractor
53
54
#endif
//_SEIMPLEMENTATION_PLUGIN_PSF_PSFCONFIG_H_
Configuration.h
Psf.h
std::string
Euclid::Configuration::Configuration
Euclid::Configuration::Configuration::UserValues
std::map< std::string, boost::program_options::variable_value > UserValues
SourceXtractor::PsfPluginConfig
Definition:
PsfPluginConfig.h:32
SourceXtractor::PsfPluginConfig::getProgramOptions
std::map< std::string, OptionDescriptionList > getProgramOptions() override
Definition:
PsfPluginConfig.cpp:218
SourceXtractor::PsfPluginConfig::m_vpsf
std::shared_ptr< Psf > m_vpsf
Definition:
PsfPluginConfig.h:49
SourceXtractor::PsfPluginConfig::PsfPluginConfig
PsfPluginConfig(long manager_id)
Definition:
PsfPluginConfig.h:36
SourceXtractor::PsfPluginConfig::initialize
void initialize(const UserValues &args) override
Definition:
PsfPluginConfig.cpp:237
SourceXtractor::PsfPluginConfig::readPsf
static std::shared_ptr< Psf > readPsf(const std::string &filename, int hdu_number=1)
Definition:
PsfPluginConfig.cpp:161
SourceXtractor::PsfPluginConfig::getPsf
const std::shared_ptr< Psf > & getPsf() const
Definition:
PsfPluginConfig.cpp:246
SourceXtractor::PsfPluginConfig::~PsfPluginConfig
virtual ~PsfPluginConfig()=default
SourceXtractor::PsfPluginConfig::generateGaussianPsf
static std::shared_ptr< Psf > generateGaussianPsf(SeFloat fwhm, SeFloat pixel_sampling)
Definition:
PsfPluginConfig.cpp:190
SourceXtractor::PsfPluginConfig::preInitialize
void preInitialize(const UserValues &args) override
Definition:
PsfPluginConfig.cpp:229
std::map
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition:
Types.h:32
conf.filename
string filename
Definition:
conf.py:63
std::shared_ptr
Generated by
1.9.1