casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casa::refim::WPConvFunc Class Reference

A class to support FTMachines get their convolution casacore::Function. More...

#include <WPConvFunc.h>

Public Member Functions

 WPConvFunc (const casacore::Double minW=-1.0, const casacore::Double maxW=-1.0, const casacore::Double rmsW=-1.0)
 
 WPConvFunc (const casacore::RecordInterface &rec)
 
 WPConvFunc (const WPConvFunc &other)
 Copy constructor. More...
 
WPConvFuncoperator= (const WPConvFunc &other)
 
virtual ~WPConvFunc ()
 
void findConvFunction (const casacore::ImageInterface< casacore::Complex > &iimage, const vi::VisBuffer2 &vb, const casacore::Int &wConvSize, const casacore::Vector< casacore::Double > &uvScale, const casacore::Vector< casacore::Double > &uvOffset, const casacore::Float &padding, casacore::Int &convSampling, casacore::Cube< casacore::Complex > &convFunc, casacore::Int &convsize, casacore::Vector< casacore::Int > &convSupport, casacore::Double &wScale)
 Inputs are the image, visbuffer, wConvsize findconv return a cached convolution function appropriate for this visbuffer and number of w conv plane. More...
 
casacore::Bool findSupport (casacore::Array< casacore::Complex > &, casacore::Float &, casacore::Int &, casacore::Int &)
 
virtual casacore::Bool makeAverageResponse (const vi::VisBuffer2 &, const casacore::ImageInterface< casacore::Complex > &, casacore::ImageInterface< casacore::Float > &, casacore::Bool)
 
casacore::Bool toRecord (casacore::RecordInterface &rec)
 Serialization. More...
 
casacore::Bool fromRecord (casacore::String &err, const casacore::RecordInterface &rec)
 

Private Member Functions

casacore::Bool checkCenterPix (const casacore::ImageInterface< casacore::Complex > &image)
 
void makeGWplane (casacore::Matrix< casacore::Complex > &screen, const casacore::Int iw, casacore::Double s0, casacore::Double s1, casacore::Float *&wsaveptr, casacore::Int &lsav, casacore::Int &inner, casacore::Complex *&cor, casacore::Double &cpWscale)
 

Private Attributes

casacore::Block
< casacore::CountedPtr
< casacore::Cube
< casacore::Complex > > > 
convFunctions_p
 
casacore::Block
< casacore::CountedPtr
< casacore::Vector
< casacore::Int > > > 
convSupportBlock_p
 
std::map< casacore::String,
casacore::Int
convFunctionMap_p
 
casacore::Vector< casacore::IntconvSizes_p
 
casacore::Int actualConvIndex_p
 
casacore::Int convSize_p
 
casacore::Vector< casacore::IntconvSupport_p
 
casacore::Cube< casacore::Complex > convFunc_p
 
casacore::Double wScaler_p
 
casacore::Int convSampling_p
 
casacore::Int nx_p
 
casacore::Int ny_p
 
casacore::Double minW_p
 
casacore::Double maxW_p
 
casacore::Double rmsW_p
 

Detailed Description

A class to support FTMachines get their convolution casacore::Function.

Intended use:

Public interface

Prerequisite

Etymology

WP for W-casacore::Projection ConvFunc => returns the convolution functions

Synopsis

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 65 of file WPConvFunc.h.

Constructor & Destructor Documentation

casa::refim::WPConvFunc::WPConvFunc ( const casacore::Double  minW = -1.0,
const casacore::Double  maxW = -1.0,
const casacore::Double  rmsW = -1.0 
)
casa::refim::WPConvFunc::WPConvFunc ( const casacore::RecordInterface rec)
casa::refim::WPConvFunc::WPConvFunc ( const WPConvFunc other)

Copy constructor.

virtual casa::refim::WPConvFunc::~WPConvFunc ( )
virtual

Member Function Documentation

