|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
#include <VariablePsfStack.h>


Public Member Functions | |
| VariablePsfStack (std::shared_ptr< CCfits::FITS > pFits) | |
| virtual | ~VariablePsfStack ()=default |
| int | getWidth () const |
| int | getHeight () const |
| double | getPixelSampling () const |
| const std::vector< std::string > & | getComponents () const |
| virtual std::shared_ptr< VectorImage< SeFloat > > | getPsf (const std::vector< double > &values) const |
| Public Member Functions inherited from SourceXtractor::Psf | |
| virtual | ~Psf ()=default |
Private Member Functions | |
| void | setup (std::shared_ptr< CCfits::FITS > pFits) |
| void | selfTest () |
Private Attributes | |
| std::mutex | m_mutex |
| std::shared_ptr< CCfits::FITS > | m_pFits |
| int | m_psf_size |
| int | m_grid_offset |
| double | mm_pixel_sampling |
| long | m_nrows |
| std::vector< SeFloat > | m_ra_values |
| std::vector< SeFloat > | m_dec_values |
| std::vector< SeFloat > | m_x_values |
| std::vector< SeFloat > | m_y_values |
| std::vector< double > | m_gridx_values |
| std::vector< double > | m_gridy_values |
| std::vector< std::string > | m_components = {"X_IMAGE", "Y_IMAGE"} |
Definition at line 43 of file VariablePsfStack.h.
|
inlineexplicit |
Constructor
Definition at line 48 of file VariablePsfStack.h.
References m_pFits, m_psf_size, mm_pixel_sampling, selfTest(), and setup().

|
virtualdefault |
Destructor
|
inlinevirtual |
Implements SourceXtractor::Psf.
Definition at line 82 of file VariablePsfStack.h.
References m_components.
|
inlinevirtual |
Implements SourceXtractor::Psf.
Definition at line 68 of file VariablePsfStack.h.
References m_psf_size.
|
inlinevirtual |
Implements SourceXtractor::Psf.
Definition at line 75 of file VariablePsfStack.h.
References mm_pixel_sampling.
|
virtual |
Reconstructs a PSF based on the given values for each of the components.
| values | Component values. Note that they have to be in the same order (and as many) as components were passed to the constructor (none for constant PSF). |
| If | the number of values does not match the number of components |
Implements SourceXtractor::Psf.
Definition at line 118 of file VariablePsfStack.cpp.
References std::begin(), SourceXtractor::VectorImage< T >::create(), std::end(), std::lock(), m_grid_offset, m_gridx_values, m_gridy_values, m_mutex, m_nrows, m_pFits, m_psf_size, m_x_values, m_y_values, std::vector< T >::size(), std::sqrt(), and stack_logger.

|
inlinevirtual |
Implements SourceXtractor::Psf.
Definition at line 61 of file VariablePsfStack.h.
References m_psf_size.
|
private |
Definition at line 94 of file VariablePsfStack.cpp.
References std::begin(), std::end(), m_grid_offset, m_gridx_values, m_gridy_values, m_pFits, and std::minmax_element().
Referenced by VariablePsfStack().

|
private |
Definition at line 32 of file VariablePsfStack.cpp.
References m_dec_values, m_grid_offset, m_gridx_values, m_gridy_values, m_nrows, m_psf_size, m_ra_values, m_x_values, m_y_values, mm_pixel_sampling, and stack_logger.
Referenced by VariablePsfStack().
|
private |
Definition at line 109 of file VariablePsfStack.h.
Referenced by getComponents().
|
private |
Definition at line 103 of file VariablePsfStack.h.
Referenced by setup().
|
private |
Definition at line 96 of file VariablePsfStack.h.
Referenced by getPsf(), selfTest(), and setup().
|
private |
Definition at line 106 of file VariablePsfStack.h.
Referenced by getPsf(), selfTest(), and setup().
|
private |
Definition at line 107 of file VariablePsfStack.h.
Referenced by getPsf(), selfTest(), and setup().
|
mutableprivate |
Definition at line 92 of file VariablePsfStack.h.
Referenced by getPsf().
|
private |
Definition at line 100 of file VariablePsfStack.h.
|
private |
Definition at line 93 of file VariablePsfStack.h.
Referenced by getPsf(), selfTest(), and VariablePsfStack().
|
private |
Definition at line 95 of file VariablePsfStack.h.
Referenced by getHeight(), getPsf(), getWidth(), setup(), and VariablePsfStack().
|
private |
Definition at line 102 of file VariablePsfStack.h.
Referenced by setup().
|
private |
Definition at line 104 of file VariablePsfStack.h.
|
private |
Definition at line 105 of file VariablePsfStack.h.
|
private |
Definition at line 98 of file VariablePsfStack.h.
Referenced by getPixelSampling(), setup(), and VariablePsfStack().