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

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

#include <VisibilityIteratorImpl2.h>

Inheritance diagram for casa::vi::VisibilityIteratorImpl2:
casa::vi::ViImplementation2 casa::vi::VisibilityIteratorImplAsync2

List of all members.

Classes

class  BackWriter
 +========================| | | | Output Related Methods | | | +========================| More...
class  BackWriterImpl
 A simple BackWriterImpl2 uses a nullary accessor on a VisBuffer. More...
class  BackWriterImpl2
 BackWriterImpl2 is slightly more complicated in that it uses a unary accessor. More...
class  Cache
 void convertVisFromStokes (const Matrix<CStokesVector> & visibilityStokes, Cube<Complex> & visCube); More...
class  PendingChanges
class  RowBounds

Public Types

typedef
VisibilityIterator2::DataColumn 
DataColumn
 VLAT should not access private parts, especially variables.

Public Member Functions

 VisibilityIteratorImpl2 (VisibilityIterator2 *rovi, const Block< MeasurementSet > &mss, const Block< Int > &sortColumns, Bool addDefaultSortCols, Double timeInterval, VisBufferType vbType, Bool isWritable)
 class AsyncEnabler { public: AsyncEnabler (VisibilityIterator2 &); AsyncEnabler (VisibilityIterator2 *); ~AsyncEnabler ();
virtual ~VisibilityIteratorImpl2 ()
 // Copy construct.
virtual Bool isWritable () const
 Members.
virtual void origin ()
 Reset iterator to origin/start of data (of current chunk)
virtual void originChunks ()
 Reset iterator to true start of data (first chunk)
virtual Double getInterval () const
 Return the time interval (in seconds) used for iteration.
virtual void setInterval (Double timeInterval)
 Set or reset the time interval (in seconds) to use for iteration.
virtual void setRowBlocking (Int nRows=0)
 Set the 'blocking' size for returning data.
virtual Bool existsColumn (VisBufferComponent2 id) const
virtual Bool more () const
 Return False if no more data (in current chunk)
virtual Subchunk getSubchunkId () const
virtual const Block< Int > & getSortColumns () const
virtual void setFrequencySelections (const FrequencySelections &selection)
 Select the channels to be returned.
virtual Bool moreChunks () const
 Return False if no more 'Chunks' of data left.
virtual Bool isNewArrayId () const
 Check if ms has change since last iteration.
virtual Bool isNewFieldId () const
virtual Bool isNewMs () const
virtual Bool isNewSpectralWindow () const
virtual Int msId () const
 reference to actual ms in interator
virtual Int getNMs () const
virtual VisBuffer2getVisBuffer ()
virtual const MeasurementSetms () const
 reference to actual ms in interator
virtual void next ()
 advance the iteration
virtual void nextChunk ()
 Advance to the next Chunk of data.
virtual void antenna1 (Vector< Int > &ant1) const
 Return antenna1.
virtual void antenna2 (Vector< Int > &ant2) const
 Return antenna2.
virtual void feed1 (Vector< Int > &fd1) const
 Return feed1.
virtual void feed2 (Vector< Int > &fd2) const
 Return feed2.
void jonesC (Vector< SquareMatrix< Complex, 2 > > &cjones) const
 Return feed configuration matrix for specified antenna.
virtual const Cube< Double > & receptorAngles () const
 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
 return a string mount identifier for each antenna
virtual const Cube
< RigidVector< Double, 2 > > & 
getBeamOffsets () const
 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 Bool allBeamOffsetsZero () const
 True if all elements of the cube returned by getBeamOffsets are zero.
virtual const Vector< Float > & feed_pa (Double time) const
 Return feed parallactic angles Vector (nant) (1 feed/ant)
virtual const Floatparang0 (Double time) const
 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
 Per antenna:
virtual MDirection azel0 (Double time) const
 Return the antenna AZ/EL Vector (nant)
virtual const Vector
< MDirection > & 
azel (Double time) const
virtual Double hourang (Double time) const
 Return the hour angle for the specified time.
virtual void fieldIds (Vector< Int > &) const
 Return the current FieldId.
virtual void arrayIds (Vector< Int > &) const
 Return the current ArrayId.
virtual String fieldName () const
 Return the current Field Name.
virtual String sourceName () const
 Return the current Source Name.
virtual void flag (Cube< Bool > &flags) const
 Return flag for each polarization, channel and row.
virtual void flag (Matrix< Bool > &flags) const
 Return flag for each channel & row.
Bool flagCategoryExists () const
 Determine whether FLAG_CATEGORY is valid.
virtual void flagCategory (Array< Bool > &flagCategories) const
 Return flags for each polarization, channel, category, and row.
virtual void flagRow (Vector< Bool > &rowflags) const
 Return row flag.
virtual void scan (Vector< Int > &scans) const
 Return scan number.
virtual void observationId (Vector< Int > &obsids) const
 Return the OBSERVATION_IDs.
virtual void processorId (Vector< Int > &procids) const
 Return the PROCESSOR_IDs.
virtual void stateId (Vector< Int > &stateids) const
 Return the STATE_IDs.
virtual const MDirectionphaseCenter () const
 Return the current phase center as an MDirection.
virtual Int polFrame () const
 Return frame for polarization (returns PolFrame enum)
virtual void corrType (Vector< Int > &corrTypes) const
 Return the correlation type (returns Stokes enums)
virtual void sigma (Vector< Float > &sig) const
 Return sigma.
virtual void sigmaMat (Matrix< Float > &sigmat) const
 Return sigma matrix (pol-dep)
virtual Int spectralWindow () const
 Return current SpectralWindow.
virtual void spectralWindows (Vector< Int > &spws) const
virtual Int polarizationId () const
 Return current Polarization Id.
virtual Int dataDescriptionId () const
 Return current DataDescription Id.
virtual void dataDescriptionIds (Vector< Int > &ddis) const
virtual void time (Vector< Double > &t) const
 Return MJD midpoint of interval.
virtual void timeCentroid (Vector< Double > &t) const
 Return MJD centroid of interval.
virtual void timeInterval (Vector< Double > &ti) const
 Return nominal time interval.
virtual void exposure (Vector< Double > &expo) const
 Return actual time interval.
virtual void visibilityCorrected (Cube< Complex > &vis) const
 Return the visibilities as found in the MS, Cube (npol,nchan,nrow).
virtual void visibilityModel (Cube< Complex > &vis) const
virtual void visibilityObserved (Cube< Complex > &vis) const
virtual void floatData (Cube< Float > &fcube) const
 Return FLOAT_DATA as a Cube (npol, nchan, nrow) if found in the MS.
virtual IPosition visibilityShape () const
 Return the visibility 4-vector of polarizations for each channel.
virtual void uvw (Matrix< Double > &uvwmat) const
 Return u,v and w (in meters)
virtual void weight (Vector< Float > &wt) const
 Return weight.
virtual void weightMat (Matrix< Float > &wtmat) const
 Returns the nPol_p x curNumRow_p weight matrix.
Bool weightSpectrumExists () const
 Determine whether WEIGHT_SPECTRUM exists.
virtual void weightSpectrum (Cube< Float > &wtsp) const
 Return weightspectrum (a weight for each channel)
const VisImagingWeightgetImagingWeightGenerator () const
 Return imaging weight (a weight for each channel) virtual Matrix<Float> & imagingWeight (Matrix<Float> & wt) const;.
virtual Bool newFieldId () const
 Return True if FieldId/Source has changed since last iteration.
virtual Bool newArrayId () const
 Return True if arrayID has changed since last iteration.
virtual Bool newSpectralWindow () const
 Return True if SpectralWindow has changed since last iteration.
virtual Int nRows () const
 Return the number of rows in the current iteration.
virtual void getRowIds (Vector< uInt > &rowids) const
 Return the row ids as from the original root table.
virtual Int nRowsInChunk () const
 Return the numbers of rows in the current chunk.
virtual void slurp () const
 Return the number of sub-intervals in the current chunk.
virtual const vi::SubtableColumnssubtableColumns () const
 Get the spw, start and nchan for all the ms's is this Visiter that match the frequecy "freqstart-freqStep" and "freqEnd+freqStep" range Can help in doing channel selection above.
virtual const
SpectralWindowChannels & 
getSpectralWindowChannels (Int msId, Int spectralWindowId) const
 get back the selected spectral windows and spectral channels for current ms
virtual void useImagingWeight (const VisImagingWeight &imWgt)
 assign a VisImagingWeight object to this iterator
virtual Int nAntennas () const
 return number of Ant
virtual Int nRowsViWillSweep () const
 Return number of rows in all selected ms's.
virtual Int nSpectralWindows () const
 Return number of spws, polids, ddids.
virtual Int nPolarizations () const
virtual Int nDataDescriptionIds () const
virtual MEpoch getEpoch () const
MFrequency::Types getObservatoryFrequencyType () const
MPosition getObservatoryPosition () const
Vector< FloatgetReceptor0Angle ()
virtual void writeFlag (const Matrix< Bool > &flag)
 Write/modify the flags in the data.
virtual void writeFlag (const Cube< Bool > &flag)
 Write/modify the flags in the data.
virtual void writeFlagRow (const Vector< Bool > &rowflags)
 Write/modify the flag row column; dimension Vector (nrow)
void writeFlagCategory (const Array< Bool > &fc)
virtual void writeVisCorrected (const Cube< Complex > &vis)
 Write/modify the visibilities.
virtual void writeVisModel (const Cube< Complex > &vis)
virtual void writeVisObserved (const Cube< Complex > &vis)
virtual void writeWeight (const Matrix< Float > &wt)
 Write/modify the weights.
virtual void writeWeightSpectrum (const Cube< Float > &wtsp)
 Write/modify the weightMat virtual void writeWeightMat (const Matrix<Float> & wtmat);.
virtual void writeSigma (const Matrix< Float > &sig)
 Write/modify the Sigma.
virtual void writeModel (const RecordInterface &rec, Bool iscomponentlist=True, Bool incremental=False)
 Write/modify the ncorr x nrow SigmaMat.
virtual void writeBackChanges (VisBuffer2 *)
 +-------------------+ | | | Writeback Methods | | | +-------------------+

Protected Types

typedef Vector< MeasurementSetMeasurementSets

Protected Member Functions

void addDataSelection (const MeasurementSet &ms)
void allSpectralWindowsSelected (Vector< Int > &spectralWindows, Vector< Int > &nChannels) const
void attachColumnsSafe (const Table &t)
virtual void attachColumns (const Table &t)
 attach the column objects to the currently selected table
virtual const Table attachTable () const
 returns the table, to which columns are attached, can be overridden in derived classes
virtual void applyPendingChanges ()
virtual void configureNewChunk ()
 set the iteration state
virtual void configureNewSubchunk ()
 set the currently selected table
const ChannelSelector * createDefaultChannelSelector (Double time, Int msId, Int spectralWindowId)
virtual const vi::ChannelSelector * determineChannelSelection (Double time)
Slice findChannelsInRange (Double lowerFrequency, Double upperFrequency, const vi::SpectralWindowChannels &spectralWindowChannels)
template<typename T >
void getColumnRows (const ROArrayColumn< T > &column, Array< T > &array) const
 Methods to get the data out of a table column according to whatever selection criteria (e.g., slicing) is in effect.
template<typename T >
void getColumnRowsMatrix (const ROArrayColumn< T > &column, Matrix< T > &array) const
template<typename T >
void getColumnRows (const ROScalarColumn< T > &column, Vector< T > &array) const
Vector< DoublegetFrequencies (Double time, Int frameOfReference) const
Vector< DoublegetFrequencies (Double time, Int frameOfReference, Int spectralWindowId, Int msId) const
Vector< IntgetChannels (Double time, Int frameOfReference) const
Vector< IntgetCorrelations () const
Int getReportingFrameOfReference () const
Vector< MeasurementSetgetMeasurementSets () const
 Returns the MS objects that this VI is iterating over.
const MSDerivedValuesgetMsd () const
 Provides access to the MS-derived values object.
VisibilityIterator2getViP () const
 Get privileged (non-const) access to the containing ROVI.
virtual void initialize (const Block< MeasurementSet > &mss)
 void getVisibilityAsStokes (Matrix<CStokesVector> & visibilityStokes, const ROArrayColumn<Complex> & column) const;
Bool isInASelectedSpectralWindow () const
 Returns true if MS Iterator is currently pointing to a selected spectral window.
vi::ChannelSelector * makeChannelSelectorC (const FrequencySelection &selection, Double time, Int msId, Int spectralWindowId, Int polarizationId)
 Creates a channel selection for the current subchunk based on the channel or frequency selection made by the user.
vi::ChannelSelector * makeChannelSelectorF (const FrequencySelection &selection, Double time, Int msId, Int spectralWindowId)
MFrequency::Convert makeFrequencyConverter (Double time, Int otherFrameOfReference, Bool toObservedFrame) const
const ROMSColumnsmsColumnsKluge () const
 Allow access to the MSColumns object; for use by VisBuffer2Adapter KLUGE
virtual void originChunks (Bool forceRewind)
 Method to reset the VI back to the start.
void positionMsIterToASelectedSpectralWindow ()
 Advances the MS Iterator until it points at a spectral window that is part of the frequency selection.
void setReportingFrameOfReference (Int)
 Sets the default frequency reporting frame of reference.
virtual void setTileCache ()
 Adjusts the tile cache for some columns so that the cache size is optimized for the current input state (e.g., a new data description).
virtual void throwIfPendingChanges ()
 Throws exception if there is a pending (i.e., unapplied) change to the VI's properties.
Bool usesTiledDataManager (const String &columnName, const MeasurementSet &ms) const
 Returns true if the named column uses a tiled data manager in the specified MS.
void initializeBackWriters ()
template<typename T >
void putColumnRows (ArrayColumn< T > &column, const Array< T > &array)
template<typename T >
void putColumnRows (ArrayColumn< T > &column, const Matrix< T > &array)
template<typename T >
void putColumnRows (ScalarColumn< T > &column, const Vector< T > &array)

Static Protected Member Functions

template<typename Ret >
static BackWritermakeBackWriter (void(VisibilityIteratorImpl2::*setter)(Ret), Ret(VisBuffer2::*getter)() const)
 Backwriter(2) creation methods.
template<typename Ret >
static BackWritermakeBackWriter2 (void(VisibilityIteratorImpl2::*setter)(Ret, VisibilityIteratorImpl2::DataColumn), Ret(VisBuffer2::*getter)() const, VisibilityIterator2::DataColumn dc)

Protected Attributes

std::map< VisBufferComponent2,
BackWriter * > 
backWriters_p
Cache cache_p
const ChannelSelector * channelSelector_p
ChannelSelectorCache * channelSelectorCache_p
ViColumns2 columns_p
Bool floatDataFound_p
FrequencySelectionsfrequencySelections_p
VisImagingWeight imwgt_p
MeasurementSets measurementSets_p
Bool more_p
Int msIndex_p
Bool msIterAtOrigin_p
MSIter msIter_p
MSDerivedValues msd_p
Int nPolarizations_p
Int nRowBlocking_p
PendingChanges pendingChanges_p
Int reportingFrame_p
RowBounds rowBounds_p
 frame of reference
Block< IntsortColumns_p
SpectralWindowChannelsCache * spectralWindowChannelsCache_p
Subchunk subchunk_p
SubtableColumnssubtableColumns_p
Vector< BooltileCacheIsSet_p
Double timeInterval_p
VisBuffer2vb_p
VisibilityIterator2vi_p

Friends

class AsyncEnabler
class ViImplAsync2
class VisibilityIterator2
class VLAT
class VisBuffer2Adapter

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 115 of file VisibilityIteratorImpl2.h.


Member Typedef Documentation

VLAT should not access private parts, especially variables.

enum PolFrame { Circular polarization Circular=0, Linear polarization Linear=1 };

enum DataColumn { Observed data Observed=0, Model data Model, Corrected data Corrected };

Definition at line 144 of file VisibilityIteratorImpl2.h.

Definition at line 862 of file VisibilityIteratorImpl2.h.


Constructor & Destructor Documentation

casa::vi::VisibilityIteratorImpl2::VisibilityIteratorImpl2 ( VisibilityIterator2 rovi,
const Block< MeasurementSet > &  mss,
const Block< Int > &  sortColumns,
Bool  addDefaultSortCols,
Double  timeInterval,
VisBufferType  vbType,
Bool  isWritable 
)

class AsyncEnabler { public: AsyncEnabler (VisibilityIterator2 &); AsyncEnabler (VisibilityIterator2 *); ~AsyncEnabler ();

           void release ();

       private:

           Bool oldEnabledState_p;
           VisibilityIterator2 * roVisibilityIterator2_p;
       };

    Default constructor - useful only to assign another iterator later

VisibilityIteratorImpl2 ();

    Construct from an MS and a Block of MS column enums specifying the
    iteration order.  If no order is specified, it uses the default sort
    order of MSIter, which is not necessarily the raw order of ms!
    The default ordering is ARRAY_ID, FIELD_ID, DATA_DESC_ID,
    and TIME, but check MSIter.h to be sure.
    These columns will be added first if they are not specified.

    An optional timeInterval (in seconds) can be given to iterate through
    chunks of time.  The default interval of 0 groups all times together.
    Every 'chunk' of data contains all data within a certain time interval and
    with identical values of the other iteration columns (e.g.  DATA_DESC_ID
    and FIELD_ID).  Using selectChannel (), a number of groups of channels can
    be requested.  At present the channel group iteration will always occur
    before the interval iteration.
   VisibilityIteratorImpl (const MeasurementSet & ms,
                               const Block<Int> & sortColumns,
                               Double timeInterval = 0);

    Same as above, but with the option of using the raw order of ms
    (addDefaultSortCols=false).
   VisibilityIteratorImpl (const MeasurementSet & ms,
                               const Block<Int> & sortColumns, const Bool addDefaultSortCols,
                               Double timeInterval = 0);

    Same as previous constructors, but with multiple MSs to iterate over.
   VisibilityIteratorImpl (const Block<MeasurementSet> & mss,
                               const Block<Int> & sortColumns,
                               Double timeInterval = 0);

// Copy construct.

This calls the assigment operator. VisibilityIteratorImpl2 (const VisibilityIteratorImpl2 & other, VisibilityIterator2 * rovi);

Destructor


Member Function Documentation

True if all elements of the cube returned by getBeamOffsets are zero.

Implements casa::vi::ViImplementation2.

void casa::vi::VisibilityIteratorImpl2::allSpectralWindowsSelected ( Vector< Int > &  spectralWindows,
Vector< Int > &  nChannels 
) const [protected]
virtual void casa::vi::VisibilityIteratorImpl2::antenna1 ( Vector< Int > &  ant1) const [virtual]

Return antenna1.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::antenna2 ( Vector< Int > &  ant2) const [virtual]

Return antenna2.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual const Vector<String>& casa::vi::VisibilityIteratorImpl2::antennaMounts ( ) const [virtual]

return a string mount identifier for each antenna

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::applyPendingChanges ( ) [protected, virtual]
virtual void casa::vi::VisibilityIteratorImpl2::arrayIds ( Vector< Int > &  ) const [virtual]

Return the current ArrayId.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::VisibilityIteratorImpl2::attachColumns ( const Table t) [protected, virtual]

attach the column objects to the currently selected table

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual const Table casa::vi::VisibilityIteratorImpl2::attachTable ( ) const [protected, virtual]

returns the table, to which columns are attached, can be overridden in derived classes

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

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

Return the antenna AZ/EL Vector (nant)

Implements casa::vi::ViImplementation2.

virtual void casa::vi::VisibilityIteratorImpl2::configureNewChunk ( ) [protected, virtual]

set the iteration state

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::configureNewSubchunk ( ) [protected, virtual]

set the currently selected table

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

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

Return the correlation type (returns Stokes enums)

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

const ChannelSelector* casa::vi::VisibilityIteratorImpl2::createDefaultChannelSelector ( Double  time,
Int  msId,
Int  spectralWindowId 
) [protected]

Return current DataDescription Id.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::dataDescriptionIds ( Vector< Int > &  ddis) const [virtual]
virtual const vi::ChannelSelector* casa::vi::VisibilityIteratorImpl2::determineChannelSelection ( Double  time) [protected, virtual]
virtual void casa::vi::VisibilityIteratorImpl2::exposure ( Vector< Double > &  expo) const [virtual]

Return actual time interval.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::feed1 ( Vector< Int > &  fd1) const [virtual]

Return feed1.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::feed2 ( Vector< Int > &  fd2) const [virtual]

Return feed2.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual const Vector<Float>& casa::vi::VisibilityIteratorImpl2::feed_pa ( Double  time) const [virtual]

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

Implements casa::vi::ViImplementation2.

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

Return the current FieldId.

Implements casa::vi::ViImplementation2.

Return the current Field Name.

Implements casa::vi::ViImplementation2.

Slice casa::vi::VisibilityIteratorImpl2::findChannelsInRange ( Double  lowerFrequency,
Double  upperFrequency,
const vi::SpectralWindowChannels &  spectralWindowChannels 
) [protected]
virtual void casa::vi::VisibilityIteratorImpl2::flag ( Cube< Bool > &  flags) const [virtual]

Return flag for each polarization, channel and row.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::flag ( Matrix< Bool > &  flags) const [virtual]

Return flag for each channel & row.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::flagCategory ( Array< Bool > &  flagCategories) const [virtual]

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

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Determine whether FLAG_CATEGORY is valid.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::VisibilityIteratorImpl2::flagRow ( Vector< Bool > &  rowflags) const [virtual]

Return row flag.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::floatData ( Cube< Float > &  fcube) const [virtual]

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

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

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.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Vector<Int> casa::vi::VisibilityIteratorImpl2::getChannels ( Double  time,
Int  frameOfReference 
) const [protected, virtual]
template<typename T >
void casa::vi::VisibilityIteratorImpl2::getColumnRows ( const ROArrayColumn< T > &  column,
Array< T > &  array 
) const [protected]

Methods to get the data out of a table column according to whatever selection criteria (e.g., slicing) is in effect.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

template<typename T >
void casa::vi::VisibilityIteratorImpl2::getColumnRows ( const ROScalarColumn< T > &  column,
Vector< T > &  array 
) const [protected]
template<typename T >
void casa::vi::VisibilityIteratorImpl2::getColumnRowsMatrix ( const ROArrayColumn< T > &  column,
Matrix< T > &  array 
) const [protected]
Vector<Double> casa::vi::VisibilityIteratorImpl2::getFrequencies ( Double  time,
Int  frameOfReference 
) const [protected, virtual]
Vector<Double> casa::vi::VisibilityIteratorImpl2::getFrequencies ( Double  time,
Int  frameOfReference,
Int  spectralWindowId,
Int  msId 
) const [protected]

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

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

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

This is not the same as the INTERVAL column.

Implements casa::vi::ViImplementation2.

Returns the MS objects that this VI is iterating over.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Provides access to the MS-derived values object.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual Int casa::vi::VisibilityIteratorImpl2::getNMs ( ) const [virtual]
virtual void casa::vi::VisibilityIteratorImpl2::getRowIds ( Vector< uInt > &  rowids) const [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

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual const Block<Int>& casa::vi::VisibilityIteratorImpl2::getSortColumns ( ) const [virtual]
virtual const SpectralWindowChannels& casa::vi::VisibilityIteratorImpl2::getSpectralWindowChannels ( Int  msId,
Int  spectralWindowId 
) const [virtual]

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

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual Subchunk casa::vi::VisibilityIteratorImpl2::getSubchunkId ( ) const [virtual]

Get privileged (non-const) access to the containing ROVI.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual Double casa::vi::VisibilityIteratorImpl2::hourang ( Double  time) const [virtual]

Return the hour angle for the specified time.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::VisibilityIteratorImpl2::initialize ( const Block< MeasurementSet > &  mss) [protected, virtual]

void getVisibilityAsStokes (Matrix<CStokesVector> & visibilityStokes, const ROArrayColumn<Complex> & column) const;

Ctor auxiliary method

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Returns true if MS Iterator is currently pointing to a selected spectral window.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Check if ms has change since last iteration.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual Bool casa::vi::VisibilityIteratorImpl2::isNewMs ( ) const [virtual]

Members.

Implements casa::vi::ViImplementation2.

void casa::vi::VisibilityIteratorImpl2::jonesC ( Vector< SquareMatrix< Complex, 2 > > &  cjones) const [virtual]

Return feed configuration matrix for specified antenna.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

template<typename Ret >
static BackWriter* casa::vi::VisibilityIteratorImpl2::makeBackWriter ( void(VisibilityIteratorImpl2::*)(Ret)  setter,
Ret(VisBuffer2::*)() const  getter 
) [inline, static, protected]

Backwriter(2) creation methods.

These methods make it fairly straightforward to create a BackWriter object.

Definition at line 770 of file VisibilityIteratorImpl2.h.

template<typename Ret >
static BackWriter* casa::vi::VisibilityIteratorImpl2::makeBackWriter2 ( void(VisibilityIteratorImpl2::*)(Ret, VisibilityIteratorImpl2::DataColumn setter,
Ret(VisBuffer2::*)() const  getter,
VisibilityIterator2::DataColumn  dc 
) [inline, static, protected]

Define the Getter and Setter types

Definition at line 779 of file VisibilityIteratorImpl2.h.

vi::ChannelSelector* casa::vi::VisibilityIteratorImpl2::makeChannelSelectorC ( const FrequencySelection selection,
Double  time,
Int  msId,
Int  spectralWindowId,
Int  polarizationId 
) [protected]

Creates a channel selection for the current subchunk based on the channel or frequency selection made by the user.

vi::ChannelSelector* casa::vi::VisibilityIteratorImpl2::makeChannelSelectorF ( const FrequencySelection selection,
Double  time,
Int  msId,
Int  spectralWindowId 
) [protected]
MFrequency::Convert casa::vi::VisibilityIteratorImpl2::makeFrequencyConverter ( Double  time,
Int  otherFrameOfReference,
Bool  toObservedFrame 
) const [protected]
virtual Bool casa::vi::VisibilityIteratorImpl2::more ( ) const [virtual]

Return False if no more data (in current chunk)

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Return False if no more 'Chunks' of data left.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual const MeasurementSet& casa::vi::VisibilityIteratorImpl2::ms ( ) const [virtual]

reference to actual ms in interator

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Allow access to the MSColumns object; for use by VisBuffer2Adapter KLUGE

Referenced by casa::vi::VisBuffer2Adapter::construct().

virtual Int casa::vi::VisibilityIteratorImpl2::msId ( ) const [virtual]

reference to actual ms in interator

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Referenced by casa::vi::VisBuffer2Adapter::lsrFrequency().

return number of Ant

Implements casa::vi::ViImplementation2.

Return True if arrayID has changed since last iteration.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Return True if FieldId/Source has changed since last iteration.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Return True if SpectralWindow has changed since last iteration.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::next ( ) [virtual]

advance the iteration

Implements casa::vi::ViImplementation2.

Advance to the next Chunk of data.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual Int casa::vi::VisibilityIteratorImpl2::nRows ( ) const [virtual]

Return the number of rows in the current iteration.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Return the numbers of rows in the current chunk.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Return number of rows in all selected ms's.

Implements casa::vi::ViImplementation2.

Return number of spws, polids, ddids.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::VisibilityIteratorImpl2::observationId ( Vector< Int > &  obsids) const [virtual]

Return the OBSERVATION_IDs.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::origin ( ) [virtual]

Reset iterator to origin/start of data (of current chunk)

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Reset iterator to true start of data (first chunk)

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::originChunks ( Bool  forceRewind) [protected, virtual]

Method to reset the VI back to the start.

Unlike the public version there is a parameter to allow forcing the rewind even if the MS Iter is already at the origin.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual const Vector<Float>& casa::vi::VisibilityIteratorImpl2::parang ( Double  time) const [virtual]

Per antenna:

Implements casa::vi::ViImplementation2.

virtual const Float& casa::vi::VisibilityIteratorImpl2::parang0 ( Double  time) const [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)

Implements casa::vi::ViImplementation2.

virtual const MDirection& casa::vi::VisibilityIteratorImpl2::phaseCenter ( ) const [virtual]

Return the current phase center as an MDirection.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Return current Polarization Id.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual Int casa::vi::VisibilityIteratorImpl2::polFrame ( ) const [virtual]

Return frame for polarization (returns PolFrame enum)

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Advances the MS Iterator until it points at a spectral window that is part of the frequency selection.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::processorId ( Vector< Int > &  procids) const [virtual]

Return the PROCESSOR_IDs.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

template<typename T >
void casa::vi::VisibilityIteratorImpl2::putColumnRows ( ArrayColumn< T > &  column,
const Array< T > &  array 
) [protected]
template<typename T >
void casa::vi::VisibilityIteratorImpl2::putColumnRows ( ArrayColumn< T > &  column,
const Matrix< T > &  array 
) [protected]
template<typename T >
void casa::vi::VisibilityIteratorImpl2::putColumnRows ( ScalarColumn< T > &  column,
const Vector< T > &  array 
) [protected]
virtual const Cube<Double>& casa::vi::VisibilityIteratorImpl2::receptorAngles ( ) const [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.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::scan ( Vector< Int > &  scans) const [virtual]

Return scan number.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Select the channels to be returned.

Requires calling originChunks before performing additional iteration.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::setInterval ( Double  timeInterval) [virtual]

Set or reset the time interval (in seconds) to use for iteration.

You should call originChunks () to reset the iteration after calling this.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Sets the default frequency reporting frame of reference.

This affects the default frame for obtaining the frequencies in a VisBuffer.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::setRowBlocking ( Int  nRows = 0) [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.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::setTileCache ( ) [protected, virtual]

Adjusts the tile cache for some columns so that the cache size is optimized for the current input state (e.g., a new data description).

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::sigma ( Vector< Float > &  sig) const [virtual]

Return sigma.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::sigmaMat ( Matrix< Float > &  sigmat) const [virtual]

Return sigma matrix (pol-dep)

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::slurp ( ) const [virtual]

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

virtual Int nSubInterval () const;

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.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Return the current Source Name.

Implements casa::vi::ViImplementation2.

Return current SpectralWindow.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::spectralWindows ( Vector< Int > &  spws) const [virtual]
virtual void casa::vi::VisibilityIteratorImpl2::stateId ( Vector< Int > &  stateids) const [virtual]

Return the STATE_IDs.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Get the spw, start and nchan for all the ms's is this Visiter that match the frequecy "freqstart-freqStep" and "freqEnd+freqStep" range Can help in doing channel selection above.

freqFrame is the frame the caller frequency values are in (freqStart and freqEnd) These will be converted to the frame of the selected spw to match

virtual void getSpwInFreqRange (Block<Vector<Int> > & spw, Block<Vector<Int> > & start, Block<Vector<Int> > & nchan, Double freqStart, Double freqEnd, Double freqStep, MFrequency::Types freqFrame = MFrequency::LSRK) const;

Get the range of frequency convered by the selected data in the frame requested

virtual void getFreqInSpwRange(Double& freqStart, Double& freqEnd, MFrequency::Types freqframe = MFrequency::LSRK) const;

Access the current ROMSColumns object in MSIter

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::throwIfPendingChanges ( ) [protected, virtual]

Throws exception if there is a pending (i.e., unapplied) change to the VI's properties.

Called when the VI is advanced since the user probably forgot to apply the changes.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::time ( Vector< Double > &  t) const [virtual]

Return MJD midpoint of interval.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::timeCentroid ( Vector< Double > &  t) const [virtual]

Return MJD centroid of interval.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::timeInterval ( Vector< Double > &  ti) const [virtual]

Return nominal time interval.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::useImagingWeight ( const VisImagingWeight imWgt) [virtual]

assign a VisImagingWeight object to this iterator

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Bool casa::vi::VisibilityIteratorImpl2::usesTiledDataManager ( const String columnName,
const MeasurementSet ms 
) const [protected]

Returns true if the named column uses a tiled data manager in the specified MS.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::uvw ( Matrix< Double > &  uvwmat) const [virtual]

Return u,v and w (in meters)

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::visibilityCorrected ( Cube< Complex > &  vis) const [virtual]

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

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::visibilityModel ( Cube< Complex > &  vis) const [virtual]
virtual void casa::vi::VisibilityIteratorImpl2::visibilityObserved ( Cube< Complex > &  vis) const [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; virtual void visibilityModel (Matrix<CStokesVector> & vis) const; virtual void visibilityObserved (Matrix<CStokesVector> & vis) const;

Return the shape of the visibility Cube

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::weight ( Vector< Float > &  wt) const [virtual]

Return weight.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::weightMat ( Matrix< Float > &  wtmat) const [virtual]

Returns the nPol_p x curNumRow_p weight matrix.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

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

Return weightspectrum (a weight for each channel)

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Determine whether WEIGHT_SPECTRUM exists.

Implements casa::vi::ViImplementation2.

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

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

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::writeFlag ( const Matrix< Bool > &  flag) [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.

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::writeFlag ( const Cube< Bool > &  flag) [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 ()).

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

virtual void casa::vi::VisibilityIteratorImpl2::writeFlagRow ( const Vector< Bool > &  rowflags) [virtual]

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

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

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

Write/modify the ncorr x nrow SigmaMat.

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

Implements casa::vi::ViImplementation2.

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

Write/modify the Sigma.

Implements casa::vi::ViImplementation2.

virtual void casa::vi::VisibilityIteratorImpl2::writeVisCorrected ( const Cube< Complex > &  vis) [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. void writeVisCorrected (const Matrix<CStokesVector> & visibilityStokes); void writeVisModel (const Matrix<CStokesVector> & visibilityStokes); void writeVisObserved (const Matrix<CStokesVector> & visibilityStokes);

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

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

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

Write/modify the weights.

Implements casa::vi::ViImplementation2.

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

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

Write/modify the weightSpectrum

Implements casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.


Friends And Related Function Documentation

friend class AsyncEnabler [friend]

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Definition at line 117 of file VisibilityIteratorImpl2.h.

friend class ViImplAsync2 [friend]

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Definition at line 118 of file VisibilityIteratorImpl2.h.

friend class VisBuffer2Adapter [friend]

Definition at line 121 of file VisibilityIteratorImpl2.h.

friend class VisibilityIterator2 [friend]

Reimplemented from casa::vi::ViImplementation2.

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Definition at line 119 of file VisibilityIteratorImpl2.h.

friend class VLAT [friend]

Reimplemented in casa::vi::VisibilityIteratorImplAsync2.

Definition at line 120 of file VisibilityIteratorImpl2.h.


Member Data Documentation

Definition at line 884 of file VisibilityIteratorImpl2.h.

Definition at line 885 of file VisibilityIteratorImpl2.h.

const ChannelSelector* casa::vi::VisibilityIteratorImpl2::channelSelector_p [protected]

Definition at line 886 of file VisibilityIteratorImpl2.h.

Definition at line 887 of file VisibilityIteratorImpl2.h.

Definition at line 888 of file VisibilityIteratorImpl2.h.

Definition at line 889 of file VisibilityIteratorImpl2.h.

Definition at line 890 of file VisibilityIteratorImpl2.h.

Definition at line 891 of file VisibilityIteratorImpl2.h.

Definition at line 892 of file VisibilityIteratorImpl2.h.

Definition at line 893 of file VisibilityIteratorImpl2.h.

Definition at line 897 of file VisibilityIteratorImpl2.h.

Definition at line 894 of file VisibilityIteratorImpl2.h.

Definition at line 896 of file VisibilityIteratorImpl2.h.

Definition at line 895 of file VisibilityIteratorImpl2.h.

Definition at line 898 of file VisibilityIteratorImpl2.h.

Definition at line 899 of file VisibilityIteratorImpl2.h.

Definition at line 900 of file VisibilityIteratorImpl2.h.

Definition at line 901 of file VisibilityIteratorImpl2.h.

frame of reference

Definition at line 903 of file VisibilityIteratorImpl2.h.

Definition at line 904 of file VisibilityIteratorImpl2.h.

SpectralWindowChannelsCache* casa::vi::VisibilityIteratorImpl2::spectralWindowChannelsCache_p [mutable, protected]

Definition at line 905 of file VisibilityIteratorImpl2.h.

Definition at line 906 of file VisibilityIteratorImpl2.h.

Definition at line 907 of file VisibilityIteratorImpl2.h.

Definition at line 908 of file VisibilityIteratorImpl2.h.

Definition at line 909 of file VisibilityIteratorImpl2.h.

Definition at line 910 of file VisibilityIteratorImpl2.h.

Definition at line 911 of file VisibilityIteratorImpl2.h.


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