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

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

#include <ViImplementation2.h>

Inheritance diagram for casa::vi::ViImplementation2:
casa::vi::TransformingVi2 casa::vi::VisibilityIteratorImpl2 casa::vi::AveragingTvi2 casa::vi::FinalTvi2 casa::vi::VisibilityIteratorImplAsync2

List of all members.

Public Member Functions

 ViImplementation2 ()
virtual ~ViImplementation2 ()
 Destructor.
virtual void origin ()=0
 +==================================+ | | | Iteration Control and Monitoring | | | +==================================+
virtual Bool more () const =0
virtual void next ()=0
virtual Subchunk getSubchunkId () const =0
virtual void originChunks (Bool forceRewind=False)=0
 Methods to control chunk iterator.
virtual Bool moreChunks () const =0
virtual void nextChunk ()=0
virtual Bool isWritable () const =0
virtual Double getInterval () const =0
 Return the time interval (in seconds) used for iteration.
virtual void setInterval (Double timeInterval)=0
virtual void setFrequencySelections (const FrequencySelections &selection)=0
 Select the channels to be returned.
virtual void setRowBlocking (Int nRows=0)=0
 Set the 'blocking' size for returning data.
virtual Bool existsColumn (VisBufferComponent2 id) const =0
virtual const Block< Int > & getSortColumns () const =0
virtual Bool isNewArrayId () const =0
virtual Bool isNewFieldId () const =0
virtual Bool isNewMs () const =0
virtual Bool isNewSpectralWindow () const =0
virtual Int nRows () const =0
 Return the number of rows in the current iteration.
virtual void getRowIds (Vector< uInt > &rowids) const =0
 Return the row ids as from the original root table.
virtual VisBuffer2getVisBuffer ()=0
virtual void antenna1 (Vector< Int > &ant1) const =0
 +=========================+ | | | Subchunk Data Accessors | | | +=========================+
virtual void antenna2 (Vector< Int > &ant2) const =0
 Return antenna2.
virtual void corrType (Vector< Int > &corrTypes) const =0
 Return the correlation type (returns Stokes enums)
virtual Int dataDescriptionId () const =0
 Return current DataDescription Id.
virtual void dataDescriptionIds (Vector< Int > &ddis) const =0
virtual void exposure (Vector< Double > &expo) const =0
 Return actual time interval.
virtual void feed1 (Vector< Int > &fd1) const =0
 Return feed1.
virtual void feed2 (Vector< Int > &fd2) const =0
 Return feed2.
virtual void fieldIds (Vector< Int > &) const =0
 Return the current FieldId.
virtual void arrayIds (Vector< Int > &) const =0
 Return the current ArrayId.
virtual String fieldName () const =0
 Return the current Field Name.
virtual void flag (Cube< Bool > &flags) const =0
 Return flag for each polarization, channel and row.
virtual void flag (Matrix< Bool > &flags) const =0
 Return flag for each channel & row.
virtual Bool flagCategoryExists () const =0
 Determine whether FLAG_CATEGORY is valid.
virtual void flagCategory (Array< Bool > &flagCategories) const =0
 Return flags for each polarization, channel, category, and row.
virtual void flagRow (Vector< Bool > &rowflags) const =0
 Return row flag.
virtual void observationId (Vector< Int > &obsids) const =0
 Return the OBSERVATION_IDs.
virtual Int polarizationId () const =0
 Return current Polarization Id.
virtual void processorId (Vector< Int > &procids) const =0
 Return the PROCESSOR_IDs.
virtual void scan (Vector< Int > &scans) const =0
 Return scan number.
virtual String sourceName () const =0
 Return the current Source Name.
virtual void stateId (Vector< Int > &stateids) const =0
 Return the STATE_IDs.
virtual void jonesC (Vector< SquareMatrix< Complex, 2 > > &cjones) const =0
 Return feed configuration matrix for specified antenna.
virtual Int polFrame () const =0
 Return frame for polarization (returns PolFrame enum)
virtual void sigma (Vector< Float > &sig) const =0
 Return sigma.
virtual void sigmaMat (Matrix< Float > &sigmat) const =0
 Return sigma matrix (pol-dep)
virtual Int spectralWindow () const =0
 Return current SpectralWindow.
virtual void spectralWindows (Vector< Int > &spws) const =0
virtual void time (Vector< Double > &t) const =0
 Return MJD midpoint of interval.
virtual void timeCentroid (Vector< Double > &t) const =0
 Return MJD centroid of interval.
virtual void timeInterval (Vector< Double > &ti) const =0
 Return nominal time interval.
