VisTimeAverager.h
Classes
- VisTimeAverager -- A class to average VisBuffers in time (full description)
Interface
- Public Members
- VisTimeAverager (const Int& nAnt, const Double& interval, const Bool& prenorm)
- ~VisTimeAverager()
- void reset()
- void accumulate (const VisBuffer& vb)
- void finalizeAverage (VisBuffer& avBuf)
- Private Members
- VisTimeAverager()
- VisTimeAverager& operator= (const VisTimeAverager&)
- VisTimeAverager (const VisTimeAverager&)
- void initialize()
- void normalize()
- Int hashFunction (const Int& ant1, const Int& ant2)
Review Status
- Date Reviewed:
- yyyy/mm/dd
Prerequisite
Etymology
From "visibility", "time" and "averaging".
Synopsis
This class averages VisBuffers in time.
Example
Motivation
Collect all time averaging capabilities for VisBuffer averaging.
Thrown Exceptions
To Do
- averaging over other indices.
Member Description
VisTimeAverager (const Int& nAnt, const Double& interval, const Bool& prenorm)
Construct from the number of antennas, the averaging interval and
the pre-normalization flag
Null destructor
Reset the averager
Accumulate a VisBuffer
Finalize averaging, and return the result
Prohibit null constructor, copy constructor and assignment for now
VisTimeAverager& operator= (const VisTimeAverager&)
Initialize the next accumulation interval
Normalize the current accumulation
Int hashFunction (const Int& ant1, const Int& ant2)
Hash function to return the row offset for an interferometer (ant1, ant2)