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

VisibilityIterator2 iterates through one or more readonly MeasurementSets. More...

#include <ViImplementation2.h>

Inheritance diagram for casa::vi::ViImplementation2:
casa::vi::SimpleSimVi2 casa::vi::TransformingVi2 casa::vi::VisibilityIteratorImpl2 casa::MSTransformIterator casa::vi::AveragingTvi2 casa::vi::CalibratingVi2 casa::vi::FiltrationTVI< Filter > casa::vi::FinalTvi2 casa::vi::FreqAxisTVI casa::vi::PassThroughTVI casa::vi::PhaseShiftTvi casa::vi::PointingInterpolationTVI casa::vi::PolAverageTVI casa::vi::StatWtTVI casa::vi::VisibilityIteratorImplAsync2

Public Member Functions

 ViImplementation2 (const ViImplementation2 &)=delete
 make noncopyable... More...
 
ViImplementation2operator= (const ViImplementation2 &)=delete
 
 ViImplementation2 ()
 
virtual ~ViImplementation2 ()
 Destructor. More...
 
virtual casacore::String ViiType () const =0
 Report the the ViImplementation type. More...
 
virtual void origin ()=0
 +==================================+ | | | Iteration Control and Monitoring | | | +==================================+ More...
 
virtual casacore::Bool more () const =0
 
virtual void next ()=0
 
virtual Subchunk getSubchunkId () const =0
 
virtual void originChunks (casacore::Bool forceRewind=false)=0
 Methods to control chunk iterator. More...
 
virtual casacore::Bool moreChunks () const =0
 
virtual void nextChunk ()=0
 
virtual casacore::String keyChange () const =0
 Report Name of slowest column that changes at end of current iteration. More...
 
virtual casacore::Bool isWritable () const =0
 
virtual casacore::Double getInterval () const =0
 Return the time interval (in seconds) used for iteration. More...
 
virtual void setInterval (casacore::Double timeInterval)=0
 
virtual void setFrequencySelections (const FrequencySelections &selection)=0
 Select the channels to be returned. More...
 
virtual void setRowBlocking (casacore::Int nRows=0)=0
 Set the 'blocking' size for returning data. More...
 
virtual casacore::Bool existsColumn (VisBufferComponent2 id) const =0
 
virtual const SortColumnsgetSortColumns () const =0
 
virtual casacore::Bool isNewArrayId () const =0
 
virtual casacore::Bool isNewFieldId () const =0
 
virtual casacore::Bool isNewMs () const =0
 
virtual casacore::Bool isNewSpectralWindow () const =0
 
virtual casacore::Int nRows () const =0
 Return the number of rows in the current iteration. More...
 
virtual void getRowIds (casacore::Vector< casacore::uInt > &rowids) const =0
 Return the row ids as from the original root table. More...
 
virtual VisBuffer2getVisBuffer () const =0
 
virtual void antenna1 (casacore::Vector< casacore::Int > &ant1) const =0
 +=========================+ | | | Subchunk Data Accessors | | | +=========================+ More...
 
virtual void antenna2 (casacore::Vector< casacore::Int > &ant2) const =0
 Return antenna2. More...
 
virtual void corrType (casacore::Vector< casacore::Int > &corrTypes) const =0
 Return the correlation type (returns casacore::Stokes enums) More...
 
virtual casacore::Int dataDescriptionId () const =0
 Return current DataDescription Id. More...
 
virtual void dataDescriptionIds (casacore::Vector< casacore::Int > &ddis) const =0
 
virtual void exposure (casacore::Vector< casacore::Double > &expo) const =0
 Return actual time interval. More...
 
virtual void feed1 (casacore::Vector< casacore::Int > &fd1) const =0
 Return feed1. More...
 
virtual void feed2 (casacore::Vector< casacore::Int > &fd2) const =0
 Return feed2. More...
 
virtual void fieldIds (casacore::Vector< casacore::Int > &) const =0
 Return the current FieldId. More...
 
virtual void arrayIds (casacore::Vector< casacore::Int > &) const =0
 Return the current ArrayId. More...
 
virtual casacore::String fieldName () const =0
 Return the current Field Name. More...
 
virtual void flag (casacore::Cube< casacore::Bool > &flags) const =0
 Return flag for each polarization, channel and row. More...
 
virtual void flag (casacore::Matrix< casacore::Bool > &flags) const =0
 Return flag for each channel & row. More...
 
virtual casacore::Bool flagCategoryExists () const =0
 Determine whether FLAG_CATEGORY is valid. More...
 
virtual void flagCategory (casacore::Array< casacore::Bool > &flagCategories) const =0
 Return flags for each polarization, channel, category, and row. More...
 
virtual void flagRow (casacore::Vector< casacore::Bool > &rowflags) const =0
 Return row flag. More...
 
virtual void observationId (casacore::Vector< casacore::Int > &obsids) const =0
 Return the OBSERVATION_IDs. More...
 
virtual casacore::Int polarizationId () const =0
 Return current Polarization Id. More...
 
virtual void processorId (casacore::Vector< casacore::Int > &procids) const =0
 Return the PROCESSOR_IDs. More...
 
virtual void scan (casacore::Vector< casacore::Int > &scans) const =0
 Return scan number. More...
 
virtual casacore::String sourceName () const =0
 Return the current Source Name. More...
 
virtual void stateId (casacore::Vector< casacore::Int > &stateids) const =0
 Return the STATE_IDs. More...
 
virtual void jonesC (casacore::Vector< casacore::SquareMatrix< casacore::Complex, 2 > > &cjones) const =0
 Return feed configuration matrix for specified antenna. More...
 
virtual casacore::Int polFrame () const =0
 Return frame for polarization (returns PolFrame enum) More...
 
virtual void sigma (casacore::Matrix< casacore::Float > &sigmat) const =0
 Return sigma. More...
 
virtual casacore::Int spectralWindow () const =0
 Return current SpectralWindow. More...
 
virtual void spectralWindows (casacore::Vector< casacore::Int > &spws) const =0
 
virtual void time (casacore::Vector< casacore::Double > &t) const =0
 Return MJD midpoint of interval. More...
 