virtual void uvw (Matrix< Double > &uvwmat) const =0
 Return u,v and w (in meters)
virtual void visibilityCorrected (Cube< Complex > &vis) const =0
 Return the visibilities as found in the MS, Cube (npol,nchan,nrow).
virtual void visibilityModel (Cube< Complex > &vis) const =0
virtual void visibilityObserved (Cube< Complex > &vis) const =0
virtual void floatData (Cube< Float > &fcube) const =0
 Return FLOAT_DATA as a Cube (npol, nchan, nrow) if found in the MS.
virtual IPosition visibilityShape () const =0
 Return the visibility 4-vector of polarizations for each channel.
virtual void weight (Vector< Float > &wt) const =0
 Return weight.
virtual void weightMat (Matrix< Float > &wtmat) const =0
 Returns the nPol_p x curNumRow_p weight matrix.
virtual Bool weightSpectrumExists () const =0
 Determine whether WEIGHT_SPECTRUM exists.
virtual void weightSpectrum (Cube< Float > &wtsp) const =0
 Return weightspectrum (a weight for each channel)
virtual Bool allBeamOffsetsZero () const =0
 Return the number of sub-intervals in the current chunk.
virtual MDirection azel0 (Double time) const =0
 Return the antenna AZ/EL Vector (nant)
virtual const Vector
< MDirection > & 
azel (Double time) const =0
virtual const Vector< Float > & feed_pa (Double time) const =0
 Return feed parallactic angles Vector (nant) (1 feed/ant)
virtual const Cube
< RigidVector< 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).
virtual Double hourang (Double time) const =0
 Return the hour angle for the specified time.
virtual const Floatparang0 (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)
virtual const Vector< Float > & parang (Double time) const =0
 Per antenna:
virtual const MDirectionphaseCenter () const =0
 Return the current phase center as an MDirection.
virtual const Cube< 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.
virtual const Vector< String > & antennaMounts () const =0
 +=========================+ | | | Chunk and MS Level Data | | | +=========================+
virtual MEpoch getEpoch () const =0
virtual const VisImagingWeightgetImagingWeightGenerator () const =0
 Return imaging weight (a weight for each channel) virtual Matrix<Float> & imagingWeight (Matrix<Float> & wt) const = 0;.
virtual MFrequency::Types getObservatoryFrequencyType () const =0
virtual MPosition getObservatoryPosition () const =0
virtual Vector< FloatgetReceptor0Angle ()=0
virtual Int getReportingFrameOfReference () const =0
virtual void setReportingFrameOfReference (Int frame)=0
virtual Vector< IntgetCorrelations () const =0
virtual Vector< IntgetChannels (Double time, Int frameOfReference) const =0
virtual Vector< DoublegetFrequencies (Double time, Int frameOfReference) const =0
virtual Int msId () const =0
 reference to actual ms in interator
virtual const MeasurementSetms () const =0
virtual Int getNMs () const =0
virtual void slurp () const =0
 Call to use the slurp i/o method for all scalar columns.
virtual const vi::SubtableColumnssubtableColumns () const =0
 Access the current ROMSColumns object in MSIter.
virtual const
SpectralWindowChannels & 
getSpectralWindowChannels (Int msId, Int spectralWindowId) const =0
 get back the selected spectral windows and spectral channels for current ms
virtual void useImagingWeight (const VisImagingWeight &imWgt)=0
 assign a VisImagingWeight object to this iterator
virtual Int nAntennas () const =0
 Return number of antennasm spws, polids, ddids.
virtual Int nDataDescriptionIds () const =0
virtual Int nPolarizations () const =0
virtual Int nRowsInChunk () const =0
virtual Int nRowsViWillSweep () const =0
virtual Int nSpectralWindows () const =0
virtual void writeBackChanges (VisBuffer2 *vb)=0
 +-------------------+ | | | Writeback Methods | | | +-------------------+
virtual void writeFlag (const Matrix< Bool > &flag)=0
 Write/modify the flags in the data.
virtual void writeFlag (const Cube< Bool > &flag)=0
 Write/modify the flags in the data.
virtual void writeFlagRow (const Vector< Bool > &rowflags)=0
 Write/modify the flag row column = 0; dimension Vector (nrow)
virtual void writeFlagCategory (const Array< Bool > &fc)=0
virtual void writeVisCorrected (const Cube< Complex > &vis)=0
 Write/modify the visibilities.
virtual void writeVisModel (const Cube< Complex > &vis)=0
virtual void writeVisObserved (const Cube< Complex > &vis)=0
virtual void writeWeight (const Matrix< Float > &wt)=0
 Write/modify the weights.
