SourceXtractorPlusPlus
0.11
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/VariablePsf.h
>
29
#include "
SEImplementation/Image/ImagePsf.h
"
30
31
namespace
SourceXtractor
{
32
33
class
PsfPluginConfig
:
public
Euclid::Configuration::Configuration
{
34
public
:
35
virtual
~PsfPluginConfig
() =
default
;
36
37
PsfPluginConfig
(
long
manager_id):
Configuration
(manager_id) {}
38
39
std::map<std::string, OptionDescriptionList>
getProgramOptions
()
override
;
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);
47
static
std::shared_ptr<VariablePsf>
generateGaussianPsf
(
SeFloat
fwhm,
SeFloat
pixel_sampling);
48
49
private
:
50
std::shared_ptr<VariablePsf>
m_vpsf
;
51
};
52
53
}
// end SourceXtractor
54
55
#endif //_SEIMPLEMENTATION_PLUGIN_PSF_PSFCONFIG_H_
SourceXtractor::PsfPluginConfig::readPsf
static std::shared_ptr< VariablePsf > readPsf(const std::string &filename, int hdu_number=1)
Definition:
PsfPluginConfig.cpp:154
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::m_vpsf
std::shared_ptr< VariablePsf > m_vpsf
Definition:
PsfPluginConfig.h:50
Euclid::Configuration::Configuration::Configuration
Configuration(long manager_id)
SourceXtractor::PsfPluginConfig::~PsfPluginConfig
virtual ~PsfPluginConfig()=default
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::PsfPluginConfig::getProgramOptions
std::map< std::string, OptionDescriptionList > getProgramOptions() override
Definition:
PsfPluginConfig.cpp:207
SourceXtractor::PsfPluginConfig::PsfPluginConfig
PsfPluginConfig(long manager_id)
Definition:
PsfPluginConfig.h:37
SourceXtractor::PsfPluginConfig
Definition:
PsfPluginConfig.h:33
std::map
STL class.
Configuration.h
VariablePsf.h
SourceXtractor::PsfPluginConfig::initialize
void initialize(const UserValues &args) override
Definition:
PsfPluginConfig.cpp:226
Euclid::Configuration::Configuration
SourceXtractor::PsfPluginConfig::getPsf
const std::shared_ptr< VariablePsf > & getPsf() const
Definition:
PsfPluginConfig.cpp:235
Euclid::Configuration::Configuration::UserValues
std::map< std::string, boost::program_options::variable_value > UserValues
SourceXtractor::PsfPluginConfig::generateGaussianPsf
static std::shared_ptr< VariablePsf > generateGaussianPsf(SeFloat fwhm, SeFloat pixel_sampling)
Definition:
PsfPluginConfig.cpp:179
SourceXtractor::PsfPluginConfig::preInitialize
void preInitialize(const UserValues &args) override
Definition:
PsfPluginConfig.cpp:218
ImagePsf.h
Generated by
1.8.18