virtual void timeCentroid (casacore::Vector< casacore::Double > &t) const =0
 Return MJD centroid of interval. More...
 
virtual void timeInterval (casacore::Vector< casacore::Double > &ti) const =0
 Return nominal time interval. More...
 
virtual void uvw (casacore::Matrix< casacore::Double > &uvwmat) const =0
 Return u,v and w (in meters) More...
 
virtual void visibilityCorrected (casacore::Cube< casacore::Complex > &vis) const =0
 Return the visibilities as found in the casacore::MS, casacore::Cube (npol,nchan,nrow). More...
 
virtual void visibilityModel (casacore::Cube< casacore::Complex > &vis) const =0
 
virtual void visibilityObserved (casacore::Cube< casacore::Complex > &vis) const =0
 
virtual void floatData (casacore::Cube< casacore::Float > &fcube) const =0
 Return FLOAT_DATA as a casacore::Cube (npol, nchan, nrow) if found in the MS. More...
 
virtual casacore::IPosition visibilityShape () const =0
 Return the visibility 4-vector of polarizations for each channel. More...
 
virtual void weight (casacore::Matrix< casacore::Float > &wtmat) const =0
 Return weight. More...
 
virtual casacore::Bool weightSpectrumExists () const =0
 Determine whether WEIGHT_SPECTRUM exists. More...
 
virtual casacore::Bool sigmaSpectrumExists () const =0
 Determine whether SIGMA_SPECTRUM exists. More...
 
virtual void weightSpectrum (casacore::Cube< casacore::Float > &wtsp) const =0
 Return weightspectrum (a weight for each channel) More...
 
virtual void sigmaSpectrum (casacore::Cube< casacore::Float > &wtsp) const =0
 Return sgimaspectrum (a sigma for each channel) More...
 
virtual void setWeightScaling (casacore::CountedPtr< WeightScaling > weightscaling)=0
 
virtual casacore::Bool hasWeightScaling () const =0
 
virtual casacore::CountedPtr
< WeightScaling
getWeightScaling () const =0
 
virtual casacore::Bool allBeamOffsetsZero () const =0
 Return the number of sub-intervals in the current chunk. More...
 
virtual casacore::MDirection azel0 (casacore::Double time) const =0
 Return the antenna AZ/EL casacore::Vector (nant) More...
 
virtual const casacore::Vector
< casacore::MDirection > & 
azel (casacore::Double time) const =0
 
virtual const casacore::Vector
< casacore::Float > & 
feed_pa (casacore::Double time) const =0
 Return feed parallactic angles casacore::Vector (nant) (1 feed/ant) More...
 
virtual const casacore::Cube
< casacore::RigidVector
< casacore::Double, 2 > > & 
getBeamOffsets () const =0
 Return a cube containing pairs of coordinate offsets for each receptor of each feed (values are in radians, coordinate system is fixed with antenna and is the same one as used to define the BEAM_OFFSET parameter in the feed table). More...
 
virtual std::pair< bool,
casacore::MDirection
getPointingAngle (int antenna, double time) const =0
 
virtual casacore::Double hourang (casacore::Double time) const =0
 Return the hour angle for the specified time. More...
 
virtual const casacore::Floatparang0 (casacore::Double time) const =0
 Return nominal parallactic angle at specified time (does not include feed position angle offset–see feed_pa) A global value for all antennas (e.g., small array) More...
 
virtual const casacore::Vector
< casacore::Float > & 
parang (casacore::Double time) const =0
 Per antenna: More...
 
virtual const
casacore::MDirection
phaseCenter () const =0
 Return the current phase center as an MDirection. More...
 
virtual const casacore::Cube
< casacore::Double > & 
receptorAngles () const =0
 Return receptor angles for all antennae and feeds First axis of the cube is a receptor number, 2nd is antennaId, 3rd is feedId Note: the method is intended to provide an access to MSIter::receptorAngles for VisBuffer in the multi-feed case. More...
 
virtual const casacore::Vector
< casacore::String > & 
antennaMounts () const =0
 +=========================+ | | | Chunk and MS Level Data | | | +=========================+ More...
 
virtual casacore::MEpoch getEpoch () const =0
 
virtual casacore::Vector<casacore::MPosition> antennaPositions () const;

casacore::MSDerivedValues makeMsd (); More...

 
virtual const VisImagingWeightgetImagingWeightGenerator () const =0
 
Return imaging weight (a weight for each channel)

virtual casacore::Matrix<casacore::Float> & imagingWeight (casacore::Matrix<casacore::Float> & wt) const = 0; More...

 
virtual casacore::MFrequency::Types getObservatoryFrequencyType () const =0
 
virtual casacore::MPosition getObservatoryPosition () const =0
 
virtual casacore::Vector
< casacore::Float
getReceptor0Angle ()=0
 
virtual casacore::Int getReportingFrameOfReference () const =0
 
virtual void setReportingFrameOfReference (casacore::Int frame)=0
 
virtual casacore::Vector
< casacore::Int
getCorrelations () const =0
 
virtual casacore::Vector
< casacore::Stokes::StokesTypes
getCorrelationTypesDefined () const =0
 
virtual casacore::Vector
< casacore::Stokes::StokesTypes
getCorrelationTypesSelected () const =0
 
virtual casacore::Vector
< casacore::Int
getChannels (casacore::Double time, casacore::Int frameOfReference, casacore::Int spectralWndow=-1, casacore::Int msId=-1) const =0
 
virtual casacore::Vector
< casacore::Double
getFrequencies (casacore::Double time, casacore::Int frameOfReference, casacore::Int spectralWndow=-1, casacore::Int msId=-1) const =0
 
virtual casacore::Int msId () const =0
 reference to actual ms in interator More...
 
virtual const
casacore::MeasurementSet
ms () const =0
 
virtual casacore::Int getNMs () const =0
 
virtual casacore::String msName () const =0
 Name of current nominal MS. More...
 
virtual void slurp () const =0
 Call to use the slurp i/o method for all scalar columns. More...
 