virtual void writeWeightSpectrum (const Cube< Float > &wtsp)=0
 Write/modify the weightMat virtual void writeWeightMat (const Matrix<Float> & wtmat) = 0;.
virtual void writeSigma (const Matrix< Float > &sig)=0
 Write/modify the Sigma.
virtual void writeModel (const RecordInterface &rec, Bool iscomponentlist=True, Bool incremental=False)=0
 Write/modify the ncorr x nrow SigmaMat.

Static Public Member Functions

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

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 MS in some consistent order (by field, spectralwindow, time interval etc.). This class provides that access.

Thrown Exceptions

To Do

Definition at line 127 of file ViImplementation2.h.


Constructor & Destructor Documentation

Definition at line 133 of file ViImplementation2.h.

virtual casa::vi::ViImplementation2::~ViImplementation2 ( ) [inline, virtual]

Destructor.

Definition at line 137 of file ViImplementation2.h.


Member Function Documentation

virtual 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, and casa::vi::VisibilityIteratorImpl2.

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

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

Return antenna1

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

virtual void casa::vi::ViImplementation2::antenna2 ( Vector< Int > &  ant2) const [pure virtual]
virtual const Vector<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::VisibilityIteratorImpl2, and casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::ViImplementation2::arrayIds ( Vector< Int > &  ) const [pure virtual]

Return the current ArrayId.

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

virtual const Vector<MDirection>& casa::vi::ViImplementation2::azel ( Double  time) const [pure virtual]
virtual MDirection casa::vi::ViImplementation2::azel0 ( Double  time) const [pure virtual]

Return the antenna AZ/EL Vector (nant)

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

static void casa::vi::ViImplementation2::azel0Calculate ( Double  time,
MSDerivedValues msd,
MDirection azel0,
const MEpoch mEpoch0 
) [static]

Reimplemented in casa::vi::TransformingVi2.

static void casa::vi::ViImplementation2::azelCalculate ( Double  time,
MSDerivedValues msd,
Vector< MDirection > &  azel,
Int  nAnt,
const MEpoch mEpoch0 
) [static]

Reimplemented in casa::vi::TransformingVi2.

virtual void casa::vi::ViImplementation2::corrType ( Vector< Int > &  corrTypes) const [pure virtual]

Return the correlation type (returns Stokes enums)

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

virtual Int casa::vi::ViImplementation2::dataDescriptionId ( ) const [pure virtual]
virtual void casa::vi::ViImplementation2::dataDescriptionIds ( Vector< Int > &  ddis) const [pure virtual]
virtual void casa::vi::ViImplementation2::exposure ( Vector< Double > &  expo) const [pure virtual]
virtual void casa::vi::ViImplementation2::feed1 ( Vector< Int > &  fd1) const [pure virtual]
virtual void casa::vi::ViImplementation2::feed2 ( Vector< Int > &  fd2) const [pure virtual]
virtual const Vector<Float>& casa::vi::ViImplementation2::feed_pa ( Double  time) const [pure virtual]

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

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

static Vector<Float> casa::vi::ViImplementation2::feed_paCalculate ( Double  time,
MSDerivedValues msd,
Int  nAntennas,
const MEpoch mEpoch0,
const Vector< Float > &  receptor0Angle 
) [static]

Reimplemented in casa::vi::TransformingVi2.

virtual void casa::vi::ViImplementation2::fieldIds ( Vector< Int > &  ) const [pure virtual]

Return the current FieldId.

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

virtual String casa::vi::ViImplementation2::fieldName ( ) const [pure virtual]

Return the current Field Name.

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

virtual void casa::vi::ViImplementation2::flag ( Cube< Bool > &  flags) const [pure virtual]

Return flag for each polarization, channel and row.

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

virtual void casa::vi::ViImplementation2::flag ( Matrix< Bool > &  flags) const [pure virtual]
virtual void casa::vi::ViImplementation2::flagCategory ( Array< Bool > &  flagCategories) const [pure virtual]

Return flags for each polarization, channel, category, and row.

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

virtual Bool casa::vi::ViImplementation2::flagCategoryExists ( ) const [pure virtual]

Determine whether FLAG_CATEGORY is valid.

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

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

Return FLOAT_DATA as a Cube (npol, nchan, nrow) if found in the MS.

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

virtual const Cube<RigidVector<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::VisibilityIteratorImpl2, and casa::vi::VisibilityIteratorImplAsync2.

