28 #ifndef SYNTHESIS_CONVFUNCDISKCACHE_H
29 #define SYNTHESIS_CONVFUNCDISKCACHE_H
void cacheConvFunction(casacore::Int which, casacore::Float pa, casacore::Array< casacore::Complex > &cf, casacore::CoordinateSystem &coords, casacore::CoordinateSystem &ftcoords, casacore::Int &convSize, casacore::Cube< casacore::Int > &convSupport, casacore::Float convSampling, casacore::String nameQualifier="", casacore::Bool savePA=true)
casacore::Bool loadConvFunction(casacore::Int where, casacore::Int Nx, casacore::PtrBlock< casacore::Array< casacore::Complex > * > &convFuncCache, casacore::Cube< casacore::Int > &convSupport, casacore::Vector< casacore::Float > &convSampling, casacore::Double &cfRefFreq, casacore::CoordinateSystem &coordys, casacore::String prefix="/CF")
casacore::Cube< casacore::Int > YSup
casacore::Vector< casacore::Float > Sampling
casacore::String cfPrefix
void setCacheDir(const char *dir)
Model the diagonal elements of the Voltage Pattern Sky Jones Matrices.
casacore::Cube< casacore::Int > XSup
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
void cacheWeightsFunction(casacore::Int which, casacore::Float pa, casacore::Array< casacore::Complex > &cfWt, casacore::CoordinateSystem &coords, casacore::Int &convSize, casacore::Cube< casacore::Int > &convSupport, casacore::Float convSampling)
casacore::Bool searchConvFunction(const VisBuffer &vb, VPSkyJones &vpSJ, casacore::Int &which, casacore::Float &pa)
bool Bool
Define the standard types used by Casacore.
//////////////////////////////////////////////////////////////////////////
An object to manage the caches of pre-computed convolution functions on the disk and in the memory...
casacore::Vector< casacore::Float > paList
A drop-in replacement for Block<T*>.
ConvFuncDiskCache & operator=(const ConvFuncDiskCache &other)
String: the storage and methods of handling collections of characters.
VisBuffers encapsulate one chunk of visibility data for processing.
void loadAvgPB(casacore::ImageInterface< casacore::Float > &avgPB)
Interconvert pixel and world coordinates.