29 #ifndef SCIMATH_CONVOLVER_H
30 #define SCIMATH_CONVOLVER_H
329 #ifndef CASACORE_NO_AUTO_TEMPLATES
330 #include <casacore/scimath/Mathematics/Convolver.tcc>
331 #endif //# CASACORE_NO_AUTO_TEMPLATES
Array< typename NumericTraits< FType >::ConjugateType > theXfr
A Vector of integers, for indexing into Array<T> objects.
void resizeXfr(const IPosition &imageShape, Bool linear, Bool fullSize)
void makeXfr(const Array< FType > &psf, const IPosition &imageSize, Bool linear, Bool fullSize)
void circularConv(Array< FType > &result, const Array< FType > &model)
Perform circular convolution of the model with the previously specified psf.
void linearConv(Array< FType > &result, const Array< FType > &model, Bool fullSize=False)
Perform linear convolution of the model with the previously specified psf.
FFTServer< FType, typename NumericTraits< FType >::ConjugateType > theIFFT
Convolver()
When using the default constructor the psf MUST be specified using the setPsf function prior to doing...
~Convolver()
The destructor does nothing!
void setFastConvolve()
Set to use convolution with lesser flips.
const Array< FType > getPsf(Bool cachePsf=True)
Get the psf currently used by this convolver.
IPosition extractShape(IPosition &psfSize, const IPosition &imageSize)
Convolver< Double > DoubleConvolver
A class with methods for Fast Fourier Transforms.
IPosition defaultShape(const Array< FType > &psf)
FFTServer< FType, typename NumericTraits< FType >::ConjugateType > theFFT
bool Bool
Define the standard types used by Casacore.
void doConvolution(Array< FType > &result, const Array< FType > &model, Bool fullSize)
void setPsf(const Array< FType > &psf, Bool cachePsf=False)
Set the transfer function for future convolutions to psf.
void makePsf(Array< FType > &psf)
Convolver< FType > & operator=(const Convolver< FType > &other)
Convolver< Float > FloatConvolver
Typedefs.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.