virtual const vi::SubtableColumnssubtableColumns () const =0
 Access the current casacore::ROMSColumns object in MSIter. More...
 
virtual const
SpectralWindowChannels & 
getSpectralWindowChannels (casacore::Int msId, casacore::Int spectralWindowId) const =0
 get back the selected spectral windows and spectral channels for current ms More...
 
virtual void useImagingWeight (const VisImagingWeight &imWgt)=0
 assign a VisImagingWeight object to this iterator More...
 
virtual casacore::Int nAntennas () const =0
 Return number of antennasm spws, polids, ddids. More...
 
virtual casacore::Int nDataDescriptionIds () const =0
 
virtual casacore::Int nPolarizationIds () const =0
 
virtual casacore::Int nRowsInChunk () const =0
 
virtual casacore::Int nRowsViWillSweep () const =0
 
virtual casacore::Int nSpectralWindows () const =0
 
virtual void writeBackChanges (VisBuffer2 *vb)=0
 +----------------—+ | | | Writeback Methods | | | +----------------—+ More...
 
virtual void writeFlag (const casacore::Cube< casacore::Bool > &flag)=0
 Write/modify the flags in the data. More...
 
virtual void writeFlagRow (const casacore::Vector< casacore::Bool > &rowflags)=0
 Write/modify the flag row column = 0; dimension casacore::Vector (nrow) More...
 
virtual void writeFlagCategory (const casacore::Array< casacore::Bool > &fc)=0
 
virtual void writeVisCorrected (const casacore::Cube< casacore::Complex > &vis)=0
 Write/modify the visibilities. More...
 
virtual void writeVisModel (const casacore::Cube< casacore::Complex > &vis)=0
 
virtual void writeVisObserved (const casacore::Cube< casacore::Complex > &vis)=0
 
virtual void writeWeight (const casacore::Matrix< casacore::Float > &wt)=0
 Write/modify the weights. More...
 
virtual void writeWeightSpectrum (const casacore::Cube< casacore::Float > &wtsp)=0
 
Write/modify the weightMat

virtual void writeWeightMat (const casacore::Matrix<casacore::Float> & wtmat) = 0; More...

 
virtual void initWeightSpectrum (const casacore::Cube< casacore::Float > &)
 Initialize the weightSpectrum. More...
 
virtual void writeSigmaSpectrum (const casacore::Cube< casacore::Float > &sigsp)=0
 Write/modify the sigmaSpectrum. More...
 
virtual void initSigmaSpectrum (const casacore::Cube< casacore::Float > &)
 Initialize the sigmaSpectrum. More...
 
virtual void writeSigma (const casacore::Matrix< casacore::Float > &sig)=0
 Write/modify the Sigma. More...
 
virtual void writeModel (const casacore::RecordInterface &rec, casacore::Bool iscomponentlist=true, casacore::Bool incremental=false)=0
 Write/modify the ncorr x nrow SigmaMat. More...
 
virtual const
casacore::ROMSAntennaColumns
antennaSubtablecols () const =0
 
virtual const
casacore::ROMSDataDescColumns
dataDescriptionSubtablecols () const =0
 Access to dataDescription subtable. More...
 
virtual const
casacore::ROMSFeedColumns
feedSubtablecols () const =0
 Access to feed subtable. More...
 
virtual const
casacore::ROMSFieldColumns
fieldSubtablecols () const =0
 Access to field subtable. More...
 
virtual const
casacore::ROMSFlagCmdColumns
flagCmdSubtablecols () const =0
 Access to flagCmd subtable. More...
 
virtual const
casacore::ROMSHistoryColumns
historySubtablecols () const =0
 Access to history subtable. More...
 
virtual const
casacore::ROMSObservationColumns
observationSubtablecols () const =0
 Access to observation subtable. More...
 
virtual const
casacore::ROMSPointingColumns
pointingSubtablecols () const =0
 Access to pointing subtable. More...
 
virtual const
casacore::ROMSPolarizationColumns
polarizationSubtablecols () const =0
 Access to polarization subtable. More...
 
virtual const
casacore::ROMSProcessorColumns
processorSubtablecols () const =0
 Access to processor subtable. More...
 
virtual const
casacore::ROMSSpWindowColumns
spectralWindowSubtablecols () const =0
 Access to spectralWindow subtable. More...
 
virtual const
casacore::ROMSStateColumns
stateSubtablecols () const =0
 Access to state subtable. More...
 
virtual const
casacore::ROMSDopplerColumns
dopplerSubtablecols () const =0
 Access to doppler subtable. More...
 
virtual const
casacore::ROMSFreqOffsetColumns
freqOffsetSubtablecols () const =0
 Access to freqOffset subtable. More...
 
virtual const
casacore::ROMSSourceColumns
sourceSubtablecols () const =0
 Access to source subtable. More...
 
virtual const
casacore::ROMSSysCalColumns
sysCalSubtablecols () const =0
 Access to sysCal subtable. More...
 
virtual const
casacore::ROMSWeatherColumns
weatherSubtablecols () const =0
 Access to weather subtable. More...
 

Static Public Member Functions

static void azel0Calculate (casacore::Double time, casacore::MSDerivedValues &msd, casacore::MDirection &azel0, const casacore::MEpoch &mEpoch0)
 
static void azelCalculate (casacore::Double time, casacore::MSDerivedValues &msd, casacore::Vector< casacore::MDirection > &azel, casacore::Int nAnt, const casacore::MEpoch &mEpoch0)
 
static casacore::Vector
< casacore::Float
feed_paCalculate (casacore::Double time, casacore::MSDerivedValues &msd, casacore::Int nAntennas, const casacore::MEpoch &mEpoch0, const casacore::Vector< casacore::Float > &receptor0Angle)
 
static casacore::Double hourangCalculate (casacore::Double time, casacore::MSDerivedValues &msd, const casacore::MEpoch &mEpoch0)
 
static casacore::Float parang0Calculate (casacore::Double time, casacore::MSDerivedValues &msd, const casacore::MEpoch &epoch0)
 
