SourceXtractorPlusPlus
0.15
Please provide a description of the project.
|
#include <PsfPluginConfig.h>
Public Member Functions | |
virtual | ~PsfPluginConfig ()=default |
PsfPluginConfig (long manager_id) | |
std::map< std::string, OptionDescriptionList > | getProgramOptions () override |
void | preInitialize (const UserValues &args) override |
void | initialize (const UserValues &args) override |
const std::shared_ptr< Psf > & | getPsf () const |
![]() | |
Configuration (long manager_id) | |
virtual | ~Configuration ()=default |
virtual void | postInitialize (const UserValues &args) |
const std::set< std::type_index > & | getDependencies () |
State & | getCurrentState () |
State | getCurrentState () const |
Static Public Member Functions | |
static std::shared_ptr< Psf > | readPsf (const std::string &filename, int hdu_number=1) |
static std::shared_ptr< Psf > | generateGaussianPsf (SeFloat fwhm, SeFloat pixel_sampling) |
Private Attributes | |
std::shared_ptr< Psf > | m_vpsf |
Additional Inherited Members | |
![]() | |
enum | State { State::CONSTRUCTED, State::PRE_INITIALIZED, State::INITIALIZED, State::FINAL } |
typedef std::vector< boost::program_options::option_description > | OptionDescriptionList |
typedef std::map< std::string, boost::program_options::variable_value > | UserValues |
![]() | |
void | declareDependency () |
T & | getDependency () |
const T & | getDependency () const |
Definition at line 32 of file PsfPluginConfig.h.
|
virtualdefault |
|
inline |
Definition at line 36 of file PsfPluginConfig.h.
|
static |
Definition at line 190 of file PsfPluginConfig.cpp.
References SourceXtractor::VectorImage< T >::create(), std::exp(), SourceXtractor::logger, x, and y.
Referenced by initialize(), and TestImage::mainMethod().
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 218 of file PsfPluginConfig.cpp.
References std::string::c_str(), SourceXtractor::PSF_FILE, SourceXtractor::PSF_FWHM, and SourceXtractor::PSF_PIXEL_SAMPLING.
const std::shared_ptr< Psf > & SourceXtractor::PsfPluginConfig::getPsf | ( | ) | const |
Definition at line 246 of file PsfPluginConfig.cpp.
References m_vpsf.
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 237 of file PsfPluginConfig.cpp.
References std::map< K, T >::end(), std::map< K, T >::find(), generateGaussianPsf(), m_vpsf, SourceXtractor::PSF_FILE, SourceXtractor::PSF_FWHM, SourceXtractor::PSF_PIXEL_SAMPLING, and readPsf().
|
overridevirtual |
Reimplemented from Euclid::Configuration::Configuration.
Definition at line 229 of file PsfPluginConfig.cpp.
References std::map< K, T >::end(), std::map< K, T >::find(), SourceXtractor::PSF_FILE, SourceXtractor::PSF_FWHM, and SourceXtractor::PSF_PIXEL_SAMPLING.
|
static |
Reads a PSF from a fits file. The image must be square and have sides of odd number of pixels.
Definition at line 161 of file PsfPluginConfig.cpp.
References e, conf::filename, SourceXtractor::logger, SourceXtractor::readImage(), SourceXtractor::readPsfEx(), and SourceXtractor::readStackedPsf().
Referenced by SourceXtractor::PsfTaskFactory::configure(), initialize(), and TestImage::mainMethod().
|
private |
Definition at line 49 of file PsfPluginConfig.h.
Referenced by getPsf(), and initialize().