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

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

#include <VisibilityIteratorImpl.h>

Inheritance diagram for casa::VisibilityIteratorReadImpl:
casa::ViReadImplAsync

Classes

class  Cache
 
class  Channels
 
class  Columns
 
class  MeasurementSetChannels
 
class  Velocity
 

Public Types

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

Public Member Functions

 VisibilityIteratorReadImpl ()
 class AsyncEnabler { public: AsyncEnabler (ROVisibilityIterator &); AsyncEnabler (ROVisibilityIterator *); ~AsyncEnabler (); More...
 
 VisibilityIteratorReadImpl (ROVisibilityIterator *rovi, const casacore::Block< casacore::MeasurementSet > &mss, const casacore::Block< casacore::Int > &sortColumns, const casacore::Bool addDefaultSortCols, casacore::Double timeInterval)
 Construct from an casacore::MS and a casacore::Block of casacore::MS column enums specifying the iteration order. More...
 
 VisibilityIteratorReadImpl (const VisibilityIteratorReadImpl &other, ROVisibilityIterator *rovi)
 Copy construct. More...
 
VisibilityIteratorReadImploperator= (const VisibilityIteratorReadImpl &other)
 Assigment. More...
 
virtual ~VisibilityIteratorReadImpl ()
 Destructor. More...
 
virtual
VisibilityIteratorReadImpl
clone (ROVisibilityIterator *rovi) const
 
casacore::Bool isAsyncEnabled () const
 Members. More...
 
virtual casacore::Bool isWritable () const
 
virtual void origin ()
 Reset iterator to origin/start of data (of current chunk) More...
 
virtual void originChunks ()
 Reset iterator to true start of data (first chunk) More...
 
virtual casacore::Double getInterval () const
 Return the time interval (in seconds) used for iteration. More...
 
virtual void setInterval (casacore::Double timeInterval)
 Set or reset the time interval (in seconds) to use for iteration. More...
 
virtual void setRowBlocking (casacore::Int nRows=0)
 Set the 'blocking' size for returning data. More...
 
virtual casacore::Bool existsColumn (VisBufferComponents::EnumType id) const
 
virtual casacore::Bool more () const
 Return false if no more data (in current chunk) More...
 
virtual SubChunkPair getSubchunkId () const
 
virtual const casacore::Block
< casacore::Int > & 
getSortColumns () const
 
virtual casacore::Bool moreChunks () const
 Return false if no more 'Chunks' of data left. More...
 
virtual casacore::Bool newMS () const
 Check if ms has change since last iteration. More...
 
virtual casacore::Int msId () const
 
virtual VisBuffergetVisBuffer ()
 
virtual const
casacore::MeasurementSet
ms () const
 reference to actual ms in interator More...
 
virtual
VisibilityIteratorReadImpl
nextChunk ()
 Advance to the next Chunk of data. More...
 
virtual casacore::Vector
< casacore::Int > & 
antenna1 (casacore::Vector< casacore::Int > &ant1) const
 Return antenna1. More...
 
virtual casacore::Vector
< casacore::Int > & 
antenna2 (casacore::Vector< casacore::Int > &ant2) const
 Return antenna2. More...
 
virtual casacore::Vector
< casacore::Int > & 
feed1 (casacore::Vector< casacore::Int > &fd1) const
 Return feed1. More...
 
virtual casacore::Vector
< casacore::Int > & 
feed2 (casacore::Vector< casacore::Int > &fd2) const
 Return feed2. More...
 
virtual casacore::Vector
< casacore::Int > & 
channel (casacore::Vector< casacore::Int > &chan) const
 Return channel numbers in selected VisSet spectrum (i.e. More...
 
virtual casacore::Vector
< casacore::SquareMatrix
< casacore::Complex, 2 > > & 
CJones (casacore::Vector< casacore::SquareMatrix< casacore::Complex, 2 > > &cjones) const
 Return feed configuration matrix for specified antenna. More...
 
virtual const casacore::Cube
< casacore::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. More...
 
virtual const casacore::Vector
< casacore::String > & 
antennaMounts () const
 return a string mount identifier for each antenna More...
 
virtual const casacore::Cube
< casacore::RigidVector
< casacore::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). More...
 
virtual casacore::Bool allBeamOffsetsZero () const
 true if all elements of the cube returned by getBeamOffsets are zero More...
 
virtual casacore::Vector
< casacore::Float
feed_pa (casacore::Double time) const
 Return feed parallactic angles casacore::Vector (nant) (1 feed/ant) More...
 
virtual const casacore::Floatparang0 (casacore::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) More...
 
virtual casacore::Vector
< casacore::Float
parang (casacore::Double time) const
 Per antenna: More...
 
virtual casacore::MDirection azel0 (casacore::Double time) const
 Return the antenna AZ/EL casacore::Vector (nant) More...
 
virtual casacore::Vector
< casacore::MDirection
azel (casacore::Double time) const
 
virtual casacore::Double hourang (casacore::Double time) const
 Return the hour angle for the specified time. More...
 
virtual casacore::Int fieldId () const
 Return the current FieldId. More...
 
virtual casacore::Int arrayId () const
 Return the current ArrayId. More...
 
virtual casacore::String fieldName () const
 Return the current Field Name. More...
 
virtual casacore::String sourceName () const
 Return the current Source Name. More...
 
virtual casacore::Cube
< casacore::Bool > & 
flag (casacore::Cube< casacore::Bool > &flags) const
 Return flag for each polarization, channel and row. More...
 
virtual casacore::Matrix
< casacore::Bool > & 
flag (casacore::Matrix< casacore::Bool > &flags) const
 Return flag for each channel & row. More...
 
casacore::Bool existsFlagCategory () const
 Determine whether FLAG_CATEGORY is valid. More...
 
virtual casacore::Array
< casacore::Bool > & 
flagCategory (casacore::Array< casacore::Bool > &flagCategories) const
 Return flags for each polarization, channel, category, and row. More...
 
virtual casacore::Vector
< casacore::Bool > & 
flagRow (casacore::Vector< casacore::Bool > &rowflags) const
 Return row flag. More...
 
virtual casacore::Vector
< casacore::Int > & 
scan (casacore::Vector< casacore::Int > &scans) const
 Return scan number. More...
 
virtual casacore::Vector
< casacore::Int > & 
observationId (casacore::Vector< casacore::Int > &obsids) const
 Return the OBSERVATION_IDs. More...
 
virtual casacore::Vector
< casacore::Int > & 
processorId (casacore::Vector< casacore::Int > &procids) const
 Return the PROCESSOR_IDs. More...
 
virtual casacore::Vector
< casacore::Int > & 
stateId (casacore::Vector< casacore::Int > &stateids) const
 Return the STATE_IDs. More...
 
virtual casacore::Vector
< casacore::Double > & 
frequency (casacore::Vector< casacore::Double > &freq) const
 Return current frequencies (in Hz, acc. More...
 
virtual casacore::Vector
< casacore::Double > & 
lsrFrequency (casacore::Vector< casacore::Double > &freq) const
 Return frequencies (in Hz, acc. More...
 
virtual const
casacore::MDirection
phaseCenter () const
 Return the current phase center as an MDirection. More...
 
virtual const casacore::MDirection phaseCenter (const casacore::Int fieldId, const casacore::Double time=-1.0) const
 
virtual casacore::Int polFrame () const
 Return frame for polarization (returns PolFrame enum) More...
 
virtual casacore::Vector
< casacore::Int > & 
corrType (casacore::Vector< casacore::Int > &corrTypes) const
 Return the correlation type (returns casacore::Stokes enums) More...
 
virtual casacore::Vector
< casacore::Float > & 
sigma (casacore::Vector< casacore::Float > &sig) const
 Return sigma. More...
 
virtual casacore::Matrix
< casacore::Float > & 
sigmaMat (casacore::Matrix< casacore::Float > &sigmat) const
 Return sigma matrix (pol-dep) More...
 
virtual casacore::Int spectralWindow () const
 Return current SpectralWindow. More...
 
virtual casacore::Int polarizationId () const
 Return current Polarization Id. More...
 
virtual casacore::Int dataDescriptionId () const
 Return current DataDescription Id. More...
 
virtual casacore::Vector
< casacore::Double > & 
time (casacore::Vector< casacore::Double > &t) const
 Return MJD midpoint of interval. More...
 
virtual casacore::Vector
< casacore::Double > & 
timeCentroid (casacore::Vector< casacore::Double > &t) const
 Return MJD centroid of interval. More...
 
virtual casacore::Vector
< casacore::Double > & 
timeInterval (casacore::Vector< casacore::Double > &ti) const
 Return nominal time interval. More...
 
virtual casacore::Vector
< casacore::Double > & 
exposure (casacore::Vector< casacore::Double > &expo) const
 Return actual time interval. More...
 
virtual casacore::Cube
< casacore::Complex > & 
visibility (casacore::Cube< casacore::Complex > &vis, DataColumn whichOne) const
 Return the visibilities as found in the casacore::MS, casacore::Cube (npol,nchan,nrow). More...
 
virtual casacore::Cube
< casacore::Float > & 
floatData (casacore::Cube< casacore::Float > &fcube) const
 Return FLOAT_DATA as a casacore::Cube (npol, nchan, nrow) if found in the MS. More...
 
virtual casacore::Matrix
< CStokesVector > & 
visibility (casacore::Matrix< CStokesVector > &vis, DataColumn whichOne) const
 Return the visibility 4-vector of polarizations for each channel. More...
 
virtual casacore::IPosition visibilityShape () const
 Return the shape of the visibility Cube. More...
 
virtual casacore::Vector
< casacore::RigidVector
< casacore::Double, 3 > > & 
uvw (casacore::Vector< casacore::RigidVector< casacore::Double, 3 > > &uvwvec) const
 Return u,v and w (in meters) More...
 
virtual casacore::Matrix
< casacore::Double > & 
uvwMat (casacore::Matrix< casacore::Double > &uvwmat) const
 
virtual casacore::Vector
< casacore::Float > & 
weight (casacore::Vector< casacore::Float > &wt) const
 Return weight. More...
 
virtual casacore::Matrix
< casacore::Float > & 
weightMat (casacore::Matrix< casacore::Float > &wtmat) const
 Returns the nPol_p x curNumRow_p weight matrix. More...
 
casacore::Bool existsWeightSpectrum () const
 Determine whether WEIGHT_SPECTRUM exists. More...
 
virtual casacore::Cube
< casacore::Float > & 
weightSpectrum (casacore::Cube< casacore::Float > &wtsp) const
 Return weightspectrum (a weight for each channel) More...
 
const VisImagingWeightgetImagingWeightGenerator () const
 
Return imaging weight (a weight for each channel)

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

 
virtual casacore::Bool newFieldId () const
 Return true if FieldId/Source has changed since last iteration. More...
 
virtual casacore::Bool newArrayId () const
 Return true if arrayID has changed since last iteration. More...
 
virtual casacore::Bool newSpectralWindow () const
 Return true if SpectralWindow has changed since last iteration. More...
 
virtual casacore::Int channelIndex () const
 Return the index of the first channel of the current channel group in the total (selected) spectrum. More...
 
virtual casacore::Int channelGroupSize () const
 Return the width of the current group of channels, i.e., the number of channels returned by visibility () and frequency (). More...
 
virtual casacore::Int nCorr () const
 Return the number of correlations in the current iteration. More...
 
virtual casacore::Int nRow () const
 Return the number of rows in the current iteration. More...
 
virtual casacore::Vector
< casacore::uInt > & 
rowIds (casacore::Vector< casacore::uInt > &rowids) const
 Return the row ids as from the original root table. More...
 
virtual casacore::Int nRowChunk () const
 Return the numbers of rows in the current chunk. More...
 
virtual casacore::Int nSubInterval () const
 Return the number of sub-intervals in the current chunk. More...
 
virtual void slurp () const
 Call to use the slurp i/o method for all scalar columns. More...
 
virtual
VisibilityIteratorReadImpl
selectVelocity (casacore::Int nChan, const casacore::MVRadialVelocity &vStart, const casacore::MVRadialVelocity &vInc, casacore::MRadialVelocity::Types rvType=casacore::MRadialVelocity::LSR, casacore::MDoppler::Types dType=casacore::MDoppler::RADIO, casacore::Bool precise=false)
 Velocity selection - specify the output channels in velocity: nChan - number of output channels, vStart - start velocity, vInc - velocity increment. More...
 
virtual
VisibilityIteratorReadImpl
velInterpolation (const casacore::String &)
 Select the velocity interpolation scheme. More...
 
virtual
VisibilityIteratorReadImpl
selectChannel (casacore::Int nGroup=1, casacore::Int start=0, casacore::Int width=0, casacore::Int increment=1, casacore::Int spectralWindow=-1)
 Channel selection - only the selected channels will be returned by the access functions. More...
 
virtual
VisibilityIteratorReadImpl
selectChannel (const casacore::Block< casacore::Vector< casacore::Int > > &blockNGroup, const casacore::Block< casacore::Vector< casacore::Int > > &blockStart, const casacore::Block< casacore::Vector< casacore::Int > > &blockWidth, const casacore::Block< casacore::Vector< casacore::Int > > &blockIncr, const casacore::Block< casacore::Vector< casacore::Int > > &blockSpw)
 Same as above except when multiple ms's are to be accessed. More...
 
virtual void getChannelSelection (casacore::Block< casacore::Vector< casacore::Int > > &blockNGroup, casacore::Block< casacore::Vector< casacore::Int > > &blockStart, casacore::Block< casacore::Vector< casacore::Int > > &blockWidth, casacore::Block< casacore::Vector< casacore::Int > > &blockIncr, casacore::Block< casacore::Vector< casacore::Int > > &blockSpw)
 get the channel selection...the block over the number of ms's associated with this iterator More...
 
void slicesToMatrices (casacore::Vector< casacore::Matrix< casacore::Int > > &matv, const casacore::Vector< casacore::Vector< casacore::Slice > > &slicesv, const casacore::Vector< casacore::Int > &widthsv) const
 Translate slicesv from the form returned by casacore::MSSelection::getChanSlices () to matv as used by setChanAveBounds (). More...
 
virtual void getSpwInFreqRange (casacore::Block< casacore::Vector< casacore::Int > > &spw, casacore::Block< casacore::Vector< casacore::Int > > &start, casacore::Block< casacore::Vector< casacore::Int > > &nchan, casacore::Double freqStart, casacore::Double freqEnd, casacore::Double freqStep, casacore::MFrequency::Types freqFrame=casacore::MFrequency::LSRK) 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. More...
 
virtual void getFreqInSpwRange (casacore::Double &freqStart, casacore::Double &freqEnd, casacore::MFrequency::Types freqframe=casacore::MFrequency::LSRK) const
 Get the range of frequency convered by the selected data in the frame requested. More...
 
virtual void attachVisBuffer (VisBuffer &vb)
 Attach a VisBuffer object. More...
 
virtual void detachVisBuffer (VisBuffer &vb)
 Detach a VisBuffer object. More...
 
virtual const
casacore::ROMSColumns
msColumns () const
 Access the current casacore::ROMSColumns object in MSIter. More...
 
virtual void allSelectedSpectralWindows (casacore::Vector< casacore::Int > &spws, casacore::Vector< casacore::Int > &nvischan)
 get back the selected spectral windows and spectral channels for current ms More...
 
virtual void lsrFrequency (const casacore::Int &spw, casacore::Vector< casacore::Double > &freq, casacore::Bool &convert, const casacore::Bool ignoreconv=false)
 Convert the frequency from the observe frame to lsr frame. More...
 
virtual void useImagingWeight (const VisImagingWeight &imWgt)
 assign a VisImagingWeight object to this iterator More...
 
virtual casacore::Int numberAnt ()
 return number of Ant More...
 
virtual casacore::Int numberCoh ()
 Return number of rows in all selected ms's. More...
 
virtual casacore::Int numberSpw ()
 Return number of spws, polids, ddids. More...
 
virtual casacore::Int numberPol ()
 
virtual casacore::Int numberDDId ()
 
casacore::ArrayColumn
< casacore::Double > & 
getChannelFrequency () const
 
casacore::Block< casacore::IntgetChannelGroupNumber () const
 
casacore::Block< casacore::IntgetChannelIncrement () const
 
casacore::Block< casacore::IntgetChannelStart () const
 
casacore::Block< casacore::IntgetChannelWidth () const
 
casacore::Int getDataDescriptionId () const
 
const casacore::MeasurementSetgetMeasurementSet () const
 
casacore::Int getMeasurementSetId () const
 
casacore::Int getNAntennas () const
 
virtual casacore::MEpoch getEpoch () const
 
casacore::MFrequency::Types getObservatoryFrequencyType () const
 
casacore::MPosition getObservatoryPosition () const
 
casacore::MDirection getPhaseCenter () const
 
casacore::Vector< casacore::FloatgetReceptor0Angle ()
 
casacore::Vector< casacore::uIntgetRowIds () const
 

Static Public Member Functions

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::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)
 
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::Double hourangCalculate (casacore::Double time, casacore::MSDerivedValues &msd, const casacore::MEpoch &mEpoch0)
 
static void lsrFrequency (const casacore::Int &spw, casacore::Vector< casacore::Double > &freq, casacore::Bool &convert, const casacore::Block< casacore::Int > &chanStart, const casacore::Block< casacore::Int > &chanWidth, const casacore::Block< casacore::Int > &chanInc, const casacore::Block< casacore::Int > &numChanGroup, const casacore::ArrayColumn< casacore::Double > &chanFreqs, const casacore::ScalarColumn< casacore::Int > &obsMFreqTypes, const casacore::MEpoch &ep, const casacore::MPosition &obsPos, const casacore::MDirection &dir, const casacore::Bool ignoreconv=false)
 

Protected Types

typedef std::vector
< casacore::MeasurementSet
MeasurementSets
 

Protected Member Functions

void attachColumnsSafe (const casacore::Table &t)
 
virtual void advance ()
 advance the iteration More...
 
virtual void setSelTable ()
 set the currently selected table More...
 
virtual void setState ()
 set the iteration state More...
 
virtual void getTopoFreqs ()
 get the TOPO frequencies from the selected velocities and the obs. More...
 
virtual void getTopoFreqs (casacore::Vector< casacore::Double > &lsrFreq, casacore::Vector< casacore::Double > &selFreq)
 
virtual void getLsrInfo (casacore::Block< casacore::Int > &channelGroupNumber, casacore::Block< casacore::Int > &channelIncrement, casacore::Block< casacore::Int > &channelStart, casacore::Block< casacore::Int > &channelWidth, casacore::MPosition &observatoryPositon, casacore::MDirection &phaseCenter, casacore::Bool &velocitySelection) const
 
std::vector
< casacore::MeasurementSet
getMeasurementSets () const
 
const casacore::MSDerivedValuesgetMSD () const
 
virtual void updateSlicer ()
 update the DATA slicer More...
 
virtual void attachColumns (const casacore::Table &t)
 attach the column objects to the currently selected table More...
 
virtual const casacore::Table attachTable () const
 returns the table, to which columns are attached, can be overridden in derived classes More...
 
casacore::Bool usesTiledDataManager (const casacore::String &columnName, const casacore::MeasurementSet &ms) const
 get the (velocity selected) interpolated visibilities, flags and weights. More...
 
virtual void getDataColumn (ROVisibilityIterator::DataColumn whichOne, const casacore::Slicer &slicer, casacore::Cube< casacore::Complex > &data) const
 get the visibility data (observed, corrected or model); deals with casacore::Float and casacore::Complex observed data (DATA or FLOAT_DATA) More...
 
virtual void getDataColumn (DataColumn whichOne, casacore::Cube< casacore::Complex > &data) const
 
virtual void getFloatDataColumn (const casacore::Slicer &slicer, casacore::Cube< casacore::Float > &data) const
 get FLOAT_DATA as real Floats. More...
 
virtual void getFloatDataColumn (casacore::Cube< casacore::Float > &data) const
 
virtual void initialize (const casacore::Block< casacore::MeasurementSet > &mss)
 constructor helpers More...
 
virtual void originChunks (casacore::Bool forceRewind)
 
virtual void doChannelSelection ()
 Re-Do the channel selection in multi ms case. More...
 
virtual void setTileCache ()
 Set the tile cache size....when using slice access if tile cache size is not set memory usage can go wild. More...
 
virtual casacore::Bool isInSelectedSPW (const casacore::Int &spw)
 Check if spw is in selected SPW for actual ms. More...
 
virtual void update_rowIds () const
 Updates, if necessary, rowIds_p member for the current chunk. More...
 
void setAsyncEnabled (casacore::Bool enable)
 
template<class T >
void getColScalar (const casacore::ScalarColumn< T > &column, casacore::Vector< T > &array, casacore::Bool resize) const
 
template<class T >
void getColArray (const casacore::ArrayColumn< T > &column, casacore::Array< T > &array, casacore::Bool resize) const
 
virtual void getCol (const casacore::ScalarColumn< casacore::Bool > &column, casacore::Vector< casacore::Bool > &array, casacore::Bool resize=false) const
 column access functions, can be overridden in derived classes More...
 
virtual void getCol (const casacore::ScalarColumn< casacore::Int > &column, casacore::Vector< casacore::Int > &array, casacore::Bool resize=false) const
 
virtual void getCol (const casacore::ScalarColumn< casacore::Double > &column, casacore::Vector< casacore::Double > &array, casacore::Bool resize=false) const
 
virtual void getCol (const casacore::ArrayColumn< casacore::Bool > &column, casacore::Array< casacore::Bool > &array, casacore::Bool resize=false) const
 
virtual void getCol (const casacore::ArrayColumn< casacore::Float > &column, casacore::Array< casacore::Float > &array, casacore::Bool resize=false) const
 
virtual void getCol (const casacore::ArrayColumn< casacore::Double > &column, casacore::Array< casacore::Double > &array, casacore::Bool resize=false) const
 
virtual void getCol (const casacore::ArrayColumn< casacore::Complex > &column, casacore::Array< casacore::Complex > &array, casacore::Bool resize=false) const
 
virtual void getCol (const casacore::ArrayColumn< casacore::Bool > &column, const casacore::Slicer &slicer, casacore::Array< casacore::Bool > &array, casacore::Bool resize=false) const
 
virtual void getCol (const casacore::ArrayColumn< casacore::Float > &column, const casacore::Slicer &slicer, casacore::Array< casacore::Float > &array, casacore::Bool resize=false) const
 
virtual void getCol (const casacore::ArrayColumn< casacore::Complex > &column, const casacore::Slicer &slicer, casacore::Array< casacore::Complex > &array, casacore::Bool resize=false) const
 
template<class T >
void swapyz (casacore::Cube< T > &out, const casacore::Cube< T > &in) const
 virtual void getCol (const casacore::String & colName, casacore::Array<casacore::Double> & array, casacore::Array<casacore::Double> & all, casacore::Bool resize = false) const; virtual void getCol (const casacore::String & colName, casacore::Vector<casacore::Bool> & array, casacore::Vector<casacore::Bool> & all, casacore::Bool resize = false) const; virtual void getCol (const casacore::String & colName, casacore::Vector<casacore::Int> & array, casacore::Vector<casacore::Int> & all, casacore::Bool resize = false) const; virtual void getCol (const casacore::String & colName, casacore::Vector<casacore::Double> & array, casacore::Vector<casacore::Double> & all, casacore::Bool resize = false) const; More...
 

Protected Attributes

casacore::Bool addDefaultSort_p
 
casacore::Bool asyncEnabled_p
 
casacore::Bool autoTileCacheSizing_p
 
Cache cache_p
 
casacore::Int channelGroupSize_p
 
Channels channels_p
 
casacore::Int chunkNumber_p
 
Columns columns_p
 
casacore::Int curChanGroup_p
 
casacore::Int curEndRow_p
 
casacore::Int curNGroups_p
 
casacore::uInt curNumRow_p
 
casacore::Int curStartRow_p
 
casacore::Int curTableNumRow_p
 
casacore::Bool floatDataFound_p
 
VisImagingWeight imwgt_p
 
casacore::Bool initialized_p
 
casacore::Bool isMultiMS_p
 
MeasurementSets measurementSets_p
 
casacore::Bool more_p
 
MeasurementSetChannels msChannels_p
 
casacore::Int msCounter_p
 
casacore::Bool msIterAtOrigin_p
 
casacore::MSIter msIter_p
 
casacore::MSDerivedValues msd_p
 
casacore::Int nAnt_p
 
casacore::Int nChan_p
 
casacore::Int nPol_p
 
casacore::Int nRowBlocking_p
 
casacore::Bool newChanGroup_p
 
ROVisibilityIteratorrovi_p
 
casacore::RefRows selRows_p
 
casacore::Slicer slicer_p
 
casacore::Block< casacore::IntsortColumns_p
 
casacore::Bool stateOk_p
 
SubChunkPair subchunk_p
 
casacore::Vector< casacore::BooltileCacheIsSet_p
 
casacore::Double timeInterval_p
 
casacore::Vector
< casacore::Double
time_p
 
casacore::Bool useSlicer_p
 
std::stack< VisBuffer * > vbStack_p
 
Velocity velocity_p
 
casacore::Slicer weightSlicer_p
 

Friends

class AsyncEnabler
 
class ViReadImplAsync
 
class VisibilityIteratorWriteImpl
 
class ROVisibilityIterator
 
class ROVisIterator
 
class VisIterator
 
class VLAT
 

Detailed Description

ROVisibilityIterator iterates through one or more readonly MeasurementSets.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

The ROVisibilityIterator is a readonly iterator returning visibilities

Synopsis

ROVisibilityIterator 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 115 of file VisibilityIteratorImpl.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 146 of file VisibilityIteratorImpl.h.

Definition at line 913 of file VisibilityIteratorImpl.h.

Constructor & Destructor Documentation

casa::VisibilityIteratorReadImpl::VisibilityIteratorReadImpl ( )

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

void release ();

private:

casacore::Bool oldEnabledState_p; ROVisibilityIterator * roVisibilityIterator_p; };

Default constructor - useful only to assign another iterator later

casa::VisibilityIteratorReadImpl::VisibilityIteratorReadImpl ( ROVisibilityIterator rovi,
const casacore::Block< casacore::MeasurementSet > &  mss,
const casacore::Block< casacore::Int > &  sortColumns,
const casacore::Bool  addDefaultSortCols,
casacore::Double  timeInterval 
)

Construct from an casacore::MS and a casacore::Block of casacore::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. VisibilityIteratorReadImpl (const casacore::MeasurementSet & ms, const casacore::Block<casacore::Int> & sortColumns, casacore::Double timeInterval = 0);

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

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

casa::VisibilityIteratorReadImpl::VisibilityIteratorReadImpl ( const VisibilityIteratorReadImpl other,
ROVisibilityIterator rovi 
)

Copy construct.

This calls the assigment operator.

virtual casa::VisibilityIteratorReadImpl::~VisibilityIteratorReadImpl ( )
virtual

Destructor.

Member Function Documentation

virtual void casa::VisibilityIteratorReadImpl::advance ( )
protectedvirtual

advance the iteration

Reimplemented in casa::ViReadImplAsync.

casacore::Bool casa::VisibilityIteratorReadImpl::allBeamOffsetsZero ( ) const
inlinevirtual

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

Reimplemented in casa::ViReadImplAsync.

Definition at line 990 of file VisibilityIteratorImpl.h.

References casacore::MSIter::allBeamOffsetsZero(), and msIter_p.

virtual void casa::VisibilityIteratorReadImpl::allSelectedSpectralWindows ( casacore::Vector< casacore::Int > &  spws,
casacore::Vector< casacore::Int > &  nvischan 
)
virtual

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

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Vector<casacore::Int>& casa::VisibilityIteratorReadImpl::antenna1 ( casacore::Vector< casacore::Int > &  ant1) const
virtual

Return antenna1.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Vector<casacore::Int>& casa::VisibilityIteratorReadImpl::antenna2 ( casacore::Vector< casacore::Int > &  ant2) const
virtual

Return antenna2.

Reimplemented in casa::ViReadImplAsync.

const casacore::Vector< casacore::String > & casa::VisibilityIteratorReadImpl::antennaMounts ( ) const
inlinevirtual

return a string mount identifier for each antenna

Reimplemented in casa::ViReadImplAsync.

Definition at line 979 of file VisibilityIteratorImpl.h.

References casacore::MSIter::antennaMounts(), and msIter_p.

virtual casacore::Int casa::VisibilityIteratorReadImpl::arrayId ( ) const
inlinevirtual

Return the current ArrayId.

Reimplemented in casa::ViReadImplAsync.

Definition at line 354 of file VisibilityIteratorImpl.h.

References casacore::MSIter::arrayId(), and msIter_p.

virtual void casa::VisibilityIteratorReadImpl::attachColumns ( const casacore::Table t)
protectedvirtual

attach the column objects to the currently selected table

void casa::VisibilityIteratorReadImpl::attachColumnsSafe ( const casacore::Table t)
protected
virtual const casacore::Table casa::VisibilityIteratorReadImpl::attachTable ( ) const
protectedvirtual

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

virtual void casa::VisibilityIteratorReadImpl::attachVisBuffer ( VisBuffer vb)
virtual

Attach a VisBuffer object.

Note that while more than one VisBuffer may be attached, only the last one is actively updated. A casacore::Stack is kept internally, so after a detach, the previous VisBuffer becomes active again.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Vector<casacore::MDirection> casa::VisibilityIteratorReadImpl::azel ( casacore::Double  time) const
virtual

Reimplemented in casa::ViReadImplAsync.

virtual casacore::MDirection casa::VisibilityIteratorReadImpl::azel0 ( casacore::Double  time) const
virtual

Return the antenna AZ/EL casacore::Vector (nant)

Reimplemented in casa::ViReadImplAsync.

static void casa::VisibilityIteratorReadImpl::azel0Calculate ( casacore::Double  time,
casacore::MSDerivedValues msd,
casacore::MDirection azel0,
const casacore::MEpoch mEpoch0 
)
static
static void casa::VisibilityIteratorReadImpl::azelCalculate ( casacore::Double  time,
casacore::MSDerivedValues msd,
casacore::Vector< casacore::MDirection > &  azel,
casacore::Int  nAnt,
const casacore::MEpoch mEpoch0 
)
static
virtual casacore::Vector<casacore::Int>& casa::VisibilityIteratorReadImpl::channel ( casacore::Vector< casacore::Int > &  chan) const
virtual

Return channel numbers in selected VisSet spectrum (i.e.

disregarding possible selection on the iterator, but including the selection set when creating the VisSet)

Reimplemented in casa::ViReadImplAsync.

casacore::Int casa::VisibilityIteratorReadImpl::channelGroupSize ( ) const
inlinevirtual

Return the width of the current group of channels, i.e., the number of channels returned by visibility () and frequency ().

Reimplemented in casa::ViReadImplAsync.

Definition at line 995 of file VisibilityIteratorImpl.h.

References channels_p, msIter_p, casacore::MSIter::spectralWindowId(), and casa::VisibilityIteratorReadImpl::Channels::width_p.

Referenced by visibilityShape().

casacore::Int casa::VisibilityIteratorReadImpl::channelIndex ( ) const
inlinevirtual

Return the index of the first channel of the current channel group in the total (selected) spectrum.

Reimplemented in casa::ViReadImplAsync.

Definition at line 999 of file VisibilityIteratorImpl.h.

References channels_p, curChanGroup_p, casa::VisibilityIteratorReadImpl::Channels::inc_p, msIter_p, and casacore::MSIter::spectralWindowId().

casacore::Vector< casacore::SquareMatrix< casacore::Complex, 2 > > & casa::VisibilityIteratorReadImpl::CJones ( casacore::Vector< casacore::SquareMatrix< casacore::Complex, 2 > > &  cjones) const
inlinevirtual

Return feed configuration matrix for specified antenna.

Reimplemented in casa::ViReadImplAsync.

Definition at line 968 of file VisibilityIteratorImpl.h.

References casacore::MSIter::CJones(), and msIter_p.

virtual VisibilityIteratorReadImpl* casa::VisibilityIteratorReadImpl::clone ( ROVisibilityIterator rovi) const
virtual
virtual casacore::Vector<casacore::Int>& casa::VisibilityIteratorReadImpl::corrType ( casacore::Vector< casacore::Int > &  corrTypes) const
virtual

Return the correlation type (returns casacore::Stokes enums)

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Int casa::VisibilityIteratorReadImpl::dataDescriptionId ( ) const
inlinevirtual

Return current DataDescription Id.

Reimplemented in casa::ViReadImplAsync.

Definition at line 435 of file VisibilityIteratorImpl.h.

References casacore::MSIter::dataDescriptionId(), and msIter_p.

virtual void casa::VisibilityIteratorReadImpl::detachVisBuffer ( VisBuffer vb)
virtual

Detach a VisBuffer object.

If the object detached is not the last one attached an exception is thrown.

Reimplemented in casa::ViReadImplAsync.

virtual void casa::VisibilityIteratorReadImpl::doChannelSelection ( )
protectedvirtual

Re-Do the channel selection in multi ms case.

virtual casacore::Bool casa::VisibilityIteratorReadImpl::existsColumn ( VisBufferComponents::EnumType  id) const
virtual
casacore::Bool casa::VisibilityIteratorReadImpl::existsFlagCategory ( ) const

Determine whether FLAG_CATEGORY is valid.

casacore::Bool casa::VisibilityIteratorReadImpl::existsWeightSpectrum ( ) const

Determine whether WEIGHT_SPECTRUM exists.

virtual casacore::Vector<casacore::Double>& casa::VisibilityIteratorReadImpl::exposure ( casacore::Vector< casacore::Double > &  expo) const
virtual

Return actual time interval.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Vector<casacore::Int>& casa::VisibilityIteratorReadImpl::feed1 ( casacore::Vector< casacore::Int > &  fd1) const
virtual

Return feed1.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Vector<casacore::Int>& casa::VisibilityIteratorReadImpl::feed2 ( casacore::Vector< casacore::Int > &  fd2) const
virtual

Return feed2.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Vector<casacore::Float> casa::VisibilityIteratorReadImpl::feed_pa ( casacore::Double  time) const
virtual

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

static casacore::Vector<casacore::Float> casa::VisibilityIteratorReadImpl::feed_paCalculate ( casacore::Double  time,
casacore::MSDerivedValues msd,
casacore::Int  nAntennas,
const casacore::MEpoch mEpoch0,
const casacore::Vector< casacore::Float > &  receptor0Angle 
)
static
virtual casacore::Int casa::VisibilityIteratorReadImpl::fieldId ( ) const
inlinevirtual

Return the current FieldId.

Reimplemented in casa::ViReadImplAsync.

Definition at line 349 of file VisibilityIteratorImpl.h.

References casacore::MSIter::fieldId(), and msIter_p.

virtual casacore::String casa::VisibilityIteratorReadImpl::fieldName ( ) const
inlinevirtual

Return the current Field Name.

Reimplemented in casa::ViReadImplAsync.

Definition at line 359 of file VisibilityIteratorImpl.h.

References casacore::MSIter::fieldName(), and msIter_p.

virtual casacore::Cube<casacore::Bool>& casa::VisibilityIteratorReadImpl::flag ( casacore::Cube< casacore::Bool > &  flags) const
virtual

Return flag for each polarization, channel and row.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Matrix<casacore::Bool>& casa::VisibilityIteratorReadImpl::flag ( casacore::Matrix< casacore::Bool > &  flags) const
virtual

Return flag for each channel & row.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Array<casacore::Bool>& casa::VisibilityIteratorReadImpl::flagCategory ( casacore::Array< casacore::Bool > &  flagCategories) const
virtual

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

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Vector<casacore::Bool>& casa::VisibilityIteratorReadImpl::flagRow ( casacore::Vector< casacore::Bool > &  rowflags) const
virtual

Return row flag.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Cube<casacore::Float>& casa::VisibilityIteratorReadImpl::floatData ( casacore::Cube< casacore::Float > &  fcube) const
virtual

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

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Vector<casacore::Double>& casa::VisibilityIteratorReadImpl::frequency ( casacore::Vector< casacore::Double > &  freq) const
virtual

Return current frequencies (in Hz, acc.

to the casacore::MS def'n v.2)

Reimplemented in casa::ViReadImplAsync.

const casacore::Cube< casacore::RigidVector< casacore::Double, 2 > > & casa::VisibilityIteratorReadImpl::getBeamOffsets ( ) const
inlinevirtual

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.

Reimplemented in casa::ViReadImplAsync.

Definition at line 985 of file VisibilityIteratorImpl.h.

References casacore::MSIter::getBeamOffsets(), and msIter_p.

casacore::ArrayColumn<casacore::Double>& casa::VisibilityIteratorReadImpl::getChannelFrequency ( ) const
casacore::Block<casacore::Int> casa::VisibilityIteratorReadImpl::getChannelGroupNumber ( ) const
casacore::Block<casacore::Int> casa::VisibilityIteratorReadImpl::getChannelIncrement ( ) const
virtual void casa::VisibilityIteratorReadImpl::getChannelSelection ( casacore::Block< casacore::Vector< casacore::Int > > &  blockNGroup,
casacore::Block< casacore::Vector< casacore::Int > > &  blockStart,
casacore::Block< casacore::Vector< casacore::Int > > &  blockWidth,
casacore::Block< casacore::Vector< casacore::Int > > &  blockIncr,
casacore::Block< casacore::Vector< casacore::Int > > &  blockSpw 
)
virtual

get the channel selection...the block over the number of ms's associated with this iterator

Reimplemented in casa::ViReadImplAsync.

casacore::Block<casacore::Int> casa::VisibilityIteratorReadImpl::getChannelStart ( ) const
casacore::Block<casacore::Int> casa::VisibilityIteratorReadImpl::getChannelWidth ( ) const
virtual void casa::VisibilityIteratorReadImpl::getCol ( const casacore::ScalarColumn< casacore::Bool > &  column,
casacore::Vector< casacore::Bool > &  array,
casacore::Bool  resize = false 
) const
protectedvirtual

column access functions, can be overridden in derived classes

virtual void casa::VisibilityIteratorReadImpl::getCol ( const casacore::ScalarColumn< casacore::Int > &  column,
casacore::Vector< casacore::Int > &  array,
casacore::Bool  resize = false 
) const
protectedvirtual
virtual void casa::VisibilityIteratorReadImpl::getCol ( const casacore::ScalarColumn< casacore::Double > &  column,
casacore::Vector< casacore::Double > &  array,
casacore::Bool  resize = false 
) const
protectedvirtual
virtual void casa::VisibilityIteratorReadImpl::getCol ( const casacore::ArrayColumn< casacore::Bool > &  column,
casacore::Array< casacore::Bool > &  array,
casacore::Bool  resize = false 
) const
protectedvirtual
virtual void casa::VisibilityIteratorReadImpl::getCol ( const casacore::ArrayColumn< casacore::Float > &  column,
casacore::Array< casacore::Float > &  array,
casacore::Bool  resize = false 
) const
protectedvirtual
virtual void casa::VisibilityIteratorReadImpl::getCol ( const casacore::ArrayColumn< casacore::Double > &  column,
casacore::Array< casacore::Double > &  array,
casacore::Bool  resize = false 
) const
protectedvirtual
virtual void casa::VisibilityIteratorReadImpl::getCol ( const casacore::ArrayColumn< casacore::Complex > &  column,
casacore::Array< casacore::Complex > &  array,
casacore::Bool  resize = false 
) const
protectedvirtual
virtual void casa::VisibilityIteratorReadImpl::getCol ( const casacore::ArrayColumn< casacore::Bool > &  column,
const casacore::Slicer slicer,
casacore::Array< casacore::Bool > &  array,
casacore::Bool  resize = false 
) const
protectedvirtual
virtual void casa::VisibilityIteratorReadImpl::getCol ( const casacore::ArrayColumn< casacore::Float > &  column,
const casacore::Slicer slicer,
casacore::Array< casacore::Float > &  array,
casacore::Bool  resize = false 
) const
protectedvirtual
virtual void casa::VisibilityIteratorReadImpl::getCol ( const casacore::ArrayColumn< casacore::Complex > &  column,
const casacore::Slicer slicer,
casacore::Array< casacore::Complex > &  array,
casacore::Bool  resize = false 
) const
protectedvirtual
template<class T >
void casa::VisibilityIteratorReadImpl::getColArray ( const casacore::ArrayColumn< T > &  column,
casacore::Array< T > &  array,
casacore::Bool  resize 
) const
protected
template<class T >
void casa::VisibilityIteratorReadImpl::getColScalar ( const casacore::ScalarColumn< T > &  column,
casacore::Vector< T > &  array,
casacore::Bool  resize 
) const
protected
virtual void casa::VisibilityIteratorReadImpl::getDataColumn ( ROVisibilityIterator::DataColumn  whichOne,
const casacore::Slicer slicer,
casacore::Cube< casacore::Complex > &  data 
) const
protectedvirtual

get the visibility data (observed, corrected or model); deals with casacore::Float and casacore::Complex observed data (DATA or FLOAT_DATA)

virtual void casa::VisibilityIteratorReadImpl::getDataColumn ( DataColumn  whichOne,
casacore::Cube< casacore::Complex > &  data 
) const
protectedvirtual
casacore::Int casa::VisibilityIteratorReadImpl::getDataDescriptionId ( ) const
virtual casacore::MEpoch casa::VisibilityIteratorReadImpl::getEpoch ( ) const
virtual

Reimplemented in casa::ViReadImplAsync.

virtual void casa::VisibilityIteratorReadImpl::getFloatDataColumn ( const casacore::Slicer slicer,
casacore::Cube< casacore::Float > &  data 
) const
protectedvirtual

get FLOAT_DATA as real Floats.

Reimplemented in casa::ViReadImplAsync.

virtual void casa::VisibilityIteratorReadImpl::getFloatDataColumn ( casacore::Cube< casacore::Float > &  data) const
protectedvirtual

Reimplemented in casa::ViReadImplAsync.

virtual void casa::VisibilityIteratorReadImpl::getFreqInSpwRange ( casacore::Double freqStart,
casacore::Double freqEnd,
casacore::MFrequency::Types  freqframe = casacore::MFrequency::LSRK 
) const
virtual

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

const VisImagingWeight& casa::VisibilityIteratorReadImpl::getImagingWeightGenerator ( ) const

Return imaging weight (a weight for each channel)

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

virtual casacore::Double casa::VisibilityIteratorReadImpl::getInterval ( ) const
inlinevirtual

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

This is not the same as the INTERVAL column.

Definition at line 227 of file VisibilityIteratorImpl.h.

References timeInterval_p.

virtual void casa::VisibilityIteratorReadImpl::getLsrInfo ( casacore::Block< casacore::Int > &  channelGroupNumber,
casacore::Block< casacore::Int > &  channelIncrement,
casacore::Block< casacore::Int > &  channelStart,
casacore::Block< casacore::Int > &  channelWidth,
casacore::MPosition observatoryPositon,
casacore::MDirection phaseCenter,
casacore::Bool velocitySelection 
) const
protectedvirtual
const casacore::MeasurementSet& casa::VisibilityIteratorReadImpl::getMeasurementSet ( ) const
casacore::Int casa::VisibilityIteratorReadImpl::getMeasurementSetId ( ) const
std::vector<casacore::MeasurementSet> casa::VisibilityIteratorReadImpl::getMeasurementSets ( ) const
protected
const casacore::MSDerivedValues& casa::VisibilityIteratorReadImpl::getMSD ( ) const
protected
casacore::Int casa::VisibilityIteratorReadImpl::getNAntennas ( ) const
casacore::MFrequency::Types casa::VisibilityIteratorReadImpl::getObservatoryFrequencyType ( ) const
casacore::MPosition casa::VisibilityIteratorReadImpl::getObservatoryPosition ( ) const
casacore::MDirection casa::VisibilityIteratorReadImpl::getPhaseCenter ( ) const
casacore::Vector<casacore::Float> casa::VisibilityIteratorReadImpl::getReceptor0Angle ( )
casacore::Vector<casacore::uInt> casa::VisibilityIteratorReadImpl::getRowIds ( ) const
virtual const casacore::Block<casacore::Int>& casa::VisibilityIteratorReadImpl::getSortColumns ( ) const
virtual
virtual void casa::VisibilityIteratorReadImpl::getSpwInFreqRange ( casacore::Block< casacore::Vector< casacore::Int > > &  spw,
casacore::Block< casacore::Vector< casacore::Int > > &  start,
casacore::Block< casacore::Vector< casacore::Int > > &  nchan,
casacore::Double  freqStart,
casacore::Double  freqEnd,
casacore::Double  freqStep,
casacore::MFrequency::Types  freqFrame = casacore::MFrequency::LSRK 
) const
virtual

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 SubChunkPair casa::VisibilityIteratorReadImpl::getSubchunkId ( ) const
virtual
virtual void casa::VisibilityIteratorReadImpl::getTopoFreqs ( )
protectedvirtual

get the TOPO frequencies from the selected velocities and the obs.

vel.

virtual void casa::VisibilityIteratorReadImpl::getTopoFreqs ( casacore::Vector< casacore::Double > &  lsrFreq,
casacore::Vector< casacore::Double > &  selFreq 
)
protectedvirtual
virtual VisBuffer* casa::VisibilityIteratorReadImpl::getVisBuffer ( )
virtual

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Double casa::VisibilityIteratorReadImpl::hourang ( casacore::Double  time) const
virtual

Return the hour angle for the specified time.

Reimplemented in casa::ViReadImplAsync.

static casacore::Double casa::VisibilityIteratorReadImpl::hourangCalculate ( casacore::Double  time,
casacore::MSDerivedValues msd,
const casacore::MEpoch mEpoch0 
)
static
virtual void casa::VisibilityIteratorReadImpl::initialize ( const casacore::Block< casacore::MeasurementSet > &  mss)
protectedvirtual

constructor helpers

casacore::Bool casa::VisibilityIteratorReadImpl::isAsyncEnabled ( ) const

Members.

virtual casacore::Bool casa::VisibilityIteratorReadImpl::isInSelectedSPW ( const casacore::Int spw)
protectedvirtual

Check if spw is in selected SPW for actual ms.

virtual casacore::Bool casa::VisibilityIteratorReadImpl::isWritable ( ) const
inlinevirtual

Definition at line 216 of file VisibilityIteratorImpl.h.

virtual casacore::Vector<casacore::Double>& casa::VisibilityIteratorReadImpl::lsrFrequency ( casacore::Vector< casacore::Double > &  freq) const
virtual

Return frequencies (in Hz, acc.

to the casacore::MS def'n v.2) in selected velocity frame, returns the same as frequency () if there is no vel selection active.

Reimplemented in casa::ViReadImplAsync.

virtual void casa::VisibilityIteratorReadImpl::lsrFrequency ( const casacore::Int spw,
casacore::Vector< casacore::Double > &  freq,
casacore::Bool convert,
const casacore::Bool  ignoreconv = false 
)
virtual

Convert the frequency from the observe frame to lsr frame.

Returns true in convert if given spw was not observed in the LSRK frame if ignoreconv=true then conversion from frame in data is ignored by request

static void casa::VisibilityIteratorReadImpl::lsrFrequency ( const casacore::Int spw,
casacore::Vector< casacore::Double > &  freq,
casacore::Bool convert,
const casacore::Block< casacore::Int > &  chanStart,
const casacore::Block< casacore::Int > &  chanWidth,
const casacore::Block< casacore::Int > &  chanInc,
const casacore::Block< casacore::Int > &  numChanGroup,
const casacore::ArrayColumn< casacore::Double > &  chanFreqs,
const casacore::ScalarColumn< casacore::Int > &  obsMFreqTypes,
const casacore::MEpoch ep,
const casacore::MPosition obsPos,
const casacore::MDirection dir,
const casacore::Bool  ignoreconv = false 
)
static
casacore::Bool casa::VisibilityIteratorReadImpl::more ( ) const
inlinevirtual

Return false if no more data (in current chunk)

Reimplemented in casa::ViReadImplAsync.

Definition at line 962 of file VisibilityIteratorImpl.h.

References more_p.

virtual casacore::Bool casa::VisibilityIteratorReadImpl::moreChunks ( ) const
inlinevirtual

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

Reimplemented in casa::ViReadImplAsync.

Definition at line 254 of file VisibilityIteratorImpl.h.

References casacore::MSIter::more(), and msIter_p.

virtual const casacore::MeasurementSet& casa::VisibilityIteratorReadImpl::ms ( ) const
inlinevirtual

reference to actual ms in interator

Reimplemented in casa::ViReadImplAsync.

Definition at line 270 of file VisibilityIteratorImpl.h.

References casacore::MSIter::ms(), and msIter_p.

virtual const casacore::ROMSColumns& casa::VisibilityIteratorReadImpl::msColumns ( ) const
inlinevirtual

Access the current casacore::ROMSColumns object in MSIter.

Reimplemented in casa::ViReadImplAsync.

Definition at line 626 of file VisibilityIteratorImpl.h.

References casacore::MSIter::msColumns(), and msIter_p.

virtual casacore::Int casa::VisibilityIteratorReadImpl::msId ( ) const
inlinevirtual

Reimplemented in casa::ViReadImplAsync.

Definition at line 263 of file VisibilityIteratorImpl.h.

References casacore::MSIter::msId(), and msIter_p.

virtual casacore::Int casa::VisibilityIteratorReadImpl::nCorr ( ) const
inlinevirtual

Return the number of correlations in the current iteration.

Reimplemented in casa::ViReadImplAsync.

Definition at line 511 of file VisibilityIteratorImpl.h.

References nPol_p.

virtual casacore::Bool casa::VisibilityIteratorReadImpl::newArrayId ( ) const
inlinevirtual

Return true if arrayID has changed since last iteration.

Reimplemented in casa::ViReadImplAsync.

Definition at line 493 of file VisibilityIteratorImpl.h.

References curStartRow_p, msIter_p, and casacore::MSIter::newArray().

virtual casacore::Bool casa::VisibilityIteratorReadImpl::newFieldId ( ) const
inlinevirtual

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

Reimplemented in casa::ViReadImplAsync.

Definition at line 488 of file VisibilityIteratorImpl.h.

References curStartRow_p, msIter_p, and casacore::MSIter::newField().

virtual casacore::Bool casa::VisibilityIteratorReadImpl::newMS ( ) const
inlinevirtual

Check if ms has change since last iteration.

Reimplemented in casa::ViReadImplAsync.

Definition at line 259 of file VisibilityIteratorImpl.h.

References msIter_p, and casacore::MSIter::newMS().

virtual casacore::Bool casa::VisibilityIteratorReadImpl::newSpectralWindow ( ) const
inlinevirtual

Return true if SpectralWindow has changed since last iteration.

Reimplemented in casa::ViReadImplAsync.

Definition at line 498 of file VisibilityIteratorImpl.h.

References curStartRow_p, msIter_p, and casacore::MSIter::newSpectralWindow().

virtual VisibilityIteratorReadImpl& casa::VisibilityIteratorReadImpl::nextChunk ( )
virtual

Advance to the next Chunk of data.

Reimplemented in casa::ViReadImplAsync.

casacore::Int casa::VisibilityIteratorReadImpl::nRow ( ) const
inlinevirtual

Return the number of rows in the current iteration.

Reimplemented in casa::ViReadImplAsync.

Definition at line 1003 of file VisibilityIteratorImpl.h.

References curNumRow_p.

casacore::Int casa::VisibilityIteratorReadImpl::nRowChunk ( ) const
inlinevirtual

Return the numbers of rows in the current chunk.

Reimplemented in casa::ViReadImplAsync.

Definition at line 1007 of file VisibilityIteratorImpl.h.

References msIter_p, casacore::Table::nrow(), and casacore::MSIter::table().

virtual casacore::Int casa::VisibilityIteratorReadImpl::nSubInterval ( ) const
virtual

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

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Int casa::VisibilityIteratorReadImpl::numberAnt ( )
virtual

return number of Ant

virtual casacore::Int casa::VisibilityIteratorReadImpl::numberCoh ( )
virtual

Return number of rows in all selected ms's.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Int casa::VisibilityIteratorReadImpl::numberDDId ( )
virtual

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Int casa::VisibilityIteratorReadImpl::numberPol ( )
virtual

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Int casa::VisibilityIteratorReadImpl::numberSpw ( )
virtual

Return number of spws, polids, ddids.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Vector<casacore::Int>& casa::VisibilityIteratorReadImpl::observationId ( casacore::Vector< casacore::Int > &  obsids) const
virtual

Return the OBSERVATION_IDs.

Reimplemented in casa::ViReadImplAsync.

VisibilityIteratorReadImpl& casa::VisibilityIteratorReadImpl::operator= ( const VisibilityIteratorReadImpl other)

Assigment.

Any attached VisBuffers are lost in the assign.

virtual void casa::VisibilityIteratorReadImpl::origin ( )
virtual

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

Reimplemented in casa::ViReadImplAsync.

virtual void casa::VisibilityIteratorReadImpl::originChunks ( )
virtual

Reset iterator to true start of data (first chunk)

Reimplemented in casa::ViReadImplAsync.

virtual void casa::VisibilityIteratorReadImpl::originChunks ( casacore::Bool  forceRewind)
protectedvirtual
virtual casacore::Vector<casacore::Float> casa::VisibilityIteratorReadImpl::parang ( casacore::Double  time) const
virtual

Per antenna:

Reimplemented in casa::ViReadImplAsync.

virtual const casacore::Float& casa::VisibilityIteratorReadImpl::parang0 ( casacore::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)

Reimplemented in casa::ViReadImplAsync.

static casacore::Float casa::VisibilityIteratorReadImpl::parang0Calculate ( casacore::Double  time,
casacore::MSDerivedValues msd,
const casacore::MEpoch epoch0 
)
static
static casacore::Vector<casacore::Float> casa::VisibilityIteratorReadImpl::parangCalculate ( casacore::Double  time,
casacore::MSDerivedValues msd,
int  nAntennas,
const casacore::MEpoch  mEpoch0 
)
static
virtual const casacore::MDirection& casa::VisibilityIteratorReadImpl::phaseCenter ( ) const
inlinevirtual

Return the current phase center as an MDirection.

Reimplemented in casa::ViReadImplAsync.

Definition at line 403 of file VisibilityIteratorImpl.h.

References msIter_p, and casacore::MSIter::phaseCenter().

virtual const casacore::MDirection casa::VisibilityIteratorReadImpl::phaseCenter ( const casacore::Int  fieldId,
const casacore::Double  time = -1.0 
) const
inlinevirtual

Definition at line 407 of file VisibilityIteratorImpl.h.

References msIter_p, casacore::MSIter::phaseCenter(), and time().

virtual casacore::Int casa::VisibilityIteratorReadImpl::polarizationId ( ) const
inlinevirtual

Return current Polarization Id.

Reimplemented in casa::ViReadImplAsync.

Definition at line 430 of file VisibilityIteratorImpl.h.

References msIter_p, and casacore::MSIter::polarizationId().

virtual casacore::Int casa::VisibilityIteratorReadImpl::polFrame ( ) const
inlinevirtual

Return frame for polarization (returns PolFrame enum)

Reimplemented in casa::ViReadImplAsync.

Definition at line 411 of file VisibilityIteratorImpl.h.

References msIter_p, and casacore::MSIter::polFrame().

virtual casacore::Vector<casacore::Int>& casa::VisibilityIteratorReadImpl::processorId ( casacore::Vector< casacore::Int > &  procids) const
virtual

Return the PROCESSOR_IDs.

Reimplemented in casa::ViReadImplAsync.

const casacore::Cube< casacore::Double > & casa::VisibilityIteratorReadImpl::receptorAngles ( ) const
inlinevirtual

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.

Reimplemented in casa::ViReadImplAsync.

Definition at line 974 of file VisibilityIteratorImpl.h.

References msIter_p, and casacore::MSIter::receptorAngles().

virtual casacore::Vector<casacore::uInt>& casa::VisibilityIteratorReadImpl::rowIds ( casacore::Vector< casacore::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

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Vector<casacore::Int>& casa::VisibilityIteratorReadImpl::scan ( casacore::Vector< casacore::Int > &  scans) const
virtual

Return scan number.

Reimplemented in casa::ViReadImplAsync.

virtual VisibilityIteratorReadImpl& casa::VisibilityIteratorReadImpl::selectChannel ( casacore::Int  nGroup = 1,
casacore::Int  start = 0,
casacore::Int  width = 0,
casacore::Int  increment = 1,
casacore::Int  spectralWindow = -1 
)
virtual

Channel selection - only the selected channels will be returned by the access functions.

The default spectralWindow is the current one (or 0) This allows selection of the input channels, producing nGroup groups of width output channels. Default is to return all channels in a single group.

Reimplemented in casa::ViReadImplAsync.

virtual VisibilityIteratorReadImpl& casa::VisibilityIteratorReadImpl::selectChannel ( const casacore::Block< casacore::Vector< casacore::Int > > &  blockNGroup,
const casacore::Block< casacore::Vector< casacore::Int > > &  blockStart,
const casacore::Block< casacore::Vector< casacore::Int > > &  blockWidth,
const casacore::Block< casacore::Vector< casacore::Int > > &  blockIncr,
const casacore::Block< casacore::Vector< casacore::Int > > &  blockSpw 
)
virtual

Same as above except when multiple ms's are to be accessed.

Reimplemented in casa::ViReadImplAsync.

virtual VisibilityIteratorReadImpl& casa::VisibilityIteratorReadImpl::selectVelocity ( casacore::Int  nChan,
const casacore::MVRadialVelocity vStart,
const casacore::MVRadialVelocity vInc,
casacore::MRadialVelocity::Types  rvType = casacore::MRadialVelocity::LSR,
casacore::MDoppler::Types  dType = casacore::MDoppler::RADIO,
casacore::Bool  precise = false 
)
virtual

Velocity selection - specify the output channels in velocity: nChan - number of output channels, vStart - start velocity, vInc - velocity increment.

So channel i will have velocity vStart + i*vInc (i=0,nChan-1). Specify velocities as in e.g., casacore::MVRadialVelocity (casacore::Quantity (2001.,"km/s")). The reference type and velocity definition are specified separately. Note that no averaging is performed, the visibilities will be interpolated and sampled at the specified velocities, it's up to you to choose a vInc appropriate to the channel width. The REST_FREQUENCY column in the SPECTRAL_WINDOW subtable is used to determine the velocity-frequency conversion. By default calculations are done for a single velocity with offsets applied for the others (ok for non-rel velocities with RADIO defn), set precise to true to do a full conversion for each output channel. (NYI)

Reimplemented in casa::ViReadImplAsync.

void casa::VisibilityIteratorReadImpl::setAsyncEnabled ( casacore::Bool  enable)
protected
virtual void casa::VisibilityIteratorReadImpl::setInterval ( casacore::Double  timeInterval)
inlinevirtual

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

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

Reimplemented in casa::ViReadImplAsync.

Definition at line 232 of file VisibilityIteratorImpl.h.

References msIter_p, casacore::MSIter::setInterval(), timeInterval(), and timeInterval_p.

virtual void casa::VisibilityIteratorReadImpl::setRowBlocking ( casacore::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.

Reimplemented in casa::ViReadImplAsync.

virtual void casa::VisibilityIteratorReadImpl::setSelTable ( )
protectedvirtual

set the currently selected table

virtual void casa::VisibilityIteratorReadImpl::setState ( )
protectedvirtual

set the iteration state

virtual void casa::VisibilityIteratorReadImpl::setTileCache ( )
protectedvirtual

Set the tile cache size....when using slice access if tile cache size is not set memory usage can go wild.

Specifically, the caching scheme is ephemeral and lives for that instance of setting the caching scheme.

If you don't set any then the defaults come into play and caches a few tiles along every axis at the tile you requested...which is a waste when say you know you want to proceed along the row axis for example...and in fact now VisIter just reads one tile (thus the commenting in setTileCache) and lets the OS do the caching rather than than having the table system cache extra tiles.

virtual casacore::Vector<casacore::Float>& casa::VisibilityIteratorReadImpl::sigma ( casacore::Vector< casacore::Float > &  sig) const
virtual

Return sigma.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Matrix<casacore::Float>& casa::VisibilityIteratorReadImpl::sigmaMat ( casacore::Matrix< casacore::Float > &  sigmat) const
virtual

Return sigma matrix (pol-dep)

Reimplemented in casa::ViReadImplAsync.

void casa::VisibilityIteratorReadImpl::slicesToMatrices ( casacore::Vector< casacore::Matrix< casacore::Int > > &  matv,
const casacore::Vector< casacore::Vector< casacore::Slice > > &  slicesv,
const casacore::Vector< casacore::Int > &  widthsv 
) const

Translate slicesv from the form returned by casacore::MSSelection::getChanSlices () to matv as used by setChanAveBounds ().

widthsv is the channel averaging width for each selected spw.

virtual void casa::VisibilityIteratorReadImpl::slurp ( ) const
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.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::String casa::VisibilityIteratorReadImpl::sourceName ( ) const
inlinevirtual

Return the current Source Name.

Reimplemented in casa::ViReadImplAsync.

Definition at line 364 of file VisibilityIteratorImpl.h.

References msIter_p, and casacore::MSIter::sourceName().

virtual casacore::Int casa::VisibilityIteratorReadImpl::spectralWindow ( ) const
inlinevirtual

Return current SpectralWindow.

Reimplemented in casa::ViReadImplAsync.

Definition at line 425 of file VisibilityIteratorImpl.h.

References msIter_p, and casacore::MSIter::spectralWindowId().

virtual casacore::Vector<casacore::Int>& casa::VisibilityIteratorReadImpl::stateId ( casacore::Vector< casacore::Int > &  stateids) const
virtual

Return the STATE_IDs.

Reimplemented in casa::ViReadImplAsync.

template<class T >
void casa::VisibilityIteratorReadImpl::swapyz ( casacore::Cube< T > &  out,
const casacore::Cube< T > &  in 
) const
protected

virtual void getCol (const casacore::String & colName, casacore::Array<casacore::Double> & array, casacore::Array<casacore::Double> & all, casacore::Bool resize = false) const; virtual void getCol (const casacore::String & colName, casacore::Vector<casacore::Bool> & array, casacore::Vector<casacore::Bool> & all, casacore::Bool resize = false) const; virtual void getCol (const casacore::String & colName, casacore::Vector<casacore::Int> & array, casacore::Vector<casacore::Int> & all, casacore::Bool resize = false) const; virtual void getCol (const casacore::String & colName, casacore::Vector<casacore::Double> & array, casacore::Vector<casacore::Double> & all, casacore::Bool resize = false) const;

virtual casacore::Vector<casacore::Double>& casa::VisibilityIteratorReadImpl::time ( casacore::Vector< casacore::Double > &  t) const
virtual

Return MJD midpoint of interval.

Reimplemented in casa::ViReadImplAsync.

Referenced by phaseCenter().

virtual casacore::Vector<casacore::Double>& casa::VisibilityIteratorReadImpl::timeCentroid ( casacore::Vector< casacore::Double > &  t) const
virtual

Return MJD centroid of interval.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Vector<casacore::Double>& casa::VisibilityIteratorReadImpl::timeInterval ( casacore::Vector< casacore::Double > &  ti) const
virtual

Return nominal time interval.

Reimplemented in casa::ViReadImplAsync.

Referenced by setInterval().

virtual void casa::VisibilityIteratorReadImpl::update_rowIds ( ) const
protectedvirtual

Updates, if necessary, rowIds_p member for the current chunk.

virtual void casa::VisibilityIteratorReadImpl::updateSlicer ( )
protectedvirtual

update the DATA slicer

virtual void casa::VisibilityIteratorReadImpl::useImagingWeight ( const VisImagingWeight imWgt)
virtual

assign a VisImagingWeight object to this iterator

casacore::Bool casa::VisibilityIteratorReadImpl::usesTiledDataManager ( const casacore::String columnName,
const casacore::MeasurementSet ms 
) const
protected

get the (velocity selected) interpolated visibilities, flags and weights.

It is not really const at all (it seems to use This-> trickery so callers like flag () can be declared const).

virtual void getInterpolatedVisFlagWeight (DataColumn whichOne) const;

get the (velocity selected) interpolated FLOAT_DATA (as real Floats), flags and weights.

void getInterpolatedFloatDataFlagWeight () const;

virtual casacore::Vector<casacore::RigidVector<casacore::Double, 3> >& casa::VisibilityIteratorReadImpl::uvw ( casacore::Vector< casacore::RigidVector< casacore::Double, 3 > > &  uvwvec) const
virtual

Return u,v and w (in meters)

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Matrix<casacore::Double>& casa::VisibilityIteratorReadImpl::uvwMat ( casacore::Matrix< casacore::Double > &  uvwmat) const
virtual

Reimplemented in casa::ViReadImplAsync.

virtual VisibilityIteratorReadImpl& casa::VisibilityIteratorReadImpl::velInterpolation ( const casacore::String )
inlinevirtual

Select the velocity interpolation scheme.

At present the choice is limited to : nearest and linear, linear is the default. TODO: add cubic, spline and possibly FFT

Reimplemented in casa::ViReadImplAsync.

Definition at line 564 of file VisibilityIteratorImpl.h.

virtual casacore::Cube<casacore::Complex>& casa::VisibilityIteratorReadImpl::visibility ( casacore::Cube< casacore::Complex > &  vis,
DataColumn  whichOne 
) const
virtual

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

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Matrix<CStokesVector>& casa::VisibilityIteratorReadImpl::visibility ( casacore::Matrix< CStokesVector > &  vis,
DataColumn  whichOne 
) const
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.

Reimplemented in casa::ViReadImplAsync.

casacore::IPosition casa::VisibilityIteratorReadImpl::visibilityShape ( ) const
inlinevirtual

Return the shape of the visibility Cube.

inline VisibilityIteratorReadImpl & VisibilityIteratorReadImpl::velInterpolation (const casacore::String & type) { vInterpolation_p = type; return *this; }

Reimplemented in casa::ViReadImplAsync.

Definition at line 1017 of file VisibilityIteratorImpl.h.

References channelGroupSize(), curNumRow_p, and nPol_p.

virtual casacore::Vector<casacore::Float>& casa::VisibilityIteratorReadImpl::weight ( casacore::Vector< casacore::Float > &  wt) const
virtual

Return weight.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Matrix<casacore::Float>& casa::VisibilityIteratorReadImpl::weightMat ( casacore::Matrix< casacore::Float > &  wtmat) const
virtual

Returns the nPol_p x curNumRow_p weight matrix.

Reimplemented in casa::ViReadImplAsync.

virtual casacore::Cube<casacore::Float>& casa::VisibilityIteratorReadImpl::weightSpectrum ( casacore::Cube< casacore::Float > &  wtsp) const
virtual

Return weightspectrum (a weight for each channel)

Reimplemented in casa::ViReadImplAsync.

Friends And Related Function Documentation

friend class AsyncEnabler
friend

Definition at line 117 of file VisibilityIteratorImpl.h.

friend class ROVisibilityIterator
friend

Definition at line 120 of file VisibilityIteratorImpl.h.

friend class ROVisIterator
friend

Definition at line 121 of file VisibilityIteratorImpl.h.

friend class ViReadImplAsync
friend

Definition at line 118 of file VisibilityIteratorImpl.h.

friend class VisibilityIteratorWriteImpl
friend

Definition at line 119 of file VisibilityIteratorImpl.h.

friend class VisIterator
friend

Definition at line 122 of file VisibilityIteratorImpl.h.

friend class VLAT
friend

Definition at line 123 of file VisibilityIteratorImpl.h.

Member Data Documentation

casacore::Bool casa::VisibilityIteratorReadImpl::addDefaultSort_p
protected

Definition at line 915 of file VisibilityIteratorImpl.h.

casacore::Bool casa::VisibilityIteratorReadImpl::asyncEnabled_p
protected

Definition at line 916 of file VisibilityIteratorImpl.h.

casacore::Bool casa::VisibilityIteratorReadImpl::autoTileCacheSizing_p
protected

Definition at line 917 of file VisibilityIteratorImpl.h.

Cache casa::VisibilityIteratorReadImpl::cache_p
mutableprotected

Definition at line 918 of file VisibilityIteratorImpl.h.

casacore::Int casa::VisibilityIteratorReadImpl::channelGroupSize_p
protected

Definition at line 919 of file VisibilityIteratorImpl.h.

Channels casa::VisibilityIteratorReadImpl::channels_p
protected

Definition at line 920 of file VisibilityIteratorImpl.h.

Referenced by channelGroupSize(), and channelIndex().

casacore::Int casa::VisibilityIteratorReadImpl::chunkNumber_p
protected

Definition at line 921 of file VisibilityIteratorImpl.h.

Columns casa::VisibilityIteratorReadImpl::columns_p
protected

Definition at line 922 of file VisibilityIteratorImpl.h.

casacore::Int casa::VisibilityIteratorReadImpl::curChanGroup_p
protected

Definition at line 923 of file VisibilityIteratorImpl.h.

Referenced by channelIndex().

casacore::Int casa::VisibilityIteratorReadImpl::curEndRow_p
protected

Definition at line 924 of file VisibilityIteratorImpl.h.

casacore::Int casa::VisibilityIteratorReadImpl::curNGroups_p
protected

Definition at line 925 of file VisibilityIteratorImpl.h.

casacore::uInt casa::VisibilityIteratorReadImpl::curNumRow_p
protected

Definition at line 926 of file VisibilityIteratorImpl.h.

Referenced by nRow(), and visibilityShape().

casacore::Int casa::VisibilityIteratorReadImpl::curStartRow_p
protected

Definition at line 927 of file VisibilityIteratorImpl.h.

Referenced by newArrayId(), newFieldId(), and newSpectralWindow().

casacore::Int casa::VisibilityIteratorReadImpl::curTableNumRow_p
protected

Definition at line 928 of file VisibilityIteratorImpl.h.

casacore::Bool casa::VisibilityIteratorReadImpl::floatDataFound_p
protected

Definition at line 929 of file VisibilityIteratorImpl.h.

VisImagingWeight casa::VisibilityIteratorReadImpl::imwgt_p
protected

Definition at line 930 of file VisibilityIteratorImpl.h.

casacore::Bool casa::VisibilityIteratorReadImpl::initialized_p
protected

Definition at line 931 of file VisibilityIteratorImpl.h.

casacore::Bool casa::VisibilityIteratorReadImpl::isMultiMS_p
protected

Definition at line 932 of file VisibilityIteratorImpl.h.

MeasurementSets casa::VisibilityIteratorReadImpl::measurementSets_p
protected

Definition at line 933 of file VisibilityIteratorImpl.h.

casacore::Bool casa::VisibilityIteratorReadImpl::more_p
protected

Definition at line 934 of file VisibilityIteratorImpl.h.

Referenced by more().

MeasurementSetChannels casa::VisibilityIteratorReadImpl::msChannels_p
protected

Definition at line 935 of file VisibilityIteratorImpl.h.

casacore::Int casa::VisibilityIteratorReadImpl::msCounter_p
protected

Definition at line 936 of file VisibilityIteratorImpl.h.

casacore::MSDerivedValues casa::VisibilityIteratorReadImpl::msd_p
mutableprotected

Definition at line 939 of file VisibilityIteratorImpl.h.

casacore::MSIter casa::VisibilityIteratorReadImpl::msIter_p
protected
casacore::Bool casa::VisibilityIteratorReadImpl::msIterAtOrigin_p
protected

Definition at line 937 of file VisibilityIteratorImpl.h.

casacore::Int casa::VisibilityIteratorReadImpl::nAnt_p
protected

Definition at line 940 of file VisibilityIteratorImpl.h.

casacore::Int casa::VisibilityIteratorReadImpl::nChan_p
protected

Definition at line 941 of file VisibilityIteratorImpl.h.

casacore::Bool casa::VisibilityIteratorReadImpl::newChanGroup_p
protected

Definition at line 944 of file VisibilityIteratorImpl.h.

casacore::Int casa::VisibilityIteratorReadImpl::nPol_p
protected

Definition at line 942 of file VisibilityIteratorImpl.h.

Referenced by nCorr(), and visibilityShape().

casacore::Int casa::VisibilityIteratorReadImpl::nRowBlocking_p
protected

Definition at line 943 of file VisibilityIteratorImpl.h.

ROVisibilityIterator* casa::VisibilityIteratorReadImpl::rovi_p
protected

Definition at line 945 of file VisibilityIteratorImpl.h.

casacore::RefRows casa::VisibilityIteratorReadImpl::selRows_p
protected

Definition at line 946 of file VisibilityIteratorImpl.h.

casacore::Slicer casa::VisibilityIteratorReadImpl::slicer_p
protected

Definition at line 947 of file VisibilityIteratorImpl.h.

casacore::Block<casacore::Int> casa::VisibilityIteratorReadImpl::sortColumns_p
protected

Definition at line 948 of file VisibilityIteratorImpl.h.

casacore::Bool casa::VisibilityIteratorReadImpl::stateOk_p
protected

Definition at line 949 of file VisibilityIteratorImpl.h.

SubChunkPair casa::VisibilityIteratorReadImpl::subchunk_p
protected

Definition at line 950 of file VisibilityIteratorImpl.h.

casacore::Vector<casacore::Bool> casa::VisibilityIteratorReadImpl::tileCacheIsSet_p
protected

Definition at line 951 of file VisibilityIteratorImpl.h.

casacore::Vector<casacore::Double> casa::VisibilityIteratorReadImpl::time_p
protected

Definition at line 953 of file VisibilityIteratorImpl.h.

casacore::Double casa::VisibilityIteratorReadImpl::timeInterval_p
protected

Definition at line 952 of file VisibilityIteratorImpl.h.

Referenced by getInterval(), and setInterval().

casacore::Bool casa::VisibilityIteratorReadImpl::useSlicer_p
protected

Definition at line 954 of file VisibilityIteratorImpl.h.

std::stack<VisBuffer *> casa::VisibilityIteratorReadImpl::vbStack_p
protected

Definition at line 955 of file VisibilityIteratorImpl.h.

Velocity casa::VisibilityIteratorReadImpl::velocity_p
protected

Definition at line 956 of file VisibilityIteratorImpl.h.

casacore::Slicer casa::VisibilityIteratorReadImpl::weightSlicer_p
protected

Definition at line 957 of file VisibilityIteratorImpl.h.


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