SourceXtractorPlusPlus
0.15
Please provide a description of the project.
|
#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 |
![]() | |
virtual | ~Psf ()=default |
Private Member Functions | |
void | setup (std::shared_ptr< CCfits::FITS > pFits) |
void | selfTest () |
Private Attributes | |
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< int > | m_gridx_values |
std::vector< int > | m_gridy_values |
std::vector< std::string > | m_components = {"X_IMAGE", "Y_IMAGE"} |
Definition at line 43 of file VariablePsfStack.h.
|
inline |
Constructor
Definition at line 48 of file VariablePsfStack.h.
References 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(), m_grid_offset, m_gridx_values, m_gridy_values, 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 e, 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 108 of file VariablePsfStack.h.
Referenced by getComponents().
|
private |
Definition at line 102 of file VariablePsfStack.h.
Referenced by setup().
|
private |
Definition at line 95 of file VariablePsfStack.h.
Referenced by getPsf(), selfTest(), and setup().
|
private |
Definition at line 105 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 99 of file VariablePsfStack.h.
|
private |
Definition at line 92 of file VariablePsfStack.h.
Referenced by getPsf(), and selfTest().
|
private |
Definition at line 94 of file VariablePsfStack.h.
Referenced by getHeight(), getPsf(), getWidth(), and setup().
|
private |
Definition at line 101 of file VariablePsfStack.h.
Referenced by setup().
|
private |
Definition at line 103 of file VariablePsfStack.h.
|
private |
Definition at line 104 of file VariablePsfStack.h.
|
private |
Definition at line 97 of file VariablePsfStack.h.
Referenced by getPixelSampling(), and setup().