Alternaria
fit cylinders and ellipsoids to fungus
|
Descretized point spread function. More...
#include <psf_model.h>
Public Member Functions | |
PSF (const PSF_padding *padding) | |
Constructs a PSF. | |
virtual | ~PSF () |
Deletes this PSF. | |
virtual PSF & | operator= (const PSF &psf) |
Copies a PSF into this PSF. | |
const PSF_padding * | get_padding () const |
Returns the padding of this PSF. | |
const jwsc::Matblock_f * | get_h () const |
Returns the PSF::h. | |
virtual void | update_h (const Imaging_model *imaging)=0 |
Update this PSF::h. | |
void | write_h (const char *fname_fmt) const throw (jwscxx::base::IO_error) |
Writes the discretized point spread function PSF::h to a sequence of image files. | |
Protected Attributes | |
const PSF_padding * | padding |
Padding for convolution and FFT opertions. | |
jwsc::Matblock_f * | h |
The discretized point-spread function. |
Descretized point spread function.
Definition at line 109 of file psf_model.h.
PSF::PSF | ( | const PSF_padding * | padding | ) |
Constructs a PSF.
Initializes the padding to default values.
padding | PSF_padding to use. |
Definition at line 140 of file psf_model.cpp.
PSF::~PSF | ( | ) | [virtual] |
Deletes this PSF.
Frees dynamically allocated members.
Definition at line 148 of file psf_model.cpp.
const PSF_padding* PSF::get_padding | ( | ) | const [inline] |
Returns the padding of this PSF.
Definition at line 126 of file psf_model.h.
const jwsc::Matblock_f* PSF::get_h | ( | ) | const [inline] |
Returns the PSF::h.
Definition at line 130 of file psf_model.h.
virtual void PSF::update_h | ( | const Imaging_model * | imaging | ) | [pure virtual] |
Update this PSF::h.
Implemented in PSF_model, PSF_delta_model, and PSF_gauss_model.
void PSF::write_h | ( | const char * | fname_fmt | ) | const throw (jwscxx::base::IO_error) |
Writes the discretized point spread function PSF::h to a sequence of image files.
fname_fmt | File name format for the numbered images comprising the PSF. Use a printf style format with one integer conversion. |
jwscxx::base::IO_error | Could not write to one of the files. |
Definition at line 176 of file psf_model.cpp.
const PSF_padding* PSF::padding [protected] |
Padding for convolution and FFT opertions.
Definition at line 148 of file psf_model.h.
jwsc::Matblock_f* PSF::h [protected] |
The discretized point-spread function.
Definition at line 151 of file psf_model.h.