VisTimeAverager.h

Classes

VisTimeAverager -- A class to average VisBuffers in time (full description)

class VisTimeAverager

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)

Description

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

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

~VisTimeAverager()

Null destructor

void reset()

Reset the averager

void accumulate (const VisBuffer& vb)

Accumulate a VisBuffer

void finalizeAverage (VisBuffer& avBuf)

Finalize averaging, and return the result

VisTimeAverager()

Prohibit null constructor, copy constructor and assignment for now

VisTimeAverager& operator= (const VisTimeAverager&)

VisTimeAverager (const VisTimeAverager&)

void initialize()

Initialize the next accumulation interval

void normalize()

Normalize the current accumulation

Int hashFunction (const Int& ant1, const Int& ant2)

Hash function to return the row offset for an interferometer (ant1, ant2)