static casacore::Vector
< casacore::Float
parangCalculate (casacore::Double time, casacore::MSDerivedValues &msd, int nAntennas, const casacore::MEpoch mEpoch0)
 

Protected Member Functions

virtual VisBuffer2createAttachedVisBuffer (VisBufferOptions options)
 
VisBuffer2getVisBuffer (const VisibilityIterator2 *) const
 

Static Protected Member Functions

static void doWeightScaling (casacore::Bool hasWeightScaling, WeightScaling *scaling, const casacore::Array< casacore::Float > &unscaled, casacore::Array< casacore::Float > &scaled)
 

Friends

class VisibilityIterator2
 

Detailed Description

VisibilityIterator2 iterates through one or more readonly MeasurementSets.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

The VisibilityIterator2 is a readonly iterator returning visibilities

Synopsis

VisibilityIterator2 provides iteration with various sort orders for one or more MSs. It has member functions to retrieve the fields commonly needed in synthesis calibration and imaging.

One should use VisBuffer to access chunks of data.

Example

Motivation

For imaging and calibration you need to access an casacore::MS in some consistent order (by field, spectralwindow, time interval etc.). This class provides that access.

Thrown Exceptions

To Do

Definition at line 152 of file ViImplementation2.h.

Constructor & Destructor Documentation

casa::vi::ViImplementation2::ViImplementation2 ( const ViImplementation2 )
delete

make noncopyable...

casa::vi::ViImplementation2::ViImplementation2 ( )
inline

Definition at line 161 of file ViImplementation2.h.

virtual casa::vi::ViImplementation2::~ViImplementation2 ( )
inlinevirtual

Destructor.

Definition at line 165 of file ViImplementation2.h.

Member Function Documentation

virtual casacore::Bool casa::vi::ViImplementation2::allBeamOffsetsZero ( ) const
pure virtual

Return the number of sub-intervals in the current chunk.

+---------------------—+ | | | Angular Data Providers | | | +---------------------—+

true if all elements of the cube returned by getBeamOffsets are zero

Implemented in casa::vi::TransformingVi2, casa::vi::VisibilityIteratorImpl2, and casa::vi::SimpleSimVi2.

virtual void casa::vi::ViImplementation2::antenna1 ( casacore::Vector< casacore::Int > &  ant1) const
pure virtual

+=========================+ | | | Subchunk Data Accessors | | | +=========================+

Return antenna1

Implemented in casa::vi::VisibilityIteratorImplAsync2, casa::vi::VisibilityIteratorImpl2, casa::vi::SimpleSimVi2, casa::vi::TransformingVi2, casa::vi::FiltrationTVI< Filter >, and casa::vi::AveragingTvi2.

virtual void casa::vi::ViImplementation2::antenna2 ( casacore::Vector< casacore::Int > &  ant2) const
pure virtual
virtual const casacore::Vector<casacore::String>& casa::vi::ViImplementation2::antennaMounts ( ) const
pure virtual

+=========================+ | | | Chunk and MS Level Data | | | +=========================+

return a string mount identifier for each antenna

Implemented in casa::vi::TransformingVi2, casa::vi::SimpleSimVi2, casa::vi::VisibilityIteratorImplAsync2, and casa::vi::VisibilityIteratorImpl2.

virtual const casacore::ROMSAntennaColumns& casa::vi::ViImplementation2::antennaSubtablecols ( ) const
pure virtual
virtual void casa::vi::ViImplementation2::arrayIds ( casacore::Vector< casacore::Int > &  ) const
pure virtual
virtual const casacore::Vector<casacore::MDirection>& casa::vi::ViImplementation2::azel ( casacore::Double  time) const
pure virtual
virtual casacore::MDirection casa::vi::ViImplementation2::azel0 ( casacore::Double  time) const
pure virtual
static void casa::vi::ViImplementation2::azel0Calculate ( casacore::Double  time,
casacore::MSDerivedValues msd,
casacore::MDirection azel0,
const casacore::MEpoch mEpoch0 
)
static
static void casa::vi::ViImplementation2::azelCalculate ( casacore::Double  time,
casacore::MSDerivedValues msd,
casacore::Vector< casacore::MDirection > &  azel,
casacore::Int  nAnt,
const casacore::MEpoch mEpoch0 
)
static
virtual void casa::vi::ViImplementation2::corrType ( casacore::Vector< casacore::Int > &  corrTypes) const
pure virtual
virtual VisBuffer2* casa::vi::ViImplementation2::createAttachedVisBuffer ( VisBufferOptions  options)
protectedvirtual
virtual casacore::Int casa::vi::ViImplementation2::dataDescriptionId ( ) const
pure virtual
virtual void casa::vi::ViImplementation2::dataDescriptionIds ( casacore::Vector< casacore::Int > &  ddis) const
pure virtual
virtual const casacore::ROMSDataDescColumns& casa::vi::ViImplementation2::dataDescriptionSubtablecols ( ) const
pure virtual

Access to dataDescription subtable.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual const casacore::ROMSDopplerColumns& casa::vi::ViImplementation2::dopplerSubtablecols ( ) const
pure virtual

Access to doppler subtable.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

static void casa::vi::ViImplementation2::doWeightScaling ( casacore::Bool  hasWeightScaling,
WeightScaling scaling,
const casacore::Array< casacore::Float > &  unscaled,
casacore::Array< casacore::Float > &  scaled 
)
staticprotected
virtual casacore::Bool casa::vi::ViImplementation2::existsColumn ( VisBufferComponent2  id) const
pure virtual
virtual void casa::vi::ViImplementation2::exposure ( casacore::Vector< casacore::Double > &  expo) const
pure virtual
virtual void casa::vi::ViImplementation2::feed1 ( casacore::Vector< casacore::Int > &  fd1) const
pure virtual
virtual void casa::vi::ViImplementation2::feed2 ( casacore::Vector< casacore::Int > &  fd2) const
pure virtual
virtual const casacore::Vector<casacore::Float>& casa::vi::ViImplementation2::feed_pa ( casacore::Double  time) const
pure virtual

Return feed parallactic angles casacore::Vector (nant) (1 feed/ant)

