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

An object to manage the caches of pre-computed convolution functions on the disk and in the memory. More...

#include <CFCache.h>

Public Member Functions

 CFCacheTable ()
 
 ~CFCacheTable ()
 
CFCacheTableoperator= (const CFCacheTable &other)
 
void init ()
 

Public Attributes

std::vector< casacore::DoublefreqList
 
std::vector< casacore::DoublewList
 
std::vector< casacore::IntmuellerList
 
std::vector< casacore::StringcfNameList
 

Detailed Description

An object to manage the caches of pre-computed convolution functions on the disk and in the memory.

Intended use:

Public interface

Prerequisite

class

Etymology

CFCache is an object, to write convolution functions from the memory cache to the disk cache, and search/load the disk cache for convolution functions for a give Parallactic Angle.

Synopsis

FTMachines uses pre-computed convolution functions for gridding (FTMachine::put()) and prediction (FTMachine::get()). For PBWProjectFT, the convolution function computation is expensive. Once computed, it is efficient to cache these functions as a function of Parallactic Angle and the value of the w-term (if significant).

CFCache class provides interface to the disk cache and is used in PBWProjectFT to search and load convolution functions from the disk. If a new convolution function is computed in PBWProjectFT, the disk cache is updated using the services of this class as well.

Example

Motivation

Factor out the code for managing convolution function caches (memory and disk caches) from the FTMachine code. This is a specialized service, and has nothing to do with the details of gridding and prediction of visibilities (which is the function of FTMachines).


Definition at line 117 of file CFCache.h.

Constructor & Destructor Documentation

casa::CFCacheTable::CFCacheTable ( )
inline

Definition at line 120 of file CFCache.h.

casa::CFCacheTable::~CFCacheTable ( )
inline

Definition at line 121 of file CFCache.h.

Member Function Documentation

void casa::CFCacheTable::init ( )
inline

Definition at line 135 of file CFCache.h.

CFCacheTable& casa::CFCacheTable::operator= ( const CFCacheTable other)
inline

if (other != *this)

Definition at line 123 of file CFCache.h.

References cfNameList, freqList, muellerList, and wList.

Member Data Documentation

std::vector<casacore::String> casa::CFCacheTable::cfNameList

Definition at line 140 of file CFCache.h.

Referenced by operator=().

std::vector<casacore::Double> casa::CFCacheTable::freqList

Definition at line 138 of file CFCache.h.

Referenced by operator=().

std::vector<casacore::Int> casa::CFCacheTable::muellerList

Definition at line 139 of file CFCache.h.

Referenced by operator=().

std::vector<casacore::Double> casa::CFCacheTable::wList

Definition at line 138 of file CFCache.h.

Referenced by operator=().


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