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

#include <VisIterator.h>

Inheritance diagram for casa::VisIterator:
casa::ROVisIterator casa::ROVisibilityIterator

List of all members.

Classes

class  Factory

Public Member Functions

 VisIterator ()
 Constructors.
 VisIterator (MeasurementSet &ms, const Block< Int > &sortColumns, Double timeInterval=0)
 VisIterator (const VisIterator &MSI)
virtual ~VisIterator ()
 Destructor.
VisIteratoroperator= (const VisIterator &MSI)
VisIteratoroperator++ (int)
 Members.
VisIteratoroperator++ ()
void setFlagRow (const Vector< Bool > &rowflags)
 Set/modify the flag row column; dimension Vector(nrow)
void setFlag (const Cube< Bool > &flag)
 Set/modify the flags in the data.
void setVis (const Cube< Complex > &vis, DataColumn whichOne)
 Set/modify the visibilities This sets the data as found in the MS, Cube(npol,nchan,nrow).
void setVisAndFlag (const Cube< Complex > &vis, const Cube< Bool > &flag, DataColumn whichOne)
 Set the visibility and flags, and interpolate from velocities if needed.
void setWeightMat (const Matrix< Float > &wtmat)
 Set/modify the weightMat.
void setWeightSpectrum (const Cube< Float > &wtsp)
 Set/modify the weightSpectrum.

Protected Member Functions

virtual void attachColumns (const Table &t)
 attach the column objects to the currently selected table
void putDataColumn (DataColumn whichOne, const Vector< Vector< Slice > > &slices, const Cube< Complex > &data)
 deals with Float or Complex observed data (DATA and FLOAT_DATA).
void putDataColumn (DataColumn whichOne, const Cube< Complex > &data)
virtual void putCol (ScalarColumn< Bool > &column, const Vector< Bool > &array)
 column access functions
virtual void putCol (ArrayColumn< Bool > &column, const Array< Bool > &array)
virtual void putCol (ArrayColumn< Float > &column, const Array< Float > &array)
virtual void putCol (ArrayColumn< Complex > &column, const Array< Complex > &array)
virtual void putCol (ArrayColumn< Bool > &column, const Slicer &slicer, const Array< Bool > &array)
virtual void putCol (ArrayColumn< Float > &column, const Slicer &slicer, const Array< Float > &array)
virtual void putCol (ArrayColumn< Complex > &column, const Slicer &slicer, const Array< Complex > &array)
VisIteratorImpl * getImpl () const

Detailed Description

Definition at line 270 of file VisIterator.h.


Constructor & Destructor Documentation

Constructors.

Note: The VisIterator is not initialized correctly by default, you need to call origin() before using it to iterate.

casa::VisIterator::VisIterator ( MeasurementSet ms,
const Block< Int > &  sortColumns,
Double  timeInterval = 0 
)
virtual casa::VisIterator::~VisIterator ( ) [virtual]

Destructor.


Member Function Documentation

virtual void casa::VisIterator::attachColumns ( const Table t) [protected, virtual]

attach the column objects to the currently selected table

Reimplemented from casa::ROVisibilityIterator.

VisIteratorImpl* casa::VisIterator::getImpl ( ) const [protected]
VisIterator& casa::VisIterator::operator++ ( int  )

Members.

Advance iterator through data

Reimplemented from casa::ROVisIterator.

VisIterator& casa::VisIterator::operator++ ( )

Reimplemented from casa::ROVisIterator.

VisIterator& casa::VisIterator::operator= ( const VisIterator MSI)
virtual void casa::VisIterator::putCol ( ScalarColumn< Bool > &  column,
const Vector< Bool > &  array 
) [protected, virtual]

column access functions

virtual void casa::VisIterator::putCol ( ArrayColumn< Bool > &  column,
const Array< Bool > &  array 
) [protected, virtual]
virtual void casa::VisIterator::putCol ( ArrayColumn< Float > &  column,
const Array< Float > &  array 
) [protected, virtual]
virtual void casa::VisIterator::putCol ( ArrayColumn< Complex > &  column,
const Array< Complex > &  array 
) [protected, virtual]
virtual void casa::VisIterator::putCol ( ArrayColumn< Bool > &  column,
const Slicer slicer,
const Array< Bool > &  array 
) [protected, virtual]
virtual void casa::VisIterator::putCol ( ArrayColumn< Float > &  column,
const Slicer slicer,
const Array< Float > &  array 
) [protected, virtual]
virtual void casa::VisIterator::putCol ( ArrayColumn< Complex > &  column,
const Slicer slicer,
const Array< Complex > &  array 
) [protected, virtual]
void casa::VisIterator::putDataColumn ( DataColumn  whichOne,
const Vector< Vector< Slice > > &  slices,
const Cube< Complex > &  data 
) [protected]

deals with Float or Complex observed data (DATA and FLOAT_DATA).

void casa::VisIterator::putDataColumn ( DataColumn  whichOne,
const Cube< Complex > &  data 
) [protected]
void casa::VisIterator::setFlag ( const Cube< Bool > &  flag)

Set/modify the flags in the data.

This sets the flags as found in the MS, Cube(npol,nchan,nrow), where nrow is the number of rows in the current iteration (given by nRow()).

void casa::VisIterator::setFlagRow ( const Vector< Bool > &  rowflags)

Set/modify the flag row column; dimension Vector(nrow)

void casa::VisIterator::setVis ( const Cube< Complex > &  vis,
DataColumn  whichOne 
)

Set/modify the visibilities This sets the data as found in the MS, Cube(npol,nchan,nrow).

void casa::VisIterator::setVisAndFlag ( const Cube< Complex > &  vis,
const Cube< Bool > &  flag,
DataColumn  whichOne 
)

Set the visibility and flags, and interpolate from velocities if needed.

void casa::VisIterator::setWeightMat ( const Matrix< Float > &  wtmat)

Set/modify the weightMat.

void casa::VisIterator::setWeightSpectrum ( const Cube< Float > &  wtsp)

Set/modify the weightSpectrum.


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