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

#include <VisibilityIteratorImplAsync.h>

Inheritance diagram for casa::ViWriteImplAsync:
casa::VisibilityIteratorWriteImpl

List of all members.

Public Types

typedef
casa::asyncio::PrefetchColumns 
PrefetchColumns

Public Member Functions

 ViWriteImplAsync (VisibilityIterator *vi)
 ViWriteImplAsync (const PrefetchColumns &prefetchColumns, const VisibilityIteratorWriteImpl &other, VisibilityIterator *vi)
 ~ViWriteImplAsync ()
VisibilityIteratorWriteImplclone () const
void putModel (const RecordInterface &rec, Bool iscomponentlist=True, Bool incremental=False)
 This puts a model into the descriptor of the actual ms Set iscomponentlist to True if the record represent a componentlist if False then it is a FTMachine Record that holds the model image a [-1] vector in validfields mean the model applies to all fields of the active ms.
void setFlag (const Matrix< Bool > &flag)
 Set/modify the flags in the data.
void setFlag (const Cube< Bool > &flag)
 Set/modify the flags in the data.
void setFlagCategory (const Array< Bool > &flagCategory)
void setFlagRow (const Vector< Bool > &rowflags)
 Set/modify the flag row column; dimension Vector(nrow)
void setVis (const Matrix< CStokesVector > &vis, DataColumn whichOne)
 Set/modify the visibilities.
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 setWeight (const Vector< Float > &wt)
 Set/modify the weights.
void setWeightMat (const Matrix< Float > &wtmat)
 Set/modify the weightMat.
void setWeightSpectrum (const Cube< Float > &wtsp)
 Set/modify the weightSpectrum.
void setSigma (const Vector< Float > &sig)
 Set/modify the Sigma.
void setSigmaMat (const Matrix< Float > &sigmat)
 Set/modify the ncorr x nrow SigmaMat.

Protected Member Functions

ViReadImplAsyncgetReadImpl ()
void queueWriteData (const asyncio::WriteData &data)

Detailed Description

Definition at line 290 of file VisibilityIteratorImplAsync.h.


Member Typedef Documentation

Definition at line 294 of file VisibilityIteratorImplAsync.h.


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::putModel ( const RecordInterface rec,
Bool  iscomponentlist = True,
Bool  incremental = False 
) [virtual]

This puts a model into the descriptor of the actual ms Set iscomponentlist to True if the record represent a componentlist if False then it is a FTMachine Record that holds the model image a [-1] vector in validfields mean the model applies to all fields of the active ms.

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::queueWriteData ( const asyncio::WriteData data) [protected]
void casa::ViWriteImplAsync::setFlag ( const Matrix< Bool > &  flag) [virtual]

Set/modify the flags in the data.

This will flag all channels in the original data that contributed to the output channel in the case of channel averaging. All polarizations have the same flag value.

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::setFlag ( const Cube< Bool > &  flag) [virtual]

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()).

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::setFlagCategory ( const Array< Bool > &  flagCategory)

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::setFlagRow ( const Vector< Bool > &  rowflags) [virtual]

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

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::setSigma ( const Vector< Float > &  sig) [virtual]

Set/modify the Sigma.

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::setSigmaMat ( const Matrix< Float > &  sigmat) [virtual]

Set/modify the ncorr x nrow SigmaMat.

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::setVis ( const Matrix< CStokesVector > &  vis,
DataColumn  whichOne 
) [virtual]

Set/modify the visibilities.

This is possibly only for a 'reference' MS which has a new DATA column. The first axis of the matrix should equal the selected number of channels in the original MS. If the MS does not contain all polarizations, only the parallel hand polarizations are used.

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::setVis ( const Cube< Complex > &  vis,
DataColumn  whichOne 
) [virtual]

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

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::setVisAndFlag ( const Cube< Complex > &  vis,
const Cube< Bool > &  flag,
DataColumn  whichOne 
) [virtual]

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

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::setWeight ( const Vector< Float > &  wt) [virtual]

Set/modify the weights.

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::setWeightMat ( const Matrix< Float > &  wtmat) [virtual]

Set/modify the weightMat.

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::setWeightSpectrum ( const Cube< Float > &  wtsp) [virtual]

Set/modify the weightSpectrum.

Reimplemented from casa::VisibilityIteratorWriteImpl.


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