casa
$Rev:20696$
|
#include <VisIterator.h>
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. | |
VisIterator & | operator= (const VisIterator &MSI) |
VisIterator & | operator++ (int) |
Members. | |
VisIterator & | operator++ () |
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 |
Definition at line 270 of file VisIterator.h.
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 |
||
) |
casa::VisIterator::VisIterator | ( | const VisIterator & | MSI | ) |
virtual casa::VisIterator::~VisIterator | ( | ) | [virtual] |
Destructor.
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 | ) |
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.