SourceXtractorPlusPlus
0.16
Please provide a description of the project.
|
#include <FrameModel.h>
Public Member Functions | |
FrameModelPsfContextContainer (std::size_t n_extended_models) | |
FrameModelPsfContextContainer (PsfType psf, std::size_t n_extended_models) | |
template<typename... Args> | |
void | convolve (size_t i, Args &&... args) |
Private Attributes | |
std::vector< typename PsfTraits< PsfType >::context_t > | m_psf_contexts |
Adapter class for PSF types that have the concept of a context: values that can be computed only once (see prepare method on PSF types)
PsfType | The wrapped PSF type |
Definition at line 82 of file FrameModel.h.
ModelFitting::FrameModelPsfContextContainer< PsfType >::FrameModelPsfContextContainer | ( | std::size_t | n_extended_models | ) |
Constructor
n_extended_models | Only extended models are convolved. Allocate4 enough space for this number of contexts. |
ModelFitting::FrameModelPsfContextContainer< PsfType >::FrameModelPsfContextContainer | ( | PsfType | psf, |
std::size_t | n_extended_models | ||
) |
Constructor
psf | Wrapped PSF |
n_extended_models | Only extended models are convolved. Allocate4 enough space for this number of contexts. |
|
inline |
Wrap the call to the underlying PSF prepare/convolve methods
ImageType | The type of the image to be convolved. It has to be readable/writable |
i | The index of the model, which is used to retrieve the associated context |
image | The image to convolve |
Definition at line 111 of file FrameModel.h.
References ModelFitting::FrameModelPsfContextContainer< PsfType >::m_psf_contexts, and std::move().
|
private |
Definition at line 121 of file FrameModel.h.
Referenced by ModelFitting::FrameModelPsfContextContainer< PsfType >::convolve().