casa
$Rev:20696$
|
#include <AveragingTvi2.h>
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 |
Definition at line 19 of file AveragingTvi2.h.
casa::vi::AveragingTvi2::AveragingTvi2 | ( | ViImplementation2 * | inputVii, |
Double | averagingInterval, | ||
Int | nAveragesPerChunk, | ||
WeightFunction * | weightFunction | ||
) |
void casa::vi::AveragingTvi2::advanceInputVii | ( | ) | [protected] |
Int casa::vi::AveragingTvi2::determineDdidToUse | ( | ) | const [protected] |
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.
Bool casa::vi::AveragingTvi2::moreChunks | ( | ) | const [virtual] |
Reimplemented from casa::vi::TransformingVi2.
void casa::vi::AveragingTvi2::next | ( | ) | [virtual] |
Reimplemented from casa::vi::TransformingVi2.
void casa::vi::AveragingTvi2::nextChunk | ( | ) | [virtual] |
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 | ( | ) |
void casa::vi::AveragingTvi2::processInputSubchunk | ( | const VisBuffer2 * | ) | [protected] |
void casa::vi::AveragingTvi2::produceSubchunk | ( | ) | [protected] |
Bool casa::vi::AveragingTvi2::reachedAveragingBoundary | ( | ) | [protected] |
bool casa::vi::AveragingTvi2::subchunksReady | ( | ) | const [protected] |
void casa::vi::AveragingTvi2::validateInputVi | ( | ViImplementation2 * | ) | [protected] |
const Double casa::vi::AveragingTvi2::averagingInterval_p [private] |
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.
Int casa::vi::AveragingTvi2::ddidLastUsed_p [private] |
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.
const Int casa::vi::AveragingTvi2::nAveragesPerChunk_p [private] |
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.