casa
5.7.0-16
|
#include <VisIterator.h>
Classes | |
class | Factory |
Public Member Functions | |
ROVisIterator () | |
Default constructor - useful only to assign another iterator later. More... | |
ROVisIterator (const casacore::MeasurementSet &ms, const casacore::Block< casacore::Int > &sortColumns, casacore::Double timeInterval=0) | |
Construct from casacore::MS and a casacore::Block of casacore::MS column enums specifying the iteration order, if none are specified, time iteration is implicit. More... | |
ROVisIterator (const casacore::MeasurementSet &ms, const casacore::Block< casacore::Int > &sortColumns, casacore::Double timeInterval, const ROVisibilityIterator::Factory &factory) | |
ROVisIterator (const ROVisIterator &other) | |
Copy construct. More... | |
~ROVisIterator () | |
Destructor. More... | |
ROVisIterator & | operator= (const ROVisIterator &other) |
Assignment. More... | |
ROVisIterator & | operator++ (int) |
Members. More... | |
ROVisIterator & | operator++ () |
casacore::Vector< casacore::Int > & | chanIds (casacore::Vector< casacore::Int > &chanids) const |
Return channel numbers in selected VisSet spectrum (i.e. More... | |
casacore::Vector< casacore::Int > & | chanIds (casacore::Vector< casacore::Int > &chanids, casacore::Int spw) const |
casacore::Vector< casacore::Int > & | corrIds (casacore::Vector< casacore::Int > &corrids) const |
Return selected correlation indices. More... | |
casacore::Vector< casacore::Int > & | corrType (casacore::Vector< casacore::Int > &corrTypes) const |
Return the correlation type (returns casacore::Stokes enums) More... | |
void | selectChannel (const casacore::Vector< casacore::Vector< casacore::Slice > > &chansel) |
Set up new chan/corr selection via casacore::Vector<casacore::Slice> More... | |
void | selectCorrelation (const casacore::Vector< casacore::Vector< casacore::Slice > > &corrsel) |
casacore::Vector < casacore::Matrix < casacore::Int > > & | setChanAveBounds (casacore::Float factor, casacore::Vector< casacore::Matrix< casacore::Int > > &bounds) |
Set up/return channel averaging bounds. More... | |
void | allSelectedSpectralWindows (casacore::Vector< casacore::Int > &spws, casacore::Vector< casacore::Int > &nvischan) |
Get selected spws and channel counts. More... | |
void | lsrFrequency (const casacore::Int &spw, casacore::Vector< casacore::Double > &freq, casacore::Bool &convert, const casacore::Bool ignoreconv=false) |
void | getChannelSelection (casacore::Block< casacore::Vector< casacore::Int > > &, casacore::Block< casacore::Vector< casacore::Int > > &, casacore::Block< casacore::Vector< casacore::Int > > &, casacore::Block< casacore::Vector< casacore::Int > > &, casacore::Block< casacore::Vector< casacore::Int > > &) |
The following throws an exception, because this isn't the language of channel selection in VisIterator. More... | |
casacore::Int | numberChan (casacore::Int spw) const |
Return number of chans/corrs per spw/pol. More... | |
casacore::Int | numberCorr (casacore::Int pol) const |
Public Member Functions inherited from casa::ROVisibilityIterator | |
ROVisibilityIterator () | |
Default constructor - useful only to assign another iterator later. More... | |
ROVisibilityIterator (const casacore::MeasurementSet &ms, const casacore::Block< casacore::Int > &sortColumns, casacore::Double timeInterval=0, const Factory &factory=Factory()) | |
Construct from an casacore::MS and a casacore::Block of casacore::MS column enums specifying the iteration order. More... | |
ROVisibilityIterator (const casacore::MeasurementSet &ms, const casacore::Block< casacore::Int > &sortColumns, const casacore::Bool addDefaultSortCols, casacore::Double timeInterval=0) | |
Same as above, but with the option of using the raw order of ms (addDefaultSortCols=false). More... | |
ROVisibilityIterator (const casacore::Block< casacore::MeasurementSet > &mss, const casacore::Block< casacore::Int > &sortColumns, casacore::Double timeInterval=0) | |
Same as previous constructors, but with multiple MSs to iterate over. More... | |
ROVisibilityIterator (const casacore::Block< casacore::MeasurementSet > &mss, const casacore::Block< casacore::Int > &sortColumns, const casacore::Bool addDefaultSortCols, casacore::Double timeInterval=0) | |
ROVisibilityIterator (const asyncio::PrefetchColumns *prefetchColumns, const casacore::MeasurementSet &ms, const casacore::Block< casacore::Int > &sortColumns, const casacore::Bool addDefaultSortCols=true, casacore::Double timeInterval=0) | |
ROVisibilityIterator (const asyncio::PrefetchColumns *prefetchColumns, const casacore::Block< casacore::MeasurementSet > &mss, const casacore::Block< casacore::Int > &sortColumns, const casacore::Bool addDefaultSortCols=true, casacore::Double timeInterval=0) | |
ROVisibilityIterator (const ROVisibilityIterator &other) | |
Copy construct. More... | |
ROVisibilityIterator (const asyncio::PrefetchColumns *prefetchColumns, const ROVisibilityIterator &other) | |
ROVisibilityIterator & | operator= (const ROVisibilityIterator &other) |
Assigment. More... | |
virtual | ~ROVisibilityIterator () |
Destructor. More... | |
casacore::Bool | isAsynchronous () const |
static ROVisibilityIterator * create (const casacore::MeasurementSet & ms, const casacore::Block<casacore::Int>& sortColumns, const asyncio::PrefetchColumns * prefetchColumns = NULL, const casacore::Bool addDefaultSortCols = true, casacore::Double timeInterval=0); More... | |
casacore::Bool | isAsyncEnabled () const |
casacore::Bool | isWritable () const |
void | origin () |
Reset iterator to origin/start of data (of current chunk) More... | |
void | originChunks () |
Reset iterator to true start of data (first chunk) More... | |
casacore::Double | getInterval () const |
Return the time interval (in seconds) used for iteration. More... | |
void | setInterval (casacore::Double timeInterval) |
Set or reset the time interval (in seconds) to use for iteration. More... | |
void | setRowBlocking (casacore::Int nRows=0) |
Set the 'blocking' size for returning data. More... | |
casacore::Bool | more () const |
Return false if no more data (in current chunk) More... | |
SubChunkPair | getSubchunkId () const |
ROVisibilityIterator & | operator++ (int) |
Advance iterator through data. More... | |
ROVisibilityIterator & | operator++ () |
casacore::Bool | moreChunks () const |
Return false if no more 'Chunks' of data left. More... | |
casacore::Bool | newMS () const |
Check if ms has change since last iteration. More... | |
casacore::Int | msId () const |
VisBuffer * | getVisBuffer () |
const casacore::MeasurementSet & | ms () const |
reference to actual ms in interator More... | |
ROVisibilityIterator & | nextChunk () |
Advance to the next Chunk of data. More... | |
casacore::Vector< casacore::Int > & | antenna1 (casacore::Vector< casacore::Int > &ant1) const |
Return antenna1. More... | |
casacore::Vector< casacore::Int > & | antenna2 (casacore::Vector< casacore::Int > &ant2) const |
Return antenna2. More... | |
casacore::Vector< casacore::Int > & | feed1 (casacore::Vector< casacore::Int > &fd1) const |
Return feed1. More... | |
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... | |
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... | |
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... | |
const casacore::Vector < casacore::String > & | antennaMounts () const |
return a string mount identifier for each antenna More... | |
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... | |
casacore::Bool | allBeamOffsetsZero () const |
true if all elements of the cube returned by getBeamOffsets are zero More... | |
casacore::Vector< casacore::Float > | feed_pa (casacore::Double time) const |
Return feed parallactic angles casacore::Vector(nant) (1 feed/ant) More... | |
const casacore::Float & | parang0 (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... | |
casacore::Vector< casacore::Float > | parang (casacore::Double time) const |
Per antenna: More... | |
casacore::MDirection | azel0 (casacore::Double time) const |
Return the antenna AZ/EL casacore::Vector(nant) More... | |
casacore::Vector < casacore::MDirection > | azel (casacore::Double time) const |
casacore::Double | hourang (casacore::Double time) const |
Return the hour angle for the specified time. More... | |
casacore::Int | fieldId () const |
Return the current FieldId. More... | |
casacore::Int | arrayId () const |
Return the current ArrayId. More... | |
casacore::String | fieldName () const |
Return the current Field Name. More... | |
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... | |
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... | |
casacore::Array< casacore::Bool > & | flagCategory (casacore::Array< casacore::Bool > &flagCategories) const |
Return flags for each polarization, channel, category, and row. More... | |
casacore::Vector < casacore::Bool > & | flagRow (casacore::Vector< casacore::Bool > &rowflags) const |
Return row flag. More... | |
casacore::Vector< casacore::Int > & | scan (casacore::Vector< casacore::Int > &scans) const |
Return scan number. More... | |
casacore::Vector< casacore::Int > & | observationId (casacore::Vector< casacore::Int > &obsids) const |
Return the OBSERVATION_IDs. More... | |
casacore::Vector< casacore::Int > & | processorId (casacore::Vector< casacore::Int > &procids) const |
Return the PROCESSOR_IDs. More... | |
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... | |
casacore::Vector < casacore::Double > & | lsrFrequency (casacore::Vector< casacore::Double > &freq) const |
Return frequencies (in Hz, acc. More... | |
const casacore::MDirection & | phaseCenter () const |
Return the current phase center as an MDirection. More... | |
const casacore::MDirection | phaseCenter (const casacore::Int fieldid, const casacore::Double time=-1.0) const |
casacore::Int | polFrame () const |
Return frame for polarization (returns PolFrame enum) More... | |
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... | |
casacore::Int | spectralWindow () const |
Return current SpectralWindow. More... | |
casacore::Int | polarizationId () const |
Return current Polarization Id. More... | |
casacore::Int | dataDescriptionId () const |
Return current DataDescription Id. More... | |
casacore::Vector < casacore::Double > & | time (casacore::Vector< casacore::Double > &t) const |
Return MJD midpoint of interval. More... | |
casacore::Vector < casacore::Double > & | timeCentroid (casacore::Vector< casacore::Double > &t) const |
Return MJD centroid of interval. More... | |
casacore::Vector < casacore::Double > & | timeInterval (casacore::Vector< casacore::Double > &ti) const |
Return nominal time interval. More... | |
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... | |
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... | |
casacore::Matrix< CStokesVector > & | visibility (casacore::Matrix< CStokesVector > &vis, DataColumn whichOne) const |
Return the visibility 4-vector of polarizations for each channel. More... | |
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... | |
casacore::Matrix < casacore::Double > & | uvwMat (casacore::Matrix< casacore::Double > &uvwmat) const |
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... | |
casacore::Cube< casacore::Float > & | weightSpectrum (casacore::Cube< casacore::Float > &wtsp) const |
Return weightspectrum (a weight for each channel) More... | |
casacore::Bool | newFieldId () const |
Return imaging weight (a weight for each channel) casacore::Matrix<casacore::Float>& imagingWeight(casacore::Matrix<casacore::Float>& wt) const; Return true if FieldId/Source has changed since last iteration More... | |
casacore::Bool | newArrayId () const |
Return true if arrayID has changed since last iteration. More... | |
casacore::Bool | newSpectralWindow () const |
Return true if SpectralWindow has changed since last iteration. More... | |
casacore::Int | channelIndex () const |
Return the index of the first channel of the current channel group in the total (selected) spectrum. More... | |
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... | |
casacore::Int | nCorr () const |
Return the number of correlations in the current iteration. More... | |
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... | |
casacore::Int | nRowChunk () const |
Return the numbers of rows in the current chunk. More... | |
casacore::Int | nSubInterval () const |
Return the number of sub-intervals in the current chunk. More... | |
void | slurp () const |
Call to use the slurp i/o method for all scalar columns. More... | |
ROVisibilityIterator & | 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... | |
ROVisibilityIterator & | velInterpolation (const casacore::String &type) |
Select the velocity interpolation scheme. More... | |
ROVisibilityIterator & | 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... | |
ROVisibilityIterator & | selectChannel (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) |
Same as above except when multiple ms's are to be accessed. More... | |
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... | |
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) |
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... | |
void | getFreqInSpwRange (casacore::Double &freqStart, casacore::Double &freqEnd, casacore::MFrequency::Types freqframe=casacore::MFrequency::LSRK) |
Get the frequency range of the data selection. More... | |
void | attachVisBuffer (VisBuffer &vb) |
Attach a VisBuffer object. More... | |
void | detachVisBuffer (VisBuffer &vb) |
Detach a VisBuffer object. More... | |
const casacore::ROMSColumns & | msColumns () const |
Access the current casacore::ROMSColumns object in MSIter. More... | |
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... | |
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... | |
void | useImagingWeight (const VisImagingWeight &imWgt) |
assign a VisImagingWeight object to this iterator More... | |
const VisImagingWeight & | getImagingWeightGenerator () const |
casacore::Int | numberAnt () |
return number of Ant More... | |
casacore::Int | numberCoh () |
Return number of rows in all selected ms's. More... | |
casacore::Int | numberSpw () |
Return number of spws, polids, ddids. More... | |
casacore::Int | numberPol () |
casacore::Int | numberDDId () |
casacore::Int | getDataDescriptionId () const |
casacore::ArrayColumn <casacore::Double> & getChannelFrequency () const; casacore::Block<casacore::Int> getChannelGroupNumber () const; casacore::Block<casacore::Int> getChannelIncrement () const; casacore::Block<casacore::Int> getChannelStart () const; casacore::Block<casacore::Int> getChannelWidth () const; More... | |
const casacore::MeasurementSet & | getMeasurementSet () const |
casacore::Int | getMeasurementSetId () const |
casacore::Int | getNAntennas () const |
casacore::MEpoch | getEpoch () const |
casacore::Vector< casacore::Float > | getReceptor0Angle () |
casacore::Vector< casacore::uInt > | getRowIds () const |
const casacore::Block < casacore::Int > & | getSortColumns () const |
Returns the columns that the VisibilityIterator is sorting by. More... | |
Protected Member Functions | |
void | getDataColumn (DataColumn whichOne, const casacore::Vector< casacore::Vector< casacore::Slice > > &slices, casacore::Cube< casacore::Complex > &data) const |
virtual ROVisIteratorImpl * | getReadImpl () const |
Protected Member Functions inherited from casa::ROVisibilityIterator | |
ROVisibilityIterator (const asyncio::PrefetchColumns *prefetchColumns, const casacore::Block< casacore::MeasurementSet > &mss, const casacore::Block< casacore::Int > &sortColumns, const casacore::Bool addDefaultSortCols, casacore::Double timeInterval, casacore::Bool writable) | |
void | construct (const asyncio::PrefetchColumns *prefetchColumns, const casacore::Block< casacore::MeasurementSet > &mss, const casacore::Block< casacore::Int > &sortColumns, const casacore::Bool addDefaultSortCols, casacore::Double timeInterval, casacore::Bool writable, const Factory &factory) |
VisibilityIteratorReadImpl * | getReadImpl () const |
bool | existsColumn (VisBufferComponents::EnumType id) const |
virtual void | advance () |
advance the iteration More... | |
virtual void | setSelTable () |
set the currently selected table More... | |
void | setState () |
set the iteration state More... | |
void | getTopoFreqs () |
get the TOPO frequencies from the selected velocities and the obs. More... | |
void | getTopoFreqs (casacore::Vector< casacore::Double > &lsrFreq, casacore::Vector< casacore::Double > &selFreq) |
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::MSDerivedValues & | getMSD () 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... | |
void | getDataColumn (DataColumn whichOne, const casacore::Slicer &slicer, casacore::Cube< casacore::Complex > &data) const |
get the (velocity selected) interpolated visibilities, flags and weights. More... | |
void | getDataColumn (DataColumn whichOne, casacore::Cube< casacore::Complex > &data) const |
void | getFloatDataColumn (const casacore::Slicer &slicer, casacore::Cube< casacore::Float > &data) const |
get FLOAT_DATA as real Floats. More... | |
void | getFloatDataColumn (casacore::Cube< casacore::Float > &data) const |
void | originChunks (casacore::Bool forceRewind) |
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... | |
casacore::Bool | isInSelectedSPW (const casacore::Int &spw) |
Check if spw is in selected SPW for actual ms. More... | |
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 |
void getCol(const casacore::String &colName, casacore::Array<casacore::Double> &array, casacore::Array<casacore::Double> &all, casacore::Bool resize = false) const; void getCol(const casacore::String &colName, casacore::Vector<casacore::Bool> &array, casacore::Vector<casacore::Bool> &all, casacore::Bool resize = false) const; void getCol(const casacore::String &colName, casacore::Vector<casacore::Int> &array, casacore::Vector<casacore::Int> &all, casacore::Bool resize = false) const; void getCol(const casacore::String &colName, casacore::Vector<casacore::Double> &array, casacore::Vector<casacore::Double> &all, casacore::Bool resize = false) const; More... | |
Definition at line 114 of file VisIterator.h.
casa::ROVisIterator::ROVisIterator | ( | ) |
Default constructor - useful only to assign another iterator later.
casa::ROVisIterator::ROVisIterator | ( | const casacore::MeasurementSet & | ms, |
const casacore::Block< casacore::Int > & | sortColumns, | ||
casacore::Double | timeInterval = 0 |
||
) |
Construct from casacore::MS and a casacore::Block of casacore::MS column enums specifying the iteration order, if none are specified, time iteration is implicit.
An optional timeInterval 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 (in seconds) 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.
casa::ROVisIterator::ROVisIterator | ( | const casacore::MeasurementSet & | ms, |
const casacore::Block< casacore::Int > & | sortColumns, | ||
casacore::Double | timeInterval, | ||
const ROVisibilityIterator::Factory & | factory | ||
) |
casa::ROVisIterator::ROVisIterator | ( | const ROVisIterator & | other | ) |
Copy construct.
This calls the assignment operator.
casa::ROVisIterator::~ROVisIterator | ( | ) |
Destructor.
void casa::ROVisIterator::allSelectedSpectralWindows | ( | casacore::Vector< casacore::Int > & | spws, |
casacore::Vector< casacore::Int > & | nvischan | ||
) |
Get selected spws and channel counts.
casacore::Vector<casacore::Int>& casa::ROVisIterator::chanIds | ( | casacore::Vector< casacore::Int > & | chanids | ) | const |
casacore::Vector<casacore::Int>& casa::ROVisIterator::chanIds | ( | casacore::Vector< casacore::Int > & | chanids, |
casacore::Int | spw | ||
) | const |
casacore::Vector<casacore::Int>& casa::ROVisIterator::corrIds | ( | casacore::Vector< casacore::Int > & | corrids | ) | const |
Return selected correlation indices.
|
virtual |
Return the correlation type (returns casacore::Stokes enums)
Reimplemented from casa::ROVisibilityIterator.
|
inline |
The following throws an exception, because this isn't the language of channel selection in VisIterator.
Definition at line 179 of file VisIterator.h.
|
protected |
|
protectedvirtual |
void casa::ROVisIterator::lsrFrequency | ( | const casacore::Int & | spw, |
casacore::Vector< casacore::Double > & | freq, | ||
casacore::Bool & | convert, | ||
const casacore::Bool | ignoreconv = false |
||
) |
casacore::Int casa::ROVisIterator::numberChan | ( | casacore::Int | spw | ) | const |
Return number of chans/corrs per spw/pol.
casacore::Int casa::ROVisIterator::numberCorr | ( | casacore::Int | pol | ) | const |
ROVisIterator& casa::ROVisIterator::operator++ | ( | int | ) |
Members.
Advance iterator through data
ROVisIterator& casa::ROVisIterator::operator++ | ( | ) |
ROVisIterator& casa::ROVisIterator::operator= | ( | const ROVisIterator & | other | ) |
Assignment.
Any attached VisBuffers are lost in the assign.
void casa::ROVisIterator::selectChannel | ( | const casacore::Vector< casacore::Vector< casacore::Slice > > & | chansel | ) |
Set up new chan/corr selection via casacore::Vector<casacore::Slice>
void casa::ROVisIterator::selectCorrelation | ( | const casacore::Vector< casacore::Vector< casacore::Slice > > & | corrsel | ) |
casacore::Vector<casacore::Matrix<casacore::Int> >& casa::ROVisIterator::setChanAveBounds | ( | casacore::Float | factor, |
casacore::Vector< casacore::Matrix< casacore::Int > > & | bounds | ||
) |
Set up/return channel averaging bounds.