virtual Vector<Int> casa::vi::ViImplementation2::getChannels ( Double  time,
Int  frameOfReference 
) const [pure virtual]
virtual Vector<Int> casa::vi::ViImplementation2::getCorrelations ( ) const [pure virtual]
virtual MEpoch casa::vi::ViImplementation2::getEpoch ( ) const [pure virtual]
virtual Vector<Double> casa::vi::ViImplementation2::getFrequencies ( Double  time,
Int  frameOfReference 
) const [pure virtual]

Return imaging weight (a weight for each channel) virtual Matrix<Float> & imagingWeight (Matrix<Float> & wt) const = 0;.

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

virtual 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::VisibilityIteratorImpl2, and casa::vi::TransformingVi2.

virtual Int casa::vi::ViImplementation2::getNMs ( ) const [pure virtual]
virtual void casa::vi::ViImplementation2::getRowIds ( Vector< 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, and casa::vi::TransformingVi2.

virtual const Block<Int>& casa::vi::ViImplementation2::getSortColumns ( ) const [pure virtual]
virtual const SpectralWindowChannels& casa::vi::ViImplementation2::getSpectralWindowChannels ( Int  msId,
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, and casa::vi::VisibilityIteratorImplAsync2.

virtual Subchunk casa::vi::ViImplementation2::getSubchunkId ( ) const [pure virtual]
virtual Double casa::vi::ViImplementation2::hourang ( Double  time) const [pure virtual]

Return the hour angle for the specified time.

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

static Double casa::vi::ViImplementation2::hourangCalculate ( Double  time,
MSDerivedValues msd,
const MEpoch mEpoch0 
) [static]

Reimplemented in casa::vi::TransformingVi2.

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

Return feed configuration matrix for specified antenna.

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

virtual Bool casa::vi::ViImplementation2::more ( ) const [pure virtual]
virtual Bool casa::vi::ViImplementation2::moreChunks ( ) const [pure virtual]
virtual const MeasurementSet& casa::vi::ViImplementation2::ms ( ) const [pure virtual]
virtual Int casa::vi::ViImplementation2::msId ( ) const [pure virtual]
virtual Int casa::vi::ViImplementation2::nAntennas ( ) const [pure virtual]

Return number of antennasm spws, polids, ddids.

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

virtual 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 Int casa::vi::ViImplementation2::nPolarizations ( ) const [pure virtual]
virtual Int casa::vi::ViImplementation2::nRows ( ) const [pure virtual]

Return the number of rows in the current iteration.

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

virtual Int casa::vi::ViImplementation2::nRowsInChunk ( ) const [pure virtual]
virtual Int casa::vi::ViImplementation2::nRowsViWillSweep ( ) const [pure virtual]
virtual Int casa::vi::ViImplementation2::nSpectralWindows ( ) const [pure virtual]
virtual void casa::vi::ViImplementation2::observationId ( Vector< Int > &  obsids) const [pure virtual]
virtual void casa::vi::ViImplementation2::origin ( ) [pure virtual]

+==================================+ | | | Iteration Control and Monitoring | | | +==================================+

Methods to control and monitor subchunk iteration

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

virtual void casa::vi::ViImplementation2::originChunks ( Bool  forceRewind = False) [pure virtual]
virtual const Vector<Float>& casa::vi::ViImplementation2::parang ( Double  time) const [pure virtual]
virtual const Float& casa::vi::ViImplementation2::parang0 ( 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, and casa::vi::VisibilityIteratorImpl2.

static Float casa::vi::ViImplementation2::parang0Calculate ( Double  time,
MSDerivedValues msd,
const MEpoch epoch0 
) [static]

Reimplemented in casa::vi::TransformingVi2.

static Vector<Float> casa::vi::ViImplementation2::parangCalculate ( Double  time,
MSDerivedValues msd,
int  nAntennas,
const MEpoch  mEpoch0 
) [static]

Reimplemented in casa::vi::TransformingVi2.

virtual const MDirection& casa::vi::ViImplementation2::phaseCenter ( ) const [pure virtual]
virtual Int casa::vi::ViImplementation2::polarizationId ( ) const [pure virtual]
virtual Int casa::vi::ViImplementation2::polFrame ( ) const [pure virtual]

Return frame for polarization (returns PolFrame enum)

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

virtual void casa::vi::ViImplementation2::processorId ( Vector< Int > &  procids) const [pure virtual]
virtual const Cube<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::VisibilityIteratorImpl2, and casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::ViImplementation2::scan ( Vector< 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::VisibilityIteratorImpl2, casa::vi::VisibilityIteratorImplAsync2, and casa::vi::TransformingVi2.

virtual void casa::vi::ViImplementation2::setInterval ( Double  timeInterval) [pure virtual]
virtual void casa::vi::ViImplementation2::setReportingFrameOfReference ( Int  frame) [pure virtual]
virtual void casa::vi::ViImplementation2::setRowBlocking ( 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::VisibilityIteratorImpl2, and casa::vi::TransformingVi2.

virtual void casa::vi::ViImplementation2::sigma ( Vector< Float > &  sig) const [pure virtual]
virtual void casa::vi::ViImplementation2::sigmaMat ( Matrix< Float > &  sigmat) 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 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 Table i/o code, which uses BucketCache and performs extremely bad for random access. Slurping is useful when iterating non-sequentially an MS or parts of an MS, it is not tested with multiple MSs.

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

virtual String casa::vi::ViImplementation2::sourceName ( ) const [pure virtual]

Return the current Source Name.

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

virtual Int casa::vi::ViImplementation2::spectralWindow ( ) const [pure virtual]
virtual void casa::vi::ViImplementation2::spectralWindows ( Vector< Int > &  spws) const [pure virtual]
virtual void casa::vi::ViImplementation2::stateId ( Vector< Int > &  stateids) const [pure virtual]
virtual const vi::SubtableColumns& casa::vi::ViImplementation2::subtableColumns ( ) const [pure virtual]
virtual void casa::vi::ViImplementation2::time ( Vector< Double > &  t) const [pure virtual]
virtual void casa::vi::ViImplementation2::timeCentroid ( Vector< Double > &  t) const [pure virtual]
virtual void casa::vi::ViImplementation2::timeInterval ( Vector< Double > &  ti) const [pure virtual]
virtual void casa::vi::ViImplementation2::useImagingWeight ( const VisImagingWeight imWgt) [pure virtual]
virtual void casa::vi::ViImplementation2::uvw ( Matrix< Double > &  uvwmat) const [pure virtual]
virtual void casa::vi::ViImplementation2::visibilityCorrected ( Cube< Complex > &  vis) const [pure virtual]

Return the visibilities as found in the MS, Cube (npol,nchan,nrow).

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

virtual void casa::vi::ViImplementation2::visibilityModel ( Cube< Complex > &  vis) const [pure virtual]
virtual void casa::vi::ViImplementation2::visibilityObserved ( Cube< Complex > &  vis) const [pure virtual]
virtual IPosition casa::vi::ViImplementation2::visibilityShape ( ) const [pure virtual]

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

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

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

Return the shape of the visibility Cube

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

virtual void casa::vi::ViImplementation2::weight ( Vector< Float > &  wt) const [pure virtual]
virtual void casa::vi::ViImplementation2::weightMat ( Matrix< Float > &  wtmat) const [pure virtual]

Returns the nPol_p x curNumRow_p weight matrix.

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

virtual void casa::vi::ViImplementation2::weightSpectrum ( Cube< Float > &  wtsp) const [pure virtual]

Return weightspectrum (a weight for each channel)

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

virtual Bool casa::vi::ViImplementation2::weightSpectrumExists ( ) const [pure virtual]

Determine whether WEIGHT_SPECTRUM exists.

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

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, and casa::vi::FinalTvi2.

virtual void casa::vi::ViImplementation2::writeFlag ( const Matrix< 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.

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

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

Write/modify the flags in the data.

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

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

virtual void casa::vi::ViImplementation2::writeFlagCategory ( const Array< Bool > &  fc) [pure virtual]
virtual void casa::vi::ViImplementation2::writeFlagRow ( const Vector< Bool > &  rowflags) [pure virtual]

Write/modify the flag row column = 0; dimension Vector (nrow)

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

virtual void casa::vi::ViImplementation2::writeModel ( const RecordInterface rec,
Bool  iscomponentlist = True,
Bool  incremental = False 
) [pure virtual]

Write/modify the ncorr x nrow SigmaMat.

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

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

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

virtual void casa::vi::ViImplementation2::writeSigma ( const Matrix< Float > &  sig) [pure virtual]

Write/modify the Sigma.

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

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

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

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

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

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

Write/modify the weights.

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

virtual void casa::vi::ViImplementation2::writeWeightSpectrum ( const Cube< Float > &  wtsp) [pure virtual]

Write/modify the weightMat virtual void writeWeightMat (const Matrix<Float> & wtmat) = 0;.

Write/modify the weightSpectrum

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


Friends And Related Function Documentation

friend class VisibilityIterator2 [friend]

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