Implemented in casa::vi::TransformingVi2, casa::vi::VisibilityIteratorImpl2, and casa::vi::SimpleSimVi2.

static casacore::Vector<casacore::Float> casa::vi::ViImplementation2::feed_paCalculate ( casacore::Double  time,
casacore::MSDerivedValues msd,
casacore::Int  nAntennas,
const casacore::MEpoch mEpoch0,
const casacore::Vector< casacore::Float > &  receptor0Angle 
)
static
virtual const casacore::ROMSFeedColumns& casa::vi::ViImplementation2::feedSubtablecols ( ) const
pure virtual
virtual void casa::vi::ViImplementation2::fieldIds ( casacore::Vector< casacore::Int > &  ) const
pure virtual
virtual casacore::String casa::vi::ViImplementation2::fieldName ( ) const
pure virtual

Return the current Field Name.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual const casacore::ROMSFieldColumns& casa::vi::ViImplementation2::fieldSubtablecols ( ) const
pure virtual
virtual void casa::vi::ViImplementation2::flag ( casacore::Cube< casacore::Bool > &  flags) const
pure virtual
virtual void casa::vi::ViImplementation2::flag ( casacore::Matrix< casacore::Bool > &  flags) const
pure virtual
virtual void casa::vi::ViImplementation2::flagCategory ( casacore::Array< casacore::Bool > &  flagCategories) const
pure virtual
virtual casacore::Bool casa::vi::ViImplementation2::flagCategoryExists ( ) const
pure virtual

Determine whether FLAG_CATEGORY is valid.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, casa::vi::SimpleSimVi2, and casa::vi::FreqAxisTVI.

virtual const casacore::ROMSFlagCmdColumns& casa::vi::ViImplementation2::flagCmdSubtablecols ( ) const
pure virtual

Access to flagCmd subtable.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual void casa::vi::ViImplementation2::flagRow ( casacore::Vector< casacore::Bool > &  rowflags) const
pure virtual
virtual void casa::vi::ViImplementation2::floatData ( casacore::Cube< casacore::Float > &  fcube) const
pure virtual
virtual const casacore::ROMSFreqOffsetColumns& casa::vi::ViImplementation2::freqOffsetSubtablecols ( ) const
pure virtual

Access to freqOffset subtable.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual const casacore::Cube<casacore::RigidVector<casacore::Double, 2> >& casa::vi::ViImplementation2::getBeamOffsets ( ) const
pure virtual

Return a cube containing pairs of coordinate offsets for each receptor of each feed (values are in radians, coordinate system is fixed with antenna and is the same one as used to define the BEAM_OFFSET parameter in the feed table).

The cube axes are receptor, antenna, feed.

Implemented in casa::vi::TransformingVi2, casa::vi::VisibilityIteratorImplAsync2, casa::vi::SimpleSimVi2, and casa::vi::VisibilityIteratorImpl2.

virtual casacore::Vector<casacore::Int> casa::vi::ViImplementation2::getChannels ( casacore::Double  time,
casacore::Int  frameOfReference,
casacore::Int  spectralWndow = -1,
casacore::Int  msId = -1 
) const
pure virtual
virtual casacore::Vector<casacore::Int> casa::vi::ViImplementation2::getCorrelations ( ) const
pure virtual
virtual casacore::Vector<casacore::Stokes::StokesTypes> casa::vi::ViImplementation2::getCorrelationTypesDefined ( ) const
pure virtual
virtual casacore::Vector<casacore::Stokes::StokesTypes> casa::vi::ViImplementation2::getCorrelationTypesSelected ( ) const
pure virtual
virtual casacore::MEpoch casa::vi::ViImplementation2::getEpoch ( ) const
pure virtual

virtual casacore::Vector<casacore::MPosition> antennaPositions () const;

casacore::MSDerivedValues makeMsd ();

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::VisibilityIteratorImplAsync2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual casacore::Vector<casacore::Double> casa::vi::ViImplementation2::getFrequencies ( casacore::Double  time,
casacore::Int  frameOfReference,
casacore::Int  spectralWndow = -1,
casacore::Int  msId = -1 
) const
pure virtual
virtual const VisImagingWeight& casa::vi::ViImplementation2::getImagingWeightGenerator ( ) const
pure virtual

Return imaging weight (a weight for each channel)

virtual casacore::Matrix<casacore::Float> & imagingWeight (casacore::Matrix<casacore::Float> & wt) const = 0;

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, casa::vi::VisibilityIteratorImplAsync2, casa::vi::SimpleSimVi2, and casa::vi::PolAverageTVI.

virtual casacore::Double casa::vi::ViImplementation2::getInterval ( ) const
pure virtual

Return the time interval (in seconds) used for iteration.

This is not the same as the INTERVAL column. Setting the the interval requires calling origin chunks before performing further iterator.

Implemented in casa::vi::SimpleSimVi2, casa::vi::VisibilityIteratorImpl2, and casa::vi::TransformingVi2.

virtual casacore::Int casa::vi::ViImplementation2::getNMs ( ) const
pure virtual
virtual casacore::MFrequency::Types casa::vi::ViImplementation2::getObservatoryFrequencyType ( ) const
pure virtual
virtual casacore::MPosition casa::vi::ViImplementation2::getObservatoryPosition ( ) const
pure virtual
virtual std::pair<bool, casacore::MDirection> casa::vi::ViImplementation2::getPointingAngle ( int  antenna,
double  time 
) const
pure virtual
virtual casacore::Vector<casacore::Float> casa::vi::ViImplementation2::getReceptor0Angle ( )
pure virtual
virtual casacore::Int casa::vi::ViImplementation2::getReportingFrameOfReference ( ) const
pure virtual
virtual void casa::vi::ViImplementation2::getRowIds ( casacore::Vector< casacore::uInt > &  rowids) const
pure virtual

Return the row ids as from the original root table.

This is useful to find correspondance between a given row in this iteration to the original ms row

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::VisibilityIteratorImplAsync2, casa::vi::SimpleSimVi2, casa::vi::TransformingVi2, casa::vi::FiltrationTVI< Filter >, and casa::vi::AveragingTvi2.

