casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
casa::vi::AveragingVi2Factory Class Reference

The AveragingVi2Factory is used to initialize a VisibilityIterator2 so that it performs time averaging. More...

#include <AveragingVi2Factory.h>

Inheritance diagram for casa::vi::AveragingVi2Factory:
casa::vi::ViFactory

Public Member Functions

 AveragingVi2Factory (const AveragingParameters &parameters, casacore::MeasurementSet *ms)
 
 AveragingVi2Factory (const AveragingParameters &parameters, casacore::MeasurementSet *ms1, casacore::MeasurementSet *ms2,...)
 
 AveragingVi2Factory (const AveragingParameters &parameters, const casacore::Block< const casacore::MeasurementSet * > &mss)
 use 0 to mark end of MSs More...
 
 ~AveragingVi2Factory ()
 
- Public Member Functions inherited from casa::vi::ViFactory
virtual ~ViFactory ()
 

Protected Member Functions

virtual ViImplementation2createVi () const
 

Private Member Functions

void initialize (const AveragingParameters &parameters, const casacore::Block< const casacore::MeasurementSet * > &mss)
 

Private Attributes

casacore::Block< const
casacore::MeasurementSet * > 
mss_p
 
AveragingParameters parameters_p
 

Detailed Description

The AveragingVi2Factory is used to initialize a VisibilityIterator2 so that it performs time averaging.

The parameters are fairly straightforward:

averagingInterval - the time period to average over chunkInterval - the time interval of an averaged chunk sortColumns - the usual set of sort columns. The sort columns also determine the boundaries of a chunk. If a column is present in the sort columns, then there will be no averaging across values with different values of that column (e.g., scan_number, array_id, etc.). This is because a chunk is defined to be the set of records having the same values for all of the sort columns except for time. The time column is used to select rows having the same sort-column values but within a specified interval of time.

Definition at line 185 of file AveragingVi2Factory.h.

Constructor & Destructor Documentation

casa::vi::AveragingVi2Factory::AveragingVi2Factory ( const AveragingParameters parameters,
casacore::MeasurementSet ms 
)
casa::vi::AveragingVi2Factory::AveragingVi2Factory ( const AveragingParameters parameters,
casacore::MeasurementSet ms1,
casacore::MeasurementSet ms2,
  ... 
)
casa::vi::AveragingVi2Factory::AveragingVi2Factory ( const AveragingParameters parameters,
const casacore::Block< const casacore::MeasurementSet * > &  mss 
)

use 0 to mark end of MSs

casa::vi::AveragingVi2Factory::~AveragingVi2Factory ( )

Member Function Documentation

virtual ViImplementation2* casa::vi::AveragingVi2Factory::createVi ( ) const
protectedvirtual

Implements casa::vi::ViFactory.

void casa::vi::AveragingVi2Factory::initialize ( const AveragingParameters parameters,
const casacore::Block< const casacore::MeasurementSet * > &  mss 
)
private

Member Data Documentation

casacore::Block<const casacore::MeasurementSet *> casa::vi::AveragingVi2Factory::mss_p
private

Definition at line 212 of file AveragingVi2Factory.h.

AveragingParameters casa::vi::AveragingVi2Factory::parameters_p
private

Definition at line 213 of file AveragingVi2Factory.h.


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