casacore::Bool casa::refim::WPConvFunc::checkCenterPix ( const casacore::ImageInterface< casacore::Complex > &  image)
private
void casa::refim::WPConvFunc::findConvFunction ( const casacore::ImageInterface< casacore::Complex > &  iimage,
const vi::VisBuffer2 vb,
const casacore::Int wConvSize,
const casacore::Vector< casacore::Double > &  uvScale,
const casacore::Vector< casacore::Double > &  uvOffset,
const casacore::Float padding,
casacore::Int convSampling,
casacore::Cube< casacore::Complex > &  convFunc,
casacore::Int convsize,
casacore::Vector< casacore::Int > &  convSupport,
casacore::Double wScale 
)

Inputs are the image, visbuffer, wConvsize findconv return a cached convolution function appropriate for this visbuffer and number of w conv plane.

casacore::Bool casa::refim::WPConvFunc::findSupport ( casacore::Array< casacore::Complex > &  ,
casacore::Float ,
casacore::Int ,
casacore::Int  
)
inline

Definition at line 93 of file WPConvFunc.h.

casacore::Bool casa::refim::WPConvFunc::fromRecord ( casacore::String err,
const casacore::RecordInterface rec 
)
virtual casacore::Bool casa::refim::WPConvFunc::makeAverageResponse ( const vi::VisBuffer2 ,
const casacore::ImageInterface< casacore::Complex > &  ,
casacore::ImageInterface< casacore::Float > &  ,
casacore::Bool   
)
inlinevirtual

Definition at line 95 of file WPConvFunc.h.

void casa::refim::WPConvFunc::makeGWplane ( casacore::Matrix< casacore::Complex > &  screen,
const casacore::Int  iw,
casacore::Double  s0,
casacore::Double  s1,
casacore::Float *&  wsaveptr,
casacore::Int lsav,
casacore::Int inner,
casacore::Complex *&  cor,
casacore::Double cpWscale 
)
private
WPConvFunc& casa::refim::WPConvFunc::operator= ( const WPConvFunc other)
casacore::Bool casa::refim::WPConvFunc::toRecord ( casacore::RecordInterface rec)

Serialization.

Member Data Documentation

casacore::Int casa::refim::WPConvFunc::actualConvIndex_p
private

Definition at line 112 of file WPConvFunc.h.

casacore::Cube<casacore::Complex> casa::refim::WPConvFunc::convFunc_p
private

Definition at line 115 of file WPConvFunc.h.

std::map<casacore::String, casacore::Int> casa::refim::WPConvFunc::convFunctionMap_p
private

Definition at line 109 of file WPConvFunc.h.

casacore::Block<casacore::CountedPtr<casacore::Cube<casacore::Complex> > > casa::refim::WPConvFunc::convFunctions_p
private

Definition at line 107 of file WPConvFunc.h.

casacore::Int casa::refim::WPConvFunc::convSampling_p
private

Definition at line 117 of file WPConvFunc.h.

casacore::Int casa::refim::WPConvFunc::convSize_p
private

Definition at line 113 of file WPConvFunc.h.

casacore::Vector<casacore::Int> casa::refim::WPConvFunc::convSizes_p
private

Definition at line 110 of file WPConvFunc.h.

casacore::Vector<casacore::Int> casa::refim::WPConvFunc::convSupport_p
private

Definition at line 114 of file WPConvFunc.h.

casacore::Block<casacore::CountedPtr<casacore::Vector<casacore::Int> > > casa::refim::WPConvFunc::convSupportBlock_p
private

Definition at line 108 of file WPConvFunc.h.

casacore::Double casa::refim::WPConvFunc::maxW_p
private

Definition at line 119 of file WPConvFunc.h.

casacore::Double casa::refim::WPConvFunc::minW_p
private

Definition at line 119 of file WPConvFunc.h.

casacore::Int casa::refim::WPConvFunc::nx_p
private

Definition at line 118 of file WPConvFunc.h.

casacore::Int casa::refim::WPConvFunc::ny_p
private

Definition at line 118 of file WPConvFunc.h.

casacore::Double casa::refim::WPConvFunc::rmsW_p
private

Definition at line 119 of file WPConvFunc.h.

casacore::Double casa::refim::WPConvFunc::wScaler_p
private

Definition at line 116 of file WPConvFunc.h.


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