virtual const SortColumns& casa::vi::ViImplementation2::getSortColumns ( ) const
pure virtual
virtual const SpectralWindowChannels& casa::vi::ViImplementation2::getSpectralWindowChannels ( casacore::Int  msId,
casacore::Int  spectralWindowId 
) const
pure virtual

get back the selected spectral windows and spectral channels for current ms

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, casa::vi::VisibilityIteratorImplAsync2, and casa::vi::SimpleSimVi2.

virtual Subchunk casa::vi::ViImplementation2::getSubchunkId ( ) const
pure virtual
virtual VisBuffer2* casa::vi::ViImplementation2::getVisBuffer ( ) const
pure virtual
VisBuffer2* casa::vi::ViImplementation2::getVisBuffer ( const VisibilityIterator2 ) const
protected
virtual casacore::CountedPtr<WeightScaling> casa::vi::ViImplementation2::getWeightScaling ( ) const
pure virtual
virtual casacore::Bool casa::vi::ViImplementation2::hasWeightScaling ( ) const
pure virtual
virtual const casacore::ROMSHistoryColumns& casa::vi::ViImplementation2::historySubtablecols ( ) const
pure virtual

Access to history subtable.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual casacore::Double casa::vi::ViImplementation2::hourang ( casacore::Double  time) const
pure virtual

Return the hour angle for the specified time.

Implemented in casa::vi::TransformingVi2, casa::vi::VisibilityIteratorImpl2, and casa::vi::SimpleSimVi2.

static casacore::Double casa::vi::ViImplementation2::hourangCalculate ( casacore::Double  time,
casacore::MSDerivedValues msd,
const casacore::MEpoch mEpoch0 
)
static
virtual void casa::vi::ViImplementation2::initSigmaSpectrum ( const casacore::Cube< casacore::Float > &  )
inlinevirtual

Initialize the sigmaSpectrum.

Reimplemented in casa::vi::VisibilityIteratorImpl2, and casa::vi::StatWtTVI.

Definition at line 619 of file ViImplementation2.h.

virtual void casa::vi::ViImplementation2::initWeightSpectrum ( const casacore::Cube< casacore::Float > &  )
inlinevirtual

Initialize the weightSpectrum.

Reimplemented in casa::vi::VisibilityIteratorImpl2, casa::vi::SimpleSimVi2, and casa::vi::StatWtTVI.

Definition at line 613 of file ViImplementation2.h.

virtual casacore::Bool casa::vi::ViImplementation2::isNewArrayId ( ) const
pure virtual
virtual casacore::Bool casa::vi::ViImplementation2::isNewFieldId ( ) const
pure virtual
virtual casacore::Bool casa::vi::ViImplementation2::isNewMs ( ) const
pure virtual
virtual casacore::Bool casa::vi::ViImplementation2::isNewSpectralWindow ( ) const
pure virtual
virtual casacore::Bool casa::vi::ViImplementation2::isWritable ( ) const
pure virtual
virtual void casa::vi::ViImplementation2::jonesC ( casacore::Vector< casacore::SquareMatrix< casacore::Complex, 2 > > &  cjones) const
pure virtual
virtual casacore::String casa::vi::ViImplementation2::keyChange ( ) const
pure virtual

Report Name of slowest column that changes at end of current iteration.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::SimpleSimVi2, and casa::vi::TransformingVi2.

Referenced by casa::vi::TransformingVi2::keyChange().

virtual casacore::Bool casa::vi::ViImplementation2::more ( ) const
pure virtual
virtual casacore::Bool casa::vi::ViImplementation2::moreChunks ( ) const
pure virtual
virtual const casacore::MeasurementSet& casa::vi::ViImplementation2::ms ( ) const
pure virtual
virtual casacore::Int casa::vi::ViImplementation2::msId ( ) const
pure virtual
virtual casacore::String casa::vi::ViImplementation2::msName ( ) const
pure virtual

Name of current nominal MS.

Implemented in casa::vi::TransformingVi2, casa::vi::SimpleSimVi2, and casa::vi::VisibilityIteratorImpl2.

virtual casacore::Int casa::vi::ViImplementation2::nAntennas ( ) const
pure virtual

Return number of antennasm spws, polids, ddids.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual casacore::Int casa::vi::ViImplementation2::nDataDescriptionIds ( ) const
pure virtual
virtual void casa::vi::ViImplementation2::next ( )
pure virtual
virtual void casa::vi::ViImplementation2::nextChunk ( )
pure virtual
virtual casacore::Int casa::vi::ViImplementation2::nPolarizationIds ( ) const
pure virtual
virtual casacore::Int casa::vi::ViImplementation2::nRows ( ) const
pure virtual
virtual casacore::Int casa::vi::ViImplementation2::nRowsInChunk ( ) const
pure virtual
virtual casacore::Int casa::vi::ViImplementation2::nRowsViWillSweep ( ) const
pure virtual
virtual casacore::Int casa::vi::ViImplementation2::nSpectralWindows ( ) const
pure virtual
virtual void casa::vi::ViImplementation2::observationId ( casacore::Vector< casacore::Int > &  obsids) const
pure virtual
virtual const casacore::ROMSObservationColumns& casa::vi::ViImplementation2::observationSubtablecols ( ) const
pure virtual

Access to observation subtable.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

ViImplementation2& casa::vi::ViImplementation2::operator= ( const ViImplementation2 )
delete
virtual void casa::vi::ViImplementation2::origin ( )
pure virtual
virtual void casa::vi::ViImplementation2::originChunks ( casacore::Bool  forceRewind = false)
pure virtual
virtual const casacore::Vector<casacore::Float>& casa::vi::ViImplementation2::parang ( casacore::Double  time) const
pure virtual
virtual const casacore::Float& casa::vi::ViImplementation2::parang0 ( casacore::Double  time) const
pure virtual

Return nominal parallactic angle at specified time (does not include feed position angle offset–see feed_pa) A global value for all antennas (e.g., small array)

Implemented in casa::vi::TransformingVi2, casa::vi::VisibilityIteratorImpl2, and casa::vi::SimpleSimVi2.

