A class to support FTMachines get their convolution Function. More...
#include <WPConvFunc.h>
Public Member Functions | |
WPConvFunc (const Double minW=-1.0, const Double maxW=-1.0, const Double rmsW=-1.0) | |
WPConvFunc (const RecordInterface &rec) | |
WPConvFunc (const WPConvFunc &other) | |
Copy constructor. | |
WPConvFunc & | operator= (const WPConvFunc &other) |
virtual | ~WPConvFunc () |
void | findConvFunction (const ImageInterface< Complex > &iimage, const vi::VisBuffer2 &vb, const Int &wConvSize, const Vector< Double > &uvScale, const Vector< Double > &uvOffset, const Float &padding, Int &convSampling, Cube< Complex > &convFunc, Int &convsize, Vector< Int > &convSupport, Double &wScale) |
Inputs are the image, visbuffer, wConvsize findconv return a cached convolution function appropriate for this visbuffer and number of w conv plane. | |
Bool | findSupport (Array< Complex > &, Float &, Int &, Int &) |
virtual Bool | makeAverageResponse (const vi::VisBuffer2 &, const ImageInterface< Complex > &, ImageInterface< Float > &, Bool) |
Bool | toRecord (RecordInterface &rec) |
Serialization. | |
Bool | fromRecord (String &err, const RecordInterface &rec) |
Private Member Functions | |
Bool | checkCenterPix (const ImageInterface< Complex > &image) |
Private Attributes | |
Block< CountedPtr< Cube < Complex > > > | convFunctions_p |
Block< CountedPtr< Vector< Int > > > | convSupportBlock_p |
SimpleOrderedMap< String, Int > | convFunctionMap_p |
Vector< Int > | convSizes_p |
Int | actualConvIndex_p |
Int | convSize_p |
Vector< Int > | convSupport_p |
Cube< Complex > | convFunc_p |
Double | wScaler_p |
Int | convSampling_p |
Int | nx_p |
Int | ny_p |
Double | minW_p |
Double | maxW_p |
Double | rmsW_p |
A class to support FTMachines get their convolution Function.
Public interface
WP for W-Projection ConvFunc => returns the convolution functions
FTMachines like WProjection and MosaicFT need convolution functions to deal with directional dependent issues..\. this class and related ones provide and cache such functions for re-use
Definition at line 61 of file WPConvFunc.h.
casa::refim::WPConvFunc::WPConvFunc | ( | const Double | minW = -1.0 , |
|
const Double | maxW = -1.0 , |
|||
const Double | rmsW = -1.0 | |||
) |
casa::refim::WPConvFunc::WPConvFunc | ( | const RecordInterface & | rec | ) |
casa::refim::WPConvFunc::WPConvFunc | ( | const WPConvFunc & | other | ) |
Copy constructor.
virtual casa::refim::WPConvFunc::~WPConvFunc | ( | ) | [virtual] |
Bool casa::refim::WPConvFunc::checkCenterPix | ( | const ImageInterface< Complex > & | image | ) | [private] |
void casa::refim::WPConvFunc::findConvFunction | ( | const ImageInterface< Complex > & | iimage, | |
const vi::VisBuffer2 & | vb, | |||
const Int & | wConvSize, | |||
const Vector< Double > & | uvScale, | |||
const Vector< Double > & | uvOffset, | |||
const Float & | padding, | |||
Int & | convSampling, | |||
Cube< Complex > & | convFunc, | |||
Int & | convsize, | |||
Vector< Int > & | convSupport, | |||
Double & | wScale | |||
) |
Inputs are the image, visbuffer, wConvsize findconv return a cached convolution function appropriate for this visbuffer and number of w conv plane.
Bool casa::refim::WPConvFunc::findSupport | ( | Array< Complex > & | , | |
Float & | , | |||
Int & | , | |||
Int & | ||||
) | [inline] |
Definition at line 89 of file WPConvFunc.h.
Bool casa::refim::WPConvFunc::fromRecord | ( | String & | err, | |
const RecordInterface & | rec | |||
) |
virtual Bool casa::refim::WPConvFunc::makeAverageResponse | ( | const vi::VisBuffer2 & | , | |
const ImageInterface< Complex > & | , | |||
ImageInterface< Float > & | , | |||
Bool | ||||
) | [inline, virtual] |
Definition at line 91 of file WPConvFunc.h.
WPConvFunc& casa::refim::WPConvFunc::operator= | ( | const WPConvFunc & | other | ) |
Bool casa::refim::WPConvFunc::toRecord | ( | RecordInterface & | rec | ) |
Serialization.
Int casa::refim::WPConvFunc::actualConvIndex_p [private] |
Definition at line 107 of file WPConvFunc.h.
Cube<Complex> casa::refim::WPConvFunc::convFunc_p [private] |
Definition at line 110 of file WPConvFunc.h.
SimpleOrderedMap<String, Int> casa::refim::WPConvFunc::convFunctionMap_p [private] |
Definition at line 104 of file WPConvFunc.h.
Block<CountedPtr<Cube<Complex> > > casa::refim::WPConvFunc::convFunctions_p [private] |
Definition at line 102 of file WPConvFunc.h.
Int casa::refim::WPConvFunc::convSampling_p [private] |
Definition at line 112 of file WPConvFunc.h.
Int casa::refim::WPConvFunc::convSize_p [private] |
Definition at line 108 of file WPConvFunc.h.
Vector<Int> casa::refim::WPConvFunc::convSizes_p [private] |
Definition at line 105 of file WPConvFunc.h.
Vector<Int> casa::refim::WPConvFunc::convSupport_p [private] |
Definition at line 109 of file WPConvFunc.h.
Block<CountedPtr<Vector<Int> > > casa::refim::WPConvFunc::convSupportBlock_p [private] |
Definition at line 103 of file WPConvFunc.h.
Double casa::refim::WPConvFunc::maxW_p [private] |
Definition at line 114 of file WPConvFunc.h.
Double casa::refim::WPConvFunc::minW_p [private] |
Definition at line 114 of file WPConvFunc.h.
Int casa::refim::WPConvFunc::nx_p [private] |
Definition at line 113 of file WPConvFunc.h.
Int casa::refim::WPConvFunc::ny_p [private] |
Definition at line 113 of file WPConvFunc.h.
Double casa::refim::WPConvFunc::rmsW_p [private] |
Definition at line 114 of file WPConvFunc.h.
Double casa::refim::WPConvFunc::wScaler_p [private] |
Definition at line 111 of file WPConvFunc.h.