casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Types | List of all members
casa::Vi2StatisticsIteratee< DataIterator, WeightsIterator, MaskIterator > Class Template Referenceabstract

This class is used to encapsulate the action(s) taken on a sequence of casacore::StatisticsAlgorithm instances that are generated by the Vi2DataProvider::foreachDataset() method, which can be used to compute statistics for each dataset of possibly merged casacore::MS chunks provided by a VisibilityIterator2 instance. More...

#include <Vi2StatisticsIteratee.h>

Public Member Functions

virtual void nextDataset (casacore::StatisticsAlgorithm< AccumType, DataIterator, MaskIterator, WeightsIterator > &stats, const std::unordered_map< int, std::string > *columnValues)=0
 This method will be called by Vi2DataProvider::foreachDataset() for each dataset composed of one or more chunks provided by a VisibilityIterator2 instance, with the casacore::StatisticsAlgorithm instance initialized with a data provider for the dataset. More...
 

Private Types

typedef DataIterator::AccumType AccumType
 

Detailed Description

template<class DataIterator, class WeightsIterator, class MaskIterator>
class casa::Vi2StatisticsIteratee< DataIterator, WeightsIterator, MaskIterator >

This class is used to encapsulate the action(s) taken on a sequence of casacore::StatisticsAlgorithm instances that are generated by the Vi2DataProvider::foreachDataset() method, which can be used to compute statistics for each dataset of possibly merged casacore::MS chunks provided by a VisibilityIterator2 instance.

See the Vi2DataProvider.h file for an outline of how this class may be used.

Definition at line 19 of file Vi2StatisticsIteratee.h.

Member Typedef Documentation

template<class DataIterator, class WeightsIterator, class MaskIterator>
typedef DataIterator::AccumType casa::Vi2StatisticsIteratee< DataIterator, WeightsIterator, MaskIterator >::AccumType
private

Definition at line 21 of file Vi2StatisticsIteratee.h.

Member Function Documentation

template<class DataIterator, class WeightsIterator, class MaskIterator>
virtual void casa::Vi2StatisticsIteratee< DataIterator, WeightsIterator, MaskIterator >::nextDataset ( casacore::StatisticsAlgorithm< AccumType, DataIterator, MaskIterator, WeightsIterator > &  stats,
const std::unordered_map< int, std::string > *  columnValues 
)
pure virtual

This method will be called by Vi2DataProvider::foreachDataset() for each dataset composed of one or more chunks provided by a VisibilityIterator2 instance, with the casacore::StatisticsAlgorithm instance initialized with a data provider for the dataset.

Referenced by casa::Vi2DataProvider< DataIterator, MaskIterator, WeightsIterator >::foreachDataset().


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