This class is used to encapsulate the action(s) taken on a sequence of StatisticsAlgorithm instances that are generated by the Vi2ChunkDataProvider::foreachChunk() method, which can be used to compute statistics for each MS chunk provided by a VisibilityIterator2 instance. More...
#include <Vi2ChunkStatisticsIteratee.h>
Public Member Functions | |
virtual void | nextChunk (StatisticsAlgorithm< AccumType, DataIterator, MaskIterator, WeightsIterator > &stats, const vi::VisBuffer2 *vb)=0 |
This method will be called by Vi2ChunkDataProvider::foreachChunk() for each chunk provided by a VisibilityIterator2 instance, with the StatisticsAlgorithm instance initialized with a data provider for the chunk. | |
Private Types | |
typedef DataIterator::AccumType | AccumType |
This class is used to encapsulate the action(s) taken on a sequence of StatisticsAlgorithm instances that are generated by the Vi2ChunkDataProvider::foreachChunk() method, which can be used to compute statistics for each MS chunk provided by a VisibilityIterator2 instance.
See the Vi2ChunkDataProvider.h file for an outline of how this class may be used.
Definition at line 17 of file Vi2ChunkStatisticsIteratee.h.
typedef DataIterator::AccumType casa::Vi2ChunkStatisticsIteratee< DataIterator, WeightsIterator, MaskIterator >::AccumType [private] |
Definition at line 19 of file Vi2ChunkStatisticsIteratee.h.
virtual void casa::Vi2ChunkStatisticsIteratee< DataIterator, WeightsIterator, MaskIterator >::nextChunk | ( | StatisticsAlgorithm< AccumType, DataIterator, MaskIterator, WeightsIterator > & | stats, | |
const vi::VisBuffer2 * | vb | |||
) | [pure virtual] |
This method will be called by Vi2ChunkDataProvider::foreachChunk() for each chunk provided by a VisibilityIterator2 instance, with the StatisticsAlgorithm instance initialized with a data provider for the chunk.
The pointer to the VisBuffer2 instance is provided in case this method needs to get some metadata for the current chunk.
Referenced by casa::Vi2ChunkDataProvider< DataIterator, MaskIterator, WeightsIterator >::foreachChunk().