static casacore::Float casa::vi::ViImplementation2::parang0Calculate ( casacore::Double  time,
casacore::MSDerivedValues msd,
const casacore::MEpoch epoch0 
)
static
static casacore::Vector<casacore::Float> casa::vi::ViImplementation2::parangCalculate ( casacore::Double  time,
casacore::MSDerivedValues msd,
int  nAntennas,
const casacore::MEpoch  mEpoch0 
)
static
virtual const casacore::MDirection& casa::vi::ViImplementation2::phaseCenter ( ) const
pure virtual
virtual const casacore::ROMSPointingColumns& casa::vi::ViImplementation2::pointingSubtablecols ( ) const
pure virtual

Access to pointing subtable.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual casacore::Int casa::vi::ViImplementation2::polarizationId ( ) const
pure virtual
virtual const casacore::ROMSPolarizationColumns& casa::vi::ViImplementation2::polarizationSubtablecols ( ) const
pure virtual

Access to polarization subtable.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual casacore::Int casa::vi::ViImplementation2::polFrame ( ) const
pure virtual

Return frame for polarization (returns PolFrame enum)

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::VisibilityIteratorImplAsync2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual void casa::vi::ViImplementation2::processorId ( casacore::Vector< casacore::Int > &  procids) const
pure virtual
virtual const casacore::ROMSProcessorColumns& casa::vi::ViImplementation2::processorSubtablecols ( ) const
pure virtual

Access to processor subtable.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual const casacore::Cube<casacore::Double>& casa::vi::ViImplementation2::receptorAngles ( ) const
pure virtual

Return receptor angles for all antennae and feeds First axis of the cube is a receptor number, 2nd is antennaId, 3rd is feedId Note: the method is intended to provide an access to MSIter::receptorAngles for VisBuffer in the multi-feed case.

It may be worth to change the interface of feed_pa to return the information for all feeds.

Implemented in casa::vi::TransformingVi2, casa::vi::SimpleSimVi2, casa::vi::VisibilityIteratorImplAsync2, and casa::vi::VisibilityIteratorImpl2.

virtual void casa::vi::ViImplementation2::scan ( casacore::Vector< casacore::Int > &  scans) const
pure virtual
virtual void casa::vi::ViImplementation2::setFrequencySelections ( const FrequencySelections selection)
pure virtual

Select the channels to be returned.

Requires calling originChunks before performing additional iteration.

Implemented in casa::vi::VisibilityIteratorImplAsync2, casa::vi::VisibilityIteratorImpl2, casa::vi::SimpleSimVi2, and casa::vi::TransformingVi2.

virtual void casa::vi::ViImplementation2::setInterval ( casacore::Double  timeInterval)
pure virtual
virtual void casa::vi::ViImplementation2::setReportingFrameOfReference ( casacore::Int  frame)
pure virtual
virtual void casa::vi::ViImplementation2::setRowBlocking ( casacore::Int  nRows = 0)
pure virtual

Set the 'blocking' size for returning data.

With the default (0) only a single integration is returned at a time, this is what is currently required for the calibration software. With blocking set, up to nRows can be returned in one go. The chunk size determines the actual maximum.

Implemented in casa::vi::VisibilityIteratorImplAsync2, casa::vi::SimpleSimVi2, casa::vi::VisibilityIteratorImpl2, and casa::vi::TransformingVi2.

virtual void casa::vi::ViImplementation2::setWeightScaling ( casacore::CountedPtr< WeightScaling weightscaling)
pure virtual
virtual void casa::vi::ViImplementation2::sigma ( casacore::Matrix< casacore::Float > &  sigmat) const
pure virtual
virtual void casa::vi::ViImplementation2::sigmaSpectrum ( casacore::Cube< casacore::Float > &  wtsp) const
pure virtual
virtual casacore::Bool casa::vi::ViImplementation2::sigmaSpectrumExists ( ) const
pure virtual
virtual void casa::vi::ViImplementation2::slurp ( ) const
pure virtual

Call to use the slurp i/o method for all scalar columns.

This will set the casacore::BucketCache cache size to the full column length and cause the full column to be cached in memory, if any value of the column is used. In case of out-of-memory, it will automatically fall-back on the smaller cache size. Slurping the column is to be considered as a work-around for the casacore::Table i/o code, which uses casacore::BucketCache and performs extremely bad for random access. Slurping is useful when iterating non-sequentially an casacore::MS or parts of an casacore::MS, it is not tested with multiple MSs.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, casa::vi::VisibilityIteratorImplAsync2, and casa::vi::SimpleSimVi2.

virtual casacore::String casa::vi::ViImplementation2::sourceName ( ) const
pure virtual

Return the current Source Name.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual const casacore::ROMSSourceColumns& casa::vi::ViImplementation2::sourceSubtablecols ( ) const
pure virtual
virtual casacore::Int casa::vi::ViImplementation2::spectralWindow ( ) const
pure virtual
virtual void casa::vi::ViImplementation2::spectralWindows ( casacore::Vector< casacore::Int > &  spws) const
pure virtual
virtual const casacore::ROMSSpWindowColumns& casa::vi::ViImplementation2::spectralWindowSubtablecols ( ) const
pure virtual

Access to spectralWindow subtable.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual void casa::vi::ViImplementation2::stateId ( casacore::Vector< casacore::Int > &  stateids) const
pure virtual
virtual const casacore::ROMSStateColumns& casa::vi::ViImplementation2::stateSubtablecols ( ) const
pure virtual
virtual const vi::SubtableColumns& casa::vi::ViImplementation2::subtableColumns ( ) const
pure virtual
virtual const casacore::ROMSSysCalColumns& casa::vi::ViImplementation2::sysCalSubtablecols ( ) const
pure virtual
virtual void casa::vi::ViImplementation2::time ( casacore::Vector< casacore::Double > &  t) const
pure virtual
virtual void casa::vi::ViImplementation2::timeCentroid ( casacore::Vector< casacore::Double > &  t) const
pure virtual
virtual void casa::vi::ViImplementation2::timeInterval ( casacore::Vector< casacore::Double > &  ti) const
pure virtual
virtual void casa::vi::ViImplementation2::useImagingWeight ( const VisImagingWeight imWgt)
pure virtual
virtual void casa::vi::ViImplementation2::uvw ( casacore::Matrix< casacore::Double > &  uvwmat) const
pure virtual
virtual casacore::String casa::vi::ViImplementation2::ViiType ( ) const
pure virtual
virtual void casa::vi::ViImplementation2::visibilityCorrected ( casacore::Cube< casacore::Complex > &  vis) const
pure virtual
virtual void casa::vi::ViImplementation2::visibilityModel ( casacore::Cube< casacore::Complex > &  vis) const
pure virtual
virtual void casa::vi::ViImplementation2::visibilityObserved ( casacore::Cube< casacore::Complex > &  vis) const
pure virtual
virtual casacore::IPosition casa::vi::ViImplementation2::visibilityShape ( ) const
pure virtual

Return the visibility 4-vector of polarizations for each channel.

If the casacore::MS doesn't contain all polarizations, it is assumed it contains one or two parallel hand polarizations.

virtual void visibilityCorrected (casacore::Matrix<CStokesVector> & vis) const = 0; virtual void visibilityModel (casacore::Matrix<CStokesVector> & vis) const = 0; virtual void visibilityObserved (casacore::Matrix<CStokesVector> & vis) const = 0;

Return the shape of the visibility Cube

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::VisibilityIteratorImplAsync2, casa::vi::TransformingVi2, casa::vi::FiltrationTVI< Filter >, casa::vi::SimpleSimVi2, and casa::vi::PolAverageTVI.

virtual const casacore::ROMSWeatherColumns& casa::vi::ViImplementation2::weatherSubtablecols ( ) const
pure virtual

Access to weather subtable.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual void casa::vi::ViImplementation2::weight ( casacore::Matrix< casacore::Float > &  wtmat) const
pure virtual
virtual void casa::vi::ViImplementation2::weightSpectrum ( casacore::Cube< casacore::Float > &  wtsp) const
pure virtual
virtual casacore::Bool casa::vi::ViImplementation2::weightSpectrumExists ( ) const
pure virtual
virtual void casa::vi::ViImplementation2::writeBackChanges ( VisBuffer2 vb)
pure virtual

+----------------—+ | | | Writeback Methods | | | +----------------—+

This method writes back any changed (dirty) components of the provided VisBuffer and is the preferred method for writing data out.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::VisibilityIteratorImplAsync2, casa::vi::TransformingVi2, casa::vi::SimpleSimVi2, casa::vi::FinalTvi2, and casa::vi::StatWtTVI.

virtual void casa::vi::ViImplementation2::writeFlag ( const casacore::Cube< casacore::Bool > &  flag)
pure virtual

Write/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. virtual void writeFlag (const casacore::Matrix<casacore::Bool> & flag) = 0;

Write/modify the flags in the data. This writes 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 ()).

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, casa::vi::VisibilityIteratorImplAsync2, casa::vi::SimpleSimVi2, casa::vi::FinalTvi2, casa::vi::ChannelAverageTVI, casa::vi::AveragingTvi2, and casa::MSTransformIterator.

virtual void casa::vi::ViImplementation2::writeFlagCategory ( const casacore::Array< casacore::Bool > &  fc)
pure virtual
virtual void casa::vi::ViImplementation2::writeFlagRow ( const casacore::Vector< casacore::Bool > &  rowflags)
pure virtual
virtual void casa::vi::ViImplementation2::writeModel ( const casacore::RecordInterface rec,
casacore::Bool  iscomponentlist = true,
casacore::Bool  incremental = false 
)
pure virtual

Write/modify the ncorr x nrow SigmaMat.

virtual void writeSigmaMat (const casacore::Matrix<casacore::Float> & sigmat) = 0;

Write the information needed to generate on-the-fly model visibilities.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, casa::vi::SimpleSimVi2, and casa::vi::FinalTvi2.

virtual void casa::vi::ViImplementation2::writeSigma ( const casacore::Matrix< casacore::Float > &  sig)
pure virtual
virtual void casa::vi::ViImplementation2::writeSigmaSpectrum ( const casacore::Cube< casacore::Float > &  sigsp)
pure virtual

Write/modify the sigmaSpectrum.

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, and casa::vi::SimpleSimVi2.

virtual void casa::vi::ViImplementation2::writeVisCorrected ( const casacore::Cube< casacore::Complex > &  vis)
pure virtual

Write/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. virtual void writeVisCorrected (const casacore::Matrix<CStokesVector> & visibilityStokes) = 0; virtual void writeVisModel (const casacore::Matrix<CStokesVector> & visibilityStokes) = 0; virtual void writeVisObserved (const casacore::Matrix<CStokesVector> & visibilityStokes) = 0;

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

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, casa::vi::VisibilityIteratorImplAsync2, casa::vi::SimpleSimVi2, and casa::vi::FinalTvi2.

virtual void casa::vi::ViImplementation2::writeVisModel ( const casacore::Cube< casacore::Complex > &  vis)
pure virtual
virtual void casa::vi::ViImplementation2::writeVisObserved ( const casacore::Cube< casacore::Complex > &  vis)
pure virtual
virtual void casa::vi::ViImplementation2::writeWeight ( const casacore::Matrix< casacore::Float > &  wt)
pure virtual
virtual void casa::vi::ViImplementation2::writeWeightSpectrum ( const casacore::Cube< casacore::Float > &  wtsp)
pure virtual

Write/modify the weightMat

virtual void writeWeightMat (const casacore::Matrix<casacore::Float> & wtmat) = 0;

Write/modify the weightSpectrum

Implemented in casa::vi::VisibilityIteratorImpl2, casa::vi::TransformingVi2, casa::vi::VisibilityIteratorImplAsync2, casa::vi::SimpleSimVi2, and casa::vi::FinalTvi2.

Friends And Related Function Documentation

friend class VisibilityIterator2
friend

Definition at line 154 of file ViImplementation2.h.


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