casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes
casa::vi::AveragingTvi2 Class Reference

#include <AveragingTvi2.h>

Inheritance diagram for casa::vi::AveragingTvi2:
casa::vi::TransformingVi2 casa::vi::ViImplementation2

List of all members.

Public Member Functions

 AveragingTvi2 (ViImplementation2 *inputVii, Double averagingInterval, Int nAveragesPerChunk, WeightFunction *weightFunction)
 ~AveragingTvi2 ()
Chunk Subchunk structure in
the AveragingTvi2 The
averaging in is specified at
construction time The 
interval (i.e., the size of the chunk in time) is also specified at creation time
the interval must be an
integer multiple of the
averaging interval The input
VI s setting must be
compatible with those of the
AveragingTvi2 This means that
the chunk size of the input VI
must have the same duration as
the averaging VI Although the
input VI and the averaging VI
have the same the averaging VI
will have fewer subchunks
since N input subchunks will
be averaged down to create a
single output subchunk The
input VI will also define the
averaging boundaries by its
definition of a chunk For if
the input VI allows data with
different scans to be in the
same then they will
potentially be averaged
together The input VI must use
the data description ID as a
sort column so that a chunk
will only contain data from a
single DDID setting *void 
originChunks ()
void nextChunk ()
Bool moreChunks () const
void origin ()
 +==================================+ | | | Iteration Control and Monitoring | | | +==================================+
void next ()
Bool more () const

Public Attributes

Chunk Subchunk structure in
the AveragingTvi2 The
averaging 
interval
Chunk Subchunk structure in
the AveragingTvi2 The
averaging in 
seconds
the interval must be an
integer multiple of the
averaging interval The input
VI s setting must be
compatible with those of the
AveragingTvi2 This means that
the chunk size of the input VI
must have the same duration as
the averaging VI Although the
input VI and the averaging VI
have the same 
duration
the interval must be an
integer multiple of the
averaging interval The input
VI s setting must be
compatible with those of the
AveragingTvi2 This means that
the chunk size of the input VI
must have the same duration as
the averaging VI Although the
input VI and the averaging VI
have the same the averaging VI
will have fewer subchunks
since N input subchunks will
be averaged down to create a
single output subchunk The
input VI will also define the
averaging boundaries by its
definition of a chunk For 
example
the interval must be an
integer multiple of the
averaging interval The input
VI s setting must be
compatible with those of the
AveragingTvi2 This means that
the chunk size of the input VI
must have the same duration as
the averaging VI Although the
input VI and the averaging VI
have the same the averaging VI
will have fewer subchunks
since N input subchunks will
be averaged down to create a
single output subchunk The
input VI will also define the
averaging boundaries by its
definition of a chunk For if
the input VI allows data with
different scans to be in the
same 
chunk

Protected Member Functions

void advanceInputVii ()
Int determineDdidToUse () const
void produceSubchunk ()
void processInputSubchunk (const VisBuffer2 *)
Bool reachedAveragingBoundary ()
bool subchunksReady () const
void validateInputVi (ViImplementation2 *)

Private Attributes

const Double averagingInterval_p
Int ddidLastUsed_p
Bool inputViiAdvanced_p
const Int nAveragesPerChunk_p
Bool subchunkExists_p
avg::VbSet * vbSet_p

Detailed Description

Definition at line 19 of file AveragingTvi2.h.


Constructor & Destructor Documentation

casa::vi::AveragingTvi2::AveragingTvi2 ( ViImplementation2 inputVii,
Double  averagingInterval,
Int  nAveragesPerChunk,
WeightFunction weightFunction 
)

Member Function Documentation

Chunk Subchunk structure in the AveragingTvi2 The averaging in is specified at construction time The casa::vi::AveragingTvi2::interval ( i.  e.,
the size of the chunk in  time 
)
Bool casa::vi::AveragingTvi2::more ( ) const [virtual]

Reimplemented from casa::vi::TransformingVi2.

Reimplemented from casa::vi::TransformingVi2.

void casa::vi::AveragingTvi2::next ( ) [virtual]

Reimplemented from casa::vi::TransformingVi2.

Reimplemented from casa::vi::TransformingVi2.

void casa::vi::AveragingTvi2::origin ( ) [virtual]

+==================================+ | | | Iteration Control and Monitoring | | | +==================================+

Methods to control and monitor subchunk iteration

Reimplemented from casa::vi::TransformingVi2.

the interval must be an integer multiple of the averaging interval The input VI s setting must be compatible with those of the AveragingTvi2 This means that the chunk size of the input VI must have the same duration as the averaging VI Although the input VI and the averaging VI have the same the averaging VI will have fewer subchunks since N input subchunks will be averaged down to create a single output subchunk The input VI will also define the averaging boundaries by its definition of a chunk For if the input VI allows data with different scans to be in the same then they will potentially be averaged together The input VI must use the data description ID as a sort column so that a chunk will only contain data from a single DDID setting* void casa::vi::AveragingTvi2::originChunks ( )
bool casa::vi::AveragingTvi2::subchunksReady ( ) const [protected]

Member Data Documentation

Definition at line 71 of file AveragingTvi2.h.

the interval must be an integer multiple of the averaging interval The input VI s setting must be compatible with those of the AveragingTvi2 This means that the chunk size of the input VI must have the same duration as the averaging VI Although the input VI and the averaging VI have the same the averaging VI will have fewer subchunks since N input subchunks will be averaged down to create a single output subchunk The input VI will also define the averaging boundaries by its definition of a chunk For if the input VI allows data with different scans to be in the same casa::vi::AveragingTvi2::chunk

Definition at line 39 of file AveragingTvi2.h.

Definition at line 72 of file AveragingTvi2.h.

the interval must be an integer multiple of the averaging interval The input VI s setting must be compatible with those of the AveragingTvi2 This means that the chunk size of the input VI must have the same duration as the averaging VI Although the input VI and the averaging VI have the same casa::vi::AveragingTvi2::duration

Definition at line 39 of file AveragingTvi2.h.

the interval must be an integer multiple of the averaging interval The input VI s setting must be compatible with those of the AveragingTvi2 This means that the chunk size of the input VI must have the same duration as the averaging VI Although the input VI and the averaging VI have the same the averaging VI will have fewer subchunks since N input subchunks will be averaged down to create a single output subchunk The input VI will also define the averaging boundaries by its definition of a chunk For casa::vi::AveragingTvi2::example

Definition at line 39 of file AveragingTvi2.h.

Definition at line 73 of file AveragingTvi2.h.

Chunk Subchunk structure in the AveragingTvi2 The averaging casa::vi::AveragingTvi2::interval

Definition at line 31 of file AveragingTvi2.h.

Definition at line 74 of file AveragingTvi2.h.

Chunk Subchunk structure in the AveragingTvi2 The averaging in casa::vi::AveragingTvi2::seconds

Definition at line 31 of file AveragingTvi2.h.

Definition at line 75 of file AveragingTvi2.h.

avg::VbSet* casa::vi::AveragingTvi2::vbSet_p [private]

Definition at line 76 of file AveragingTvi2.h.


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