Alternaria
fit cylinders and ellipsoids to fungus
PSF Class Reference

Descretized point spread function. More...

#include <psf_model.h>

Inheritance diagram for PSF:
Collaboration diagram for PSF:

List of all members.

Public Member Functions

 PSF (const PSF_padding *padding)
 Constructs a PSF.
virtual ~PSF ()
 Deletes this PSF.
virtual PSFoperator= (const PSF &psf)
 Copies a PSF into this PSF.
const PSF_paddingget_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_paddingpadding
 Padding for convolution and FFT opertions.
jwsc::Matblock_f * h
 The discretized point-spread function.

Detailed Description

Descretized point spread function.

Definition at line 109 of file psf_model.h.


Constructor & Destructor Documentation

PSF::PSF ( const PSF_padding padding)

Constructs a PSF.

Initializes the padding to default values.

Parameters:
paddingPSF_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.


Member Function Documentation

PSF & PSF::operator= ( const PSF psf) [virtual]

Copies a PSF into this PSF.

Parameters:
psfPSF to copy.
Returns:
A reference to this PSF with psf copied into it.

Definition at line 159 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.

Parameters:
fname_fmtFile name format for the numbered images comprising the PSF. Use a printf style format with one integer conversion.
Exceptions:
jwscxx::base::IO_errorCould not write to one of the files.

Definition at line 176 of file psf_model.cpp.


Member Data Documentation

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.


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