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

#include <VisibilityIteratorImplAsync.h>

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

Public Types

typedef
casa::asyncio::PrefetchColumns 
PrefetchColumns
 
- Public Types inherited from casa::VisibilityIteratorWriteImpl
typedef
ROVisibilityIterator::DataColumn 
DataColumn
 

Public Member Functions

 ViWriteImplAsync (VisibilityIterator *vi)
 
 ViWriteImplAsync (const PrefetchColumns &prefetchColumns, const VisibilityIteratorWriteImpl &other, VisibilityIterator *vi)
 
 ~ViWriteImplAsync ()
 
VisibilityIteratorWriteImplclone () const
 
void putModel (const casacore::RecordInterface &rec, casacore::Bool iscomponentlist=true, casacore::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 casacore::Record that holds the model image a [-1] vector in validfields mean the model applies to all fields of the active ms. More...
 
void setFlag (const casacore::Matrix< casacore::Bool > &flag)
 Set/modify the flags in the data. More...
 
void setFlag (const casacore::Cube< casacore::Bool > &flag)
 Set/modify the flags in the data. More...
 
void setFlagCategory (const casacore::Array< casacore::Bool > &flagCategory)
 
void setFlagRow (const casacore::Vector< casacore::Bool > &rowflags)
 Set/modify the flag row column; dimension casacore::Vector(nrow) More...
 
void setVis (const casacore::Matrix< CStokesVector > &vis, DataColumn whichOne)
 Set/modify the visibilities. More...
 
void setVis (const casacore::Cube< casacore::Complex > &vis, DataColumn whichOne)
 Set/modify the visibilities This sets the data as found in the casacore::MS, casacore::Cube(npol,nchan,nrow). More...
 
void setVisAndFlag (const casacore::Cube< casacore::Complex > &vis, const casacore::Cube< casacore::Bool > &flag, DataColumn whichOne)
 Set the visibility and flags, and interpolate from velocities if needed. More...
 
void setWeight (const casacore::Vector< casacore::Float > &wt)
 Set/modify the weights. More...
 
void setWeightMat (const casacore::Matrix< casacore::Float > &wtmat)
 Set/modify the weightMat. More...
 
void setWeightSpectrum (const casacore::Cube< casacore::Float > &wtsp)
 Set/modify the weightSpectrum. More...
 
void setSigma (const casacore::Vector< casacore::Float > &sig)
 Set/modify the Sigma. More...
 
void setSigmaMat (const casacore::Matrix< casacore::Float > &sigmat)
 Set/modify the ncorr x nrow SigmaMat. More...
 
- Public Member Functions inherited from casa::VisibilityIteratorWriteImpl
 VisibilityIteratorWriteImpl (VisibilityIterator *vi)
 Constructors. More...
 
 VisibilityIteratorWriteImpl (const VisibilityIteratorWriteImpl &other)
 VisibilityIteratorWriteImpl (VisibilityIterator * vi);. More...
 
virtual ~VisibilityIteratorWriteImpl ()
 Destructor. More...
 
virtual
VisibilityIteratorWriteImpl
clone (VisibilityIterator *vi) const
 Members. More...
 
virtual casacore::Bool isWritable () const
 
void setFlagCategory (const casacore::Array< casacore::Bool > &fc)
 
virtual void writeBack (VisBuffer *)
 

Protected Member Functions

ViReadImplAsyncgetReadImpl ()
 
void queueWriteData (const asyncio::WriteData &data)
 
- Protected Member Functions inherited from casa::VisibilityIteratorWriteImpl
VisibilityIteratorReadImplgetReadImpl ()
 
void initializeBackWriters ()
 
virtual void attachColumns (const casacore::Table &t)
 
void putDataColumn (DataColumn whichOne, const casacore::Slicer &slicer, const casacore::Cube< casacore::Complex > &data)
 void setInterpolatedVisFlag (const casacore::Cube<casacore::Complex> & vis, const casacore::Cube<casacore::Bool> & flag); void setInterpolatedWeight (const casacore::Matrix<casacore::Float> & wt); More...
 
void putDataColumn (DataColumn whichOne, const casacore::Cube< casacore::Complex > &data)
 
virtual void putCol (casacore::ScalarColumn< casacore::Bool > &column, const casacore::Vector< casacore::Bool > &array)
 column access functions, can be overridden in derived classes More...
 
virtual void putCol (casacore::ArrayColumn< casacore::Bool > &column, const casacore::Array< casacore::Bool > &array)
 
virtual void putCol (casacore::ArrayColumn< casacore::Float > &column, const casacore::Array< casacore::Float > &array)
 
virtual void putCol (casacore::ArrayColumn< casacore::Complex > &column, const casacore::Array< casacore::Complex > &array)
 
virtual void putCol (casacore::ArrayColumn< casacore::Bool > &column, const casacore::Slicer &slicer, const casacore::Array< casacore::Bool > &array)
 
virtual void putCol (casacore::ArrayColumn< casacore::Float > &column, const casacore::Slicer &slicer, const casacore::Array< casacore::Float > &array)
 
virtual void putCol (casacore::ArrayColumn< casacore::Complex > &column, const casacore::Slicer &slicer, const casacore::Array< casacore::Complex > &array)
 
template<class T >
void setTileShape (casacore::RefRows &rowRef, casacore::ArrayColumn< T > &outputDataCol, const casacore::IPosition &arrayShape)
 
casacore::Bool useCustomTileShape ()
 
void putColScalar (casacore::ScalarColumn< casacore::Bool > &column, const casacore::Vector< casacore::Bool > &array)
 non-virtual, no reason to template this function because casacore::Bool is the only type needed More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from casa::VisibilityIteratorWriteImpl
template<typename Ret >
static BackWritermakeBackWriter (void(VisibilityIteratorWriteImpl::*setter)(Ret), Ret(VisBuffer::*getter)() const)
 Backwriter(2) creation methods. More...
 
template<typename Ret >
static BackWritermakeBackWriter2 (void(VisibilityIteratorWriteImpl::*setter)(Ret, VisibilityIteratorReadImpl::DataColumn), Ret(VisBuffer::*getter)() const, ROVisibilityIterator::DataColumn dc)
 

Detailed Description

Definition at line 290 of file VisibilityIteratorImplAsync.h.

Member Typedef Documentation

Definition at line 294 of file VisibilityIteratorImplAsync.h.

Constructor & Destructor Documentation

casa::ViWriteImplAsync::ViWriteImplAsync ( VisibilityIterator vi)
casa::ViWriteImplAsync::ViWriteImplAsync ( const PrefetchColumns prefetchColumns,
const VisibilityIteratorWriteImpl other,
VisibilityIterator vi 
)
casa::ViWriteImplAsync::~ViWriteImplAsync ( )

Member Function Documentation

VisibilityIteratorWriteImpl* casa::ViWriteImplAsync::clone ( ) const
ViReadImplAsync* casa::ViWriteImplAsync::getReadImpl ( )
protected
void casa::ViWriteImplAsync::putModel ( const casacore::RecordInterface rec,
casacore::Bool  iscomponentlist = true,
casacore::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 casacore::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 casacore::Matrix< casacore::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 casacore::Cube< casacore::Bool > &  flag)
virtual

Set/modify the flags in the data.

This sets the flags as found in the casacore::MS, casacore::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 casacore::Array< casacore::Bool > &  flagCategory)
void casa::ViWriteImplAsync::setFlagRow ( const casacore::Vector< casacore::Bool > &  rowflags)
virtual

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

Reimplemented from casa::VisibilityIteratorWriteImpl.

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

Set/modify the Sigma.

Reimplemented from casa::VisibilityIteratorWriteImpl.

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

Set/modify the ncorr x nrow SigmaMat.

Reimplemented from casa::VisibilityIteratorWriteImpl.

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

Set/modify the visibilities.

This is possibly only for a 'reference' casacore::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 casacore::MS does not contain all polarizations, only the parallel hand polarizations are used.

Reimplemented from casa::VisibilityIteratorWriteImpl.

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

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

Reimplemented from casa::VisibilityIteratorWriteImpl.

void casa::ViWriteImplAsync::setVisAndFlag ( const casacore::Cube< casacore::Complex > &  vis,
const casacore::Cube< casacore::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 casacore::Vector< casacore::Float > &  wt)
virtual

Set/modify the weights.

Reimplemented from casa::VisibilityIteratorWriteImpl.

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

Set/modify the weightMat.

Reimplemented from casa::VisibilityIteratorWriteImpl.

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

Set/modify the weightSpectrum.

Reimplemented from casa::VisibilityIteratorWriteImpl.


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