|
| ~VisBufferAsync () |
| VisBufferAsync (const VisBuffer& vb);. More...
|
|
VisBufferAsync & | operator= (const VisBufferAsync &other) |
|
virtual void | allSelectedSpectralWindows (casacore::Vector< casacore::Int > &spws, casacore::Vector< casacore::Int > &nvischan) |
| Get all selected spectral windows not just the one in the actual buffer. More...
|
|
virtual VisBufferAsync & | assign (const VisBuffer &vb, casacore::Bool copy) |
| Assignment, optionally without copying the data across; with copy=true this is identical to normal assignment operator. More...
|
|
virtual casacore::Vector
< casacore::MDirection > | azel (casacore::Double time) const |
|
virtual casacore::MDirection | azel0 (casacore::Double time) const |
| Note that azel is a function instead of a cached value. More...
|
|
virtual VisBuffer * | clone () const |
|
virtual void | detachFromVisIter () |
| virtual casacore::Int dataDescriptionId() const; More...
|
|
virtual casacore::Vector
< casacore::Float > | feed_pa (casacore::Double time) const |
| Note that feed_pa is a function instead of a cached value. More...
|
|
virtual casacore::Double | hourang (casacore::Double time) const |
| Hour angle for specified time. More...
|
|
virtual void | invalidate () |
| Invalidate the cache. More...
|
|
virtual void | invalidateAsync () |
|
virtual void | lsrFrequency (const casacore::Int &spw, casacore::Vector< casacore::Double > &freq, casacore::Bool &convert) const |
| virtual casacore::Vector<casacore::Double> & lsrFrequency (); virtual const casacore::Vector<casacore::Double> & lsrFrequency () const; More...
|
|
virtual const
casacore::ROMSColumns & | msColumns () const |
| Access the current casacore::ROMSColumns object via VisIter. More...
|
|
casacore::Int | msId () const |
| Return the actual msid, useful if using multiple ms to monitor which ms in the list is being dealt with. More...
|
|
virtual casacore::Bool | newArrayId () const |
|
virtual casacore::Bool | newFieldId () const |
|
casacore::Bool | newMS () const |
| checked if the ms has changed since the last chunk processed More...
|
|
virtual casacore::Bool | newSpectralWindow () const |
|
casacore::Int | nRowChunk () const |
|
casacore::Int | numberAnt () const |
|
casacore::Int | numberCoh () const |
|
virtual casacore::Vector
< casacore::Float > | parang (casacore::Double time) const |
|
virtual casacore::Float | parang0 (casacore::Double time) const |
| NOMINAL parallactic angle (feed p.a. More...
|
|
virtual casacore::Int | polarizationId () const |
|
virtual casacore::Vector
< casacore::uInt > & | rowIds () |
| Return the row Ids from the original ms. More...
|
|
virtual const casacore::Vector
< casacore::uInt > & | rowIds () const |
|
virtual void | setCorrectedVisCube (casacore::Complex c) |
|
virtual void | setCorrectedVisCube (const casacore::Cube< casacore::Complex > &vis) |
|
virtual void | setModelVisCube (casacore::Complex c) |
|
virtual void | setModelVisCube (const casacore::Cube< casacore::Complex > &vis) |
|
virtual void | setModelVisCube (const casacore::Vector< casacore::Float > &stokes) |
| Set model according to a casacore::Stokes vector. More...
|
|
virtual void | setVisCube (casacore::Complex c) |
| Set the visibility to a constant, note that this only changes the buffer, no values are written back to tables from here. More...
|
|
virtual void | setVisCube (const casacore::Cube< casacore::Complex > &vis) |
| Set the visibility, note that this only changes the buffer, no values are written back to tables from here. More...
|
|
| VisBuffer () |
| Create empty VisBuffer you can assign to or attach. More...
|
|
| VisBuffer (ROVisibilityIterator &iter) |
| Construct VisBuffer for a particular VisibilityIterator The buffer will remain synchronized with the iterator. More...
|
|
| VisBuffer (const VisBuffer &vb) |
| Copy construct, looses synchronization with iterator: only use buffer for current iteration (or reattach). More...
|
|
virtual | ~VisBuffer () |
| Destructor (detaches from VisIter) More...
|
|
virtual VisBuffer & | operator= (const VisBuffer &vb) |
| Assignment, loses synchronization with iterator: only use buffer for current iteration (or reattach) More...
|
|
VisBuffer & | operator-= (const VisBuffer &vb) |
| subtraction: return the difference of the visibilities, flags of this and other are or-ed. More...
|
|
virtual casacore::Int & | nCorr () |
| Access functions. More...
|
|
virtual casacore::Int | nCorr () const |
|
virtual casacore::Int & | nChannel () |
|
virtual casacore::Int | nChannel () const |
|
virtual casacore::Vector
< casacore::Int > & | channel () |
|
virtual const casacore::Vector
< casacore::Int > & | channel () const |
|
virtual casacore::Int & | nRow () |
| virtual casacore::Int & nCat() { return nCatOK_p ? nCat_p : fillnCat(); } virtual casacore::Int nCat() const { return This->nCat(); } More...
|
|
virtual casacore::Int | nRow () const |
|
virtual casacore::Vector
< casacore::Int > & | antenna1 () |
|
virtual const casacore::Vector
< casacore::Int > & | antenna1 () const |
|
virtual casacore::Vector
< casacore::Int > & | antenna2 () |
|
virtual const casacore::Vector
< casacore::Int > & | antenna2 () const |
|
virtual casacore::Vector
< casacore::Int > & | feed1 () |
|
virtual const casacore::Vector
< casacore::Int > & | feed1 () const |
|
virtual casacore::Vector
< casacore::Int > & | feed2 () |
|
virtual const casacore::Vector
< casacore::Int > & | feed2 () const |
|
virtual void | dirtyComponentsAdd (const VbDirtyComponents &additionalDirtyComponents) |
|
virtual void | dirtyComponentsAdd (VisBufferComponents::EnumType component) |
|
virtual void | dirtyComponentsClear () |
|
virtual VbDirtyComponents | dirtyComponentsGet () const |
|
virtual void | dirtyComponentsSet (const VbDirtyComponents &dirtyComponents) |
|
virtual void | dirtyComponentsSet (VisBufferComponents::EnumType component) |
|
virtual casacore::Bool | fetch (const asyncio::PrefetchColumns *pfc) |
|
virtual casacore::Vector
< casacore::Float > & | feed1_pa () |
| feed1_pa() and feed2_pa() return an array of parallactic angles (each corresponds to the first receptor of the feed) one for each row in the current buffer. More...
|
|
virtual const casacore::Vector
< casacore::Float > & | feed1_pa () const |
|
virtual casacore::Vector
< casacore::Float > & | feed2_pa () |
|
virtual const casacore::Vector
< casacore::Float > & | feed2_pa () const |
|
virtual casacore::Vector
< casacore::SquareMatrix
< casacore::Complex, 2 > > & | CJones () |
|
virtual const casacore::Vector
< casacore::SquareMatrix
< casacore::Complex, 2 > > & | CJones () const |
|
virtual casacore::Vector
< casacore::MDirection > & | direction1 () |
| direction1() and direction2() return arrays of directions where the first and the second antenna/feed are pointed to. More...
|
|
virtual const casacore::Vector
< casacore::MDirection > & | direction1 () const |
|
virtual casacore::Vector
< casacore::MDirection > & | direction2 () |
|
virtual const casacore::Vector
< casacore::MDirection > & | direction2 () const |
|
virtual casacore::MDirection & | firstDirection1 () |
|
virtual const
casacore::MDirection & | firstDirection1 () const |
|
virtual casacore::Vector
< casacore::Double > & | azel0Vec (casacore::Double time, casacore::Vector< casacore::Double > &azelVec) const |
|
virtual casacore::Matrix
< casacore::Double > & | azelMat (casacore::Double time, casacore::Matrix< casacore::Double > &azelMat) const |
|
virtual casacore::Int | fieldId () const |
|
virtual casacore::Int & | fieldIdRef () |
|
virtual casacore::Int & | arrayIdRef () |
|
virtual casacore::Int | arrayId () const |
|
virtual casacore::Matrix
< casacore::Bool > & | flag () |
| Return flag for each channel & row. More...
|
|
virtual const casacore::Matrix
< casacore::Bool > & | flag () const |
|
virtual casacore::Cube
< casacore::Bool > & | flagCube () |
| Return flag for each polarization, channel and row. More...
|
|
virtual const casacore::Cube
< casacore::Bool > & | flagCube () const |
|
virtual casacore::Vector
< casacore::Bool > & | flagRow () |
|
virtual const casacore::Vector
< casacore::Bool > & | flagRow () const |
|
virtual casacore::Array
< casacore::Bool > & | flagCategory () |
| Return flags for each polarization, channel, category, and row. More...
|
|
virtual const casacore::Array
< casacore::Bool > & | flagCategory () const |
|
virtual casacore::Vector
< casacore::Int > & | scan () |
|
virtual const casacore::Vector
< casacore::Int > & | scan () const |
|
virtual casacore::Int | scan0 () |
| scalar version for convenience, when scan known constant for entire iteration/buffer. More...
|
|
virtual casacore::Vector
< casacore::Int > & | processorId () |
|
virtual const casacore::Vector
< casacore::Int > & | processorId () const |
|
virtual casacore::Vector
< casacore::Int > & | observationId () |
|
virtual const casacore::Vector
< casacore::Int > & | observationId () const |
|
virtual casacore::Vector
< casacore::Int > & | stateId () |
|
virtual const casacore::Vector
< casacore::Int > & | stateId () const |
|
virtual casacore::Vector
< casacore::Double > & | frequency () |
| Gets SPECTRAL_WINDOW/CHAN_FREQ (in Hz, acc. More...
|
|
virtual const casacore::Vector
< casacore::Double > & | frequency () const |
|
virtual void | lsrFrequency (const casacore::Int &spw, casacore::Vector< casacore::Double > &freq, casacore::Bool &convert, const casacore::Bool ignoreconv=false) const |
| virtual casacore::Vector<casacore::Double>& lsrFrequency() { return lsrFrequencyOK_p ? lsrFrequency_p : fillLSRFreq(); } virtual const casacore::Vector<casacore::Double>& lsrFrequency() const { return This->lsrFrequency(); } More...
|
|
virtual casacore::MDirection & | phaseCenter () |
|
virtual casacore::MDirection | phaseCenter () const |
|
virtual const casacore::MDirection | phaseCenter (const casacore::Int fieldId, const casacore::Double time=-1.0) const |
|
virtual const casacore::MDirection | phaseCenter (const casacore::Double time) const |
|
virtual casacore::Int | polFrame () const |
|
virtual casacore::Vector
< casacore::Int > & | corrType () |
|
virtual const casacore::Vector
< casacore::Int > & | corrType () const |
|
virtual casacore::Vector
< casacore::Float > & | sigma () |
|
virtual const casacore::Vector
< casacore::Float > & | sigma () const |
|
virtual casacore::Matrix
< casacore::Float > & | sigmaMat () |
|
virtual const casacore::Matrix
< casacore::Float > & | sigmaMat () const |
|
virtual casacore::Int & | spectralWindow () |
|
virtual casacore::Int | spectralWindow () const |
|
virtual casacore::Int & | dataDescriptionIdRef () |
|
virtual casacore::Int | dataDescriptionId () const |
|
virtual casacore::Vector
< casacore::Double > & | time () |
|
virtual const casacore::Vector
< casacore::Double > & | time () const |
|
virtual casacore::Vector
< casacore::Double > & | timeCentroid () |
|
virtual const casacore::Vector
< casacore::Double > & | timeCentroid () const |
|
virtual casacore::Vector
< casacore::Double > & | timeInterval () |
|
virtual const casacore::Vector
< casacore::Double > & | timeInterval () const |
|
virtual casacore::Vector
< casacore::Double > & | exposure () |
|
virtual const casacore::Vector
< casacore::Double > & | exposure () const |
|
virtual casacore::Vector
< casacore::RigidVector
< casacore::Double, 3 > > & | uvw () |
|
virtual const casacore::Vector
< casacore::RigidVector
< casacore::Double, 3 > > & | uvw () const |
|
virtual casacore::Matrix
< casacore::Double > & | uvwMat () |
|
virtual const casacore::Matrix
< casacore::Double > & | uvwMat () const |
|
virtual casacore::Matrix
< CStokesVector > & | visibility () |
|
virtual const casacore::Matrix
< CStokesVector > & | visibility () const |
|
virtual casacore::Matrix
< CStokesVector > & | modelVisibility () |
|
virtual const casacore::Matrix
< CStokesVector > & | modelVisibility () const |
|
virtual casacore::Matrix
< CStokesVector > & | correctedVisibility () |
|
virtual const casacore::Matrix
< CStokesVector > & | correctedVisibility () const |
|
virtual casacore::Cube
< casacore::Complex > & | visCube () |
|
virtual const casacore::Cube
< casacore::Complex > & | visCube () const |
|
virtual casacore::Cube
< casacore::Complex > & | modelVisCube () |
|
virtual casacore::Cube
< casacore::Complex > & | modelVisCube (const casacore::Bool &matchVisCubeShape) |
|
virtual const casacore::Cube
< casacore::Complex > & | modelVisCube () const |
|
virtual casacore::Cube
< casacore::Complex > & | correctedVisCube () |
|
virtual const casacore::Cube
< casacore::Complex > & | correctedVisCube () const |
|
casacore::Cube
< casacore::Complex > & | dataCube (const casacore::MS::PredefinedColumns whichcol=casacore::MS::DATA) |
| Return visCube(), modelVisCube(), or correctedVisCube(), according to whichcol. More...
|
|
const casacore::Cube
< casacore::Complex > & | dataCube (const casacore::MS::PredefinedColumns whichcol=casacore::MS::DATA) const |
|
virtual casacore::Cube
< casacore::Float > & | floatDataCube () |
|
virtual const casacore::Cube
< casacore::Float > & | floatDataCube () const |
|
virtual casacore::Vector
< casacore::Float > & | weight () |
| Returns the weights for each row averaged over the parallel hand correlations. More...
|
|
virtual const casacore::Vector
< casacore::Float > & | weight () const |
|
virtual casacore::Matrix
< casacore::Float > & | weightMat () |
| Returns the nPol_p x curNumRow_p weight matrix. More...
|
|
virtual const casacore::Matrix
< casacore::Float > & | weightMat () const |
|
virtual casacore::Bool | existsWeightSpectrum () const |
| Is a valid WEIGHT_SPECTRUM available? More...
|
|
virtual casacore::Cube
< casacore::Float > & | weightSpectrum () |
|
virtual const casacore::Cube
< casacore::Float > & | weightSpectrum () const |
|
virtual casacore::Matrix
< casacore::Float > & | imagingWeight () |
|
virtual const casacore::Matrix
< casacore::Float > & | imagingWeight () const |
|
virtual casacore::Cube
< casacore::Float > & | weightCube () |
| virtual casacore::Matrix<casacore::Float>& imagingWeight() { return imagingWeightOK_p ? imagingWeight_p : fillImagingWeight(); } virtual const casacore::Matrix<casacore::Float>& imagingWeight() const { return This->imagingWeight(); } More...
|
|
virtual casacore::Vector
< casacore::Int > | vecIntRange (const MSCalEnums::colDef &calEnum) const |
| Utility functions to provide coordinate or column ranges of the data in the VisBuffer. More...
|
|
virtual casacore::Vector
< casacore::Int > | antIdRange () const |
| Antenna id. More...
|
|
virtual casacore::Bool | timeRange (casacore::MEpoch &rTime, casacore::MVEpoch &rTimeEP, casacore::MVEpoch &rInterval) const |
| casacore::Time range More...
|
|
virtual void | freqAverage () |
| Frequency average the buffer (visibility() column only) More...
|
|
void | freqAveCubes () |
| Frequency average the buffer (visCube and [if present] modelVisCube) More...
|
|
void | channelAve (const casacore::Matrix< casacore::Int > &chanavebounds, casacore::Bool calmode=true) |
| Average channel axis according to chanavebounds, for whichever of DATA, MODEL_DATA, CORRECTED_DATA, FLOAT_DATA, FLAG, and WEIGHT_SPECTRUM are present. More...
|
|
template<class T > |
void | chanAveVisCube (casacore::Cube< T > &data, casacore::Int nChanOut) |
| Average channel axis by factor. More...
|
|
template<class T > |
void | chanAccCube (casacore::Cube< T > &data, casacore::Int nChanOut) |
| Accumulate channel axis by factor, without applying WEIGHT_SPECTRUM even if it is present. More...
|
|
virtual void | chanAveFlagCube (casacore::Cube< casacore::Bool > &flagcube, const casacore::Int nChanOut, const casacore::Bool restoreWeightSpectrum=true) |
| This defaults to no conceptual side effects, but usually it is more efficient to let it leave weightSpectrum() in a channel averaged state. More...
|
|
void | chanAveFlagCategory (casacore::Array< casacore::Bool > &flagcat, const casacore::Int nChanOut) |
| Doesn't do anything if flagcat is degenerate. More...
|
|
virtual void | formStokes () |
| Form casacore::Stokes parameters from correlations (these are preliminary versions) More...
|
|
virtual void | formStokesWeightandFlag () |
|
virtual void | formStokes (casacore::Cube< casacore::Complex > &vis) |
|
virtual void | formStokes (casacore::Cube< casacore::Float > &fcube) |
|
virtual void | sortCorr () |
| casacore::Sort/unsort the correlations, if necessary (Rudimentary handling of non-canonically sorted correlations–use with care!) More...
|
|
virtual void | unSortCorr () |
|
virtual void | normalize (const casacore::Bool &phaseOnly=false) |
| Normalize the visCube by the modelVisCube (and optionally also divide visCube_p by its normalized amp) More...
|
|
virtual void | resetWeightMat () |
| Fill weightMat according to sigma column. More...
|
|
virtual void | phaseCenterShift (const casacore::Vector< casacore::Double > &phase) |
| Rotate visibility phase for given vector (dim = nrow of vb) of phases (metres) More...
|
|
virtual void | phaseCenterShift (casacore::Double dx, casacore::Double dy) |
| Rotate visibility phase for phase center offsets (arcsecs) More...
|
|
void | copyCoordInfo (const VisBuffer &other, casacore::Bool force=false) |
|
virtual void | setFloatDataCube (const casacore::Cube< casacore::Float > &fcube) |
| Like the above, but for FLOAT_DATA, keeping it as real floats. More...
|
|
virtual void | refModelVis (const casacore::Matrix< CStokesVector > &mvis) |
| Reference external model visibilities. More...
|
|
virtual void | removeScratchCols () |
| Remove scratch cols data from vb. 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) const |
|
void | allSelectedSpectralWindows (casacore::Vector< casacore::Int > &spws, casacore::Vector< casacore::Int > &nvischan) const |
|
virtual casacore::String | msName (casacore::Bool stripPath=false) const |
| get the name of the ms the buffer is at empty string if no visiter is attached More...
|
|
|
| VisBufferAsync () |
| The constructors are not public because creation should be performed by a factory object (e.g., VisBufferAutoPtr). More...
|
|
| VisBufferAsync (const VisBufferAsync &other) |
|
| VisBufferAsync (ROVisibilityIterator &iter) |
|
void | attachToVisIter (ROVisibilityIterator &iter) |
| Attach to a VisIter. More...
|
|
void | checkVisIter (const char *func, const char *file, int line, const char *extra="") const |
|
void | clear () |
|
void | construct () |
|
virtual void | copyAsyncValues (const VisBufferAsync &other) |
|
virtual void | copyCache (const VisBuffer &other, casacore::Bool force) |
|
template<typename T > |
void | copyVector (const casacore::Vector< T > &from, casacore::Vector< T > &to) |
|
casacore::Vector
< casacore::MDirection > & | fillDirection1 () |
|
casacore::Vector
< casacore::MDirection > & | fillDirection2 () |
|
void | fillFrom (const VisBufferAsync &other) |
|
casacore::MDirection & | fillPhaseCenter () |
|
casacore::Bool | getAllBeamOffsetsZero () const |
|
const casacore::Vector
< casacore::String > & | getAntennaMounts () const |
|
const casacore::Cube
< casacore::RigidVector
< casacore::Double, 2 > > & | getBeamOffsets () const |
|
const casacore::MeasurementSet & | getMs () const |
|
casacore::Int | getNSpw () const |
|
casacore::MDirection | getPhaseCenter () const |
|
const casacore::Cube
< casacore::Double > & | getReceptorAngles () const |
|
void | setAngleInfo (casacore::Bool allBeamOffsetsZero, const casacore::Vector< casacore::String > antennaMounts, casacore::Cube< casacore::RigidVector< casacore::Double, 2 > > beamOffsets, const casacore::Cube< casacore::Double > &receptorAngles) |
|
void | initializeScalars () |
|
void | setFilling (casacore::Bool isFilling) |
|
void | setLsrInfo (const casacore::Block< casacore::Int > &channelGroupNumber, const casacore::Block< casacore::Int > &channelIncrement, const casacore::Block< casacore::Int > &channelStart, const casacore::Block< casacore::Int > &channelWidth, const casacore::MPosition &observatoryPosition, const casacore::MDirection &phaseCenter, casacore::Bool velocitySelection) |
|
void | setMeasurementSet (const casacore::MeasurementSet &ms) |
|
void | setMeasurementSetId (casacore::Int id, bool isNew) |
|
void | setMEpoch (const casacore::MEpoch &mEpoch) |
|
void | setMSD (const casacore::MSDerivedValues &msd) |
|
void | setNAntennas (casacore::Int) |
|
void | setNCoh (casacore::Int) |
|
void | setNSpw (casacore::Int) |
|
void | setNewEntityFlags (bool newArrayId, bool newFieldId, bool newSpectralWindow) |
|
void | setPolarizationId (casacore::Int) |
|
void | setNRowChunk (casacore::Int) |
|
void | setReceptor0Angle (const casacore::Vector< casacore::Float > &receptor0Angle) |
|
void | setRowIds (const casacore::Vector< casacore::uInt > &rowIds) |
|
void | setSelectedNVisibilityChannels (const casacore::Vector< casacore::Int > &nVisibilityChannels) |
|
void | setSelectedSpectralWindows (const casacore::Vector< casacore::Int > &spectralWindows) |
|
void | setTopoFreqs (const casacore::Vector< casacore::Double > &lsrFreq, const casacore::Vector< casacore::Double > &selFreq_p) |
|
void | setVisibilityShape (const casacore::IPosition &pvisibilityShape) |
|
void | updateCoordInfo (const VisBuffer *, const casacore::Bool dirDependent=true) |
| Update coordinate info - useful for copied VisBuffers that need to retain some state for later reference. More...
|
|
virtual casacore::Bool | checkMSId () |
|
virtual void | copyMsInfo (casacore::Int &msID, casacore::Bool &MsOk_p, casacore::Bool &newMs) const |
|
virtual const casacore::Matrix
< casacore::Float > & | imagingWeight (const VisImagingWeight &weightGenerator) const |
|
virtual casacore::Int | getOldMsId () const |
|
virtual ROVisibilityIterator * | getVisibilityIterator () const |
|
template<typename Coord > |
void | updateCoord (const VisBuffer *other, casacore::Bool otherOk, const Coord &(VisBuffer::*getCoord)() const, Coord &coord, casacore::Bool &coordOk) |
|
template<typename Scalar > |
void | updateCoordS (const VisBuffer *other, casacore::Bool otherOk, Scalar(VisBuffer::*getCoord)() const, Scalar &coord, casacore::Bool &coordOk) |
|