SourceXtractorPlusPlus  0.13
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SourceXtractor::PsfPluginConfig Class Reference

#include <PsfPluginConfig.h>

Inheritance diagram for SourceXtractor::PsfPluginConfig:
[legend]
Collaboration diagram for SourceXtractor::PsfPluginConfig:
[legend]

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
< VariablePsf > & 
getPsf () const
 

Static Public Member Functions

static std::shared_ptr
< VariablePsf
readPsf (const std::string &filename, int hdu_number=1)
 
static std::shared_ptr
< VariablePsf
generateGaussianPsf (SeFloat fwhm, SeFloat pixel_sampling)
 

Private Attributes

std::shared_ptr< VariablePsfm_vpsf
 

Detailed Description

Definition at line 33 of file PsfPluginConfig.h.

Constructor & Destructor Documentation

virtual SourceXtractor::PsfPluginConfig::~PsfPluginConfig ( )
virtualdefault
SourceXtractor::PsfPluginConfig::PsfPluginConfig ( long  manager_id)
inline

Definition at line 37 of file PsfPluginConfig.h.

Member Function Documentation

std::shared_ptr< VariablePsf > SourceXtractor::PsfPluginConfig::generateGaussianPsf ( SeFloat  fwhm,
SeFloat  pixel_sampling 
)
static

Definition at line 179 of file PsfPluginConfig.cpp.

References SourceXtractor::VectorImage< T >::create(), std::exp(), SourceXtractor::logger, x, and y.

Referenced by initialize(), and TestImage::mainMethod().

Here is the call graph for this function:

std::map< std::string, Configuration::OptionDescriptionList > SourceXtractor::PsfPluginConfig::getProgramOptions ( )
overridevirtual

Reimplemented from Euclid::Configuration::Configuration.

Definition at line 207 of file PsfPluginConfig.cpp.

References std::string::c_str(), SourceXtractor::PSF_FILE, SourceXtractor::PSF_FWHM, and SourceXtractor::PSF_PIXEL_SAMPLING.

Here is the call graph for this function:

const std::shared_ptr< VariablePsf > & SourceXtractor::PsfPluginConfig::getPsf ( ) const

Definition at line 235 of file PsfPluginConfig.cpp.

References m_vpsf.

void SourceXtractor::PsfPluginConfig::initialize ( const UserValues &  args)
overridevirtual

Reimplemented from Euclid::Configuration::Configuration.

Definition at line 226 of file PsfPluginConfig.cpp.

References generateGaussianPsf(), m_vpsf, SourceXtractor::PSF_FILE, SourceXtractor::PSF_FWHM, SourceXtractor::PSF_PIXEL_SAMPLING, and readPsf().

Here is the call graph for this function:

void SourceXtractor::PsfPluginConfig::preInitialize ( const UserValues &  args)
overridevirtual
std::shared_ptr< VariablePsf > SourceXtractor::PsfPluginConfig::readPsf ( const std::string filename,
int  hdu_number = 1 
)
static

Reads a PSF from a fits file. The image must be square and have sides of odd number of pixels.

Definition at line 154 of file PsfPluginConfig.cpp.

References e, Elements::Exception::message, SourceXtractor::readImage(), and SourceXtractor::readPsfEx().

Referenced by SourceXtractor::PsfTaskFactory::configure(), initialize(), and TestImage::mainMethod().

Here is the call graph for this function:

Member Data Documentation

std::shared_ptr<VariablePsf> SourceXtractor::PsfPluginConfig::m_vpsf
private

Definition at line 50 of file PsfPluginConfig.h.

Referenced by getPsf(), and initialize().


The documentation for this class was generated from the following files: