|
virtual | ~VisBufferWrapperAsync2 () |
| Destructor (detaches from VisIter) More...
|
|
virtual void | copy (const VisBuffer2 &other, casacore::Bool fetchIfNeeded) |
|
More...
|
|
virtual void | copyComponents (const VisBuffer2 &other, const VisBufferComponents2 &components, casacore::Bool fetchIfNeeded=true) |
| Copies the specified components (or just the one in the cache) from the specified VisBuffer into this one. More...
|
|
virtual void | copyCoordinateInfo (const VisBuffer2 *other, casacore::Bool includeDirections, casacore::Bool fetchIfNeeded=true) |
| Copies the coordinate components from the specified VisBuffer into this one. More...
|
|
virtual void | setShape (casacore::Int nCorrelations, casacore::Int nChannels, casacore::Int nRows) |
|
virtual const VisibilityIterator2 * | getVi () const |
| For attached VBs this returns the VI the VB is attached to. More...
|
|
virtual casacore::Bool | isAttached () const |
|
virtual casacore::Bool | isFillable () const |
|
virtual void | writeChangesBack () |
|
More...
|
|
virtual void | dirtyComponentsAdd (const VisBufferComponents2 &additionalDirtyComponents) |
|
virtual void | dirtyComponentsAdd (VisBufferComponent2 component) |
|
virtual void | dirtyComponentsClear () |
|
virtual VisBufferComponents2 | dirtyComponentsGet () const |
|
virtual void | dirtyComponentsSet (const VisBufferComponents2 &dirtyComponents) |
|
virtual void | dirtyComponentsSet (VisBufferComponent2 component) |
|
virtual const casacore::Matrix
< casacore::Float > & | imagingWeight () const |
| This method returns the imaging weights associated with the VisBuffer. More...
|
|
virtual casacore::Double | getFrequency (casacore::Int rowInBuffer, casacore::Int frequencyIndex, casacore::Int frame=FrameNotSpecified) const |
|
More...
|
|
virtual const casacore::Vector
< casacore::Double > & | getFrequencies (casacore::Int rowInBuffer, casacore::Int frame=FrameNotSpecified) const |
|
virtual casacore::Int | getChannelNumber (casacore::Int rowInBuffer, casacore::Int frequencyIndex) const |
|
virtual const casacore::Vector
< casacore::Int > & | getChannelNumbers (casacore::Int rowInBuffer) const |
|
virtual void | normalize () |
| casacore::Sort/unsort the correlations, if necessary (Rudimentary handling of non-canonically sorted correlations–use with care!) More...
|
|
virtual void | resetWeightsUsingSigma () |
| Set the weight cube using the sigma cube. More...
|
|
virtual casacore::Bool | isNewArrayId () const |
|
More...
|
|
virtual casacore::Bool | isNewFieldId () const |
|
virtual casacore::Bool | isNewMs () const |
|
virtual casacore::Bool | isNewSpectralWindow () const |
|
virtual casacore::Bool | isWritable () const |
|
virtual casacore::Int | msId () const |
|
virtual casacore::String | msName (casacore::Bool stripPath=false) const |
|
virtual Subchunk | getSubchunk () const |
|
casacore::Data accessors and | setters (where appropriate) There are the methods that allows access to the items cached in the VisBuffer.The straight accessors provide read-only access to the item.Where the item is allowed to be modified |
|
virtual void | setAntenna1 (const casacore::Vector< casacore::Int > &value)=0 |
|
virtual const casacore::Vector
< casacore::Int > & | antenna2 () const =0 |
|
virtual void | setAntenna2 (const casacore::Vector< casacore::Int > &value)=0 |
|
virtual const casacore::Vector
< casacore::Int > & | arrayId () const =0 |
|
virtual void | setArrayId (const casacore::Vector< casacore::Int > &)=0 |
|
virtual casacore::Int | dataDescriptionId () const =0 |
|
virtual void | setDataDescriptionId (casacore::Int value)=0 |
|
virtual const casacore::Vector
< casacore::MDirection > & | direction1 () const =0 |
|
virtual const casacore::Vector
< casacore::MDirection > & | direction2 () const =0 |
|
virtual const casacore::Vector
< casacore::Double > & | exposure () const =0 |
|
virtual void | setExposure (const casacore::Vector< casacore::Double > &value)=0 |
|
virtual const casacore::Vector
< casacore::Int > & | feed1 () const =0 |
|
virtual void | setFeed1 (const casacore::Vector< casacore::Int > &value)=0 |
|
virtual const casacore::Vector
< casacore::Int > & | feed2 () const =0 |
|
virtual void | setFeed2 (const casacore::Vector< casacore::Int > &value)=0 |
|
virtual const casacore::Vector
< casacore::Int > & | fieldId () const =0 |
|
virtual void | setFieldId (const casacore::Vector< casacore::Int > &)=0 |
|
virtual const casacore::Matrix
< casacore::Bool > & | flag () const =0 |
|
virtual void | setFlag (const casacore::Matrix< casacore::Bool > &value)=0 |
|
virtual const casacore::Array
< casacore::Bool > & | flagCategory () const =0 |
| virtual const casacore::Matrix<casacore::Bool> & flag () const = 0; // [nF,nR] virtual void setFlag (const casacore::Matrix<casacore::Bool>& value) = 0; // [nF,nR] More...
|
|
virtual void | setFlagCategory (const casacore::Array< casacore::Bool > &value)=0 |
|
virtual const casacore::Cube
< casacore::Bool > & | flagCube () const =0 |
|
virtual void | setFlagCube (const casacore::Cube< casacore::Bool > &value)=0 |
|
virtual const casacore::Vector
< casacore::Bool > & | flagRow () const =0 |
|
virtual void | setFlagRow (const casacore::Vector< casacore::Bool > &value)=0 |
|
virtual const casacore::Vector
< casacore::Int > & | observationId () const =0 |
|
virtual void | setObservationId (const casacore::Vector< casacore::Int > &value)=0 |
|
virtual const casacore::Vector
< casacore::Int > & | processorId () const =0 |
|
virtual void | setProcessorId (const casacore::Vector< casacore::Int > &value)=0 |
|
virtual const casacore::Vector
< casacore::Int > & | scan () const =0 |
|
virtual void | setScan (const casacore::Vector< casacore::Int > &value)=0 |
|
virtual const casacore::Matrix
< casacore::Float > & | sigma () const =0 |
|
virtual void | setSigma (const casacore::Matrix< casacore::Float > &value)=0 |
|
virtual const casacore::Vector
< casacore::Int > & | stateId () const =0 |
| virtual const casacore::Matrix<casacore::Float> & sigmaMat () const = 0; // [nC,nR] More...
|
|
virtual void | setStateId (const casacore::Vector< casacore::Int > &value)=0 |
|
virtual const casacore::Vector
< casacore::Double > & | time () const =0 |
|
virtual void | setTime (const casacore::Vector< casacore::Double > &value)=0 |
|
virtual const casacore::Vector
< casacore::Double > & | timeCentroid () const =0 |
|
virtual void | setTimeCentroid (const casacore::Vector< casacore::Double > &value)=0 |
|
virtual const casacore::Vector
< casacore::Double > & | timeInterval () const =0 |
|
virtual void | setTimeInterval (const casacore::Vector< casacore::Double > &value)=0 |
|
virtual const casacore::Matrix
< casacore::Double > & | uvw () const =0 |
|
virtual void | setUvw (const casacore::Matrix< casacore::Double > &value)=0 |
|
virtual const casacore::Matrix
< casacore::Float > & | weight () const =0 |
|
virtual void | setWeight (const casacore::Matrix< casacore::Float > &value)=0 |
|
virtual const casacore::Cube
< casacore::Float > & | weightSpectrum () const =0 |
| virtual const casacore::Matrix<casacore::Float> & weightMat () const = 0; // [nC,nR] virtual void setWeightMat (const casacore::Matrix<casacore::Float>& value) = 0; // [nC,nR] More...
|
|
virtual void | setWeightSpectrum (const casacore::Cube< casacore::Float > &value)=0 |
|
virtual const casacore::Cube
< casacore::Complex > & | visCube () const |
|
Visibility data accessors in order of observed, corrected, float, & model More...
|
|
virtual void | setVisCube (const casacore::Complex &c) |
|
virtual void | setVisCube (const casacore::Cube< casacore::Complex > &) |
|
virtual const casacore::Matrix
< CStokesVector > & | vis () const |
|
virtual void | setVis (casacore::Matrix< CStokesVector > &) |
|
virtual const casacore::Cube
< casacore::Complex > & | visCubeCorrected () const |
| virtual const casacore::Matrix<CStokesVector> & vis () const = 0; // [nF,nR] virtual void setVis (casacore::Matrix<CStokesVector> &) = 0; // [nF,nR] More...
|
|
virtual void | setVisCubeCorrected (const casacore::Cube< casacore::Complex > &) |
|
virtual const casacore::Matrix
< CStokesVector > & | visCorrected () const |
|
virtual void | setVisCorrected (const casacore::Matrix< CStokesVector > &) |
|
virtual const casacore::Cube
< casacore::Float > & | visCubeFloat () const |
| virtual const casacore::Matrix<CStokesVector> & visCorrected () const = 0; // [nF,nR] virtual void setVisCorrected (const casacore::Matrix<CStokesVector> &) = 0; // [nF,nR] More...
|
|
virtual void | setVisCubeFloat (const casacore::Cube< casacore::Float > &) |
|
virtual const casacore::Cube
< casacore::Complex > & | visCubeModel () const |
|
virtual void | setVisCubeModel (const casacore::Complex &c) |
|
virtual void | setVisCubeModel (const casacore::Cube< casacore::Complex > &vis) |
|
virtual void | setVisCubeModel (const casacore::Vector< casacore::Float > &stokes) |
|
virtual const casacore::Matrix
< CStokesVector > & | visModel () const |
|
virtual void | setVisModel (casacore::Matrix< CStokesVector > &) |
|
virtual casacore::MDirection | azel0 (casacore::Double time) const |
|
More...
|
|
virtual const casacore::Vector
< casacore::MDirection > & | azel (casacore::Double time) const |
| Returns the pointing angle for each antenna in the array at the specified time. More...
|
|
virtual const casacore::Vector
< casacore::SquareMatrix
< casacore::Complex, 2 > > & | cjones () const |
| Returns the Jones C matrix for each antenna. More...
|
|
virtual const casacore::Vector
< casacore::Int > & | correlationTypes () const |
| Returns the correlation type of each correlation in the VisCube. More...
|
|
virtual const casacore::Vector
< casacore::Float > & | feedPa (casacore::Double time) const |
| Calculates the parallactic angle for the first receptor of each antenna at the specified time. More...
|
|
virtual const casacore::Vector
< casacore::Float > & | feedPa1 () const |
| Calculates the parallactic angle for feed 0 of the row's Antenna1. More...
|
|
virtual const casacore::Vector
< casacore::Float > & | feedPa2 () const |
| Calculates the parallactic angle for feed 0 of the row's Antenna2. More...
|
|
virtual casacore::Double | hourang (casacore::Double time) const |
| Returns the hour angle of the array at the specified time. More...
|
|
virtual casacore::Int | nAntennas () const |
|
virtual casacore::Int | nChannels () const |
|
virtual casacore::Int | nCorrelations () const |
| Returns the number of correlations along the visCube correlation axis. More...
|
|
virtual casacore::Int | nRows () const |
| Returns the number of rows in this VisBuffer. More...
|
|
virtual casacore::Float | parang0 (casacore::Double time) const |
| Calculates the parallactic angle of the array as a whole at the specified time. More...
|
|
virtual const casacore::Vector
< casacore::Float > & | parang (casacore::Double time) const |
| Calculates the parallactic angle of each antenna in the array at the specified time. More...
|
|
virtual const
casacore::MDirection & | phaseCenter () const |
| Returns the phase center of the array for the specified row. More...
|
|
virtual casacore::Int | polarizationFrame () const |
| Returns the polarization frame for the specified row. More...
|
|
virtual casacore::Int | polarizationId () const |
|
virtual const casacore::Vector
< casacore::uInt > & | rowIds () const |
| The returned casacore::Vector serves as a map between the rows in the VisBuffer and the row IDs in the underlying casacore::MS main virtual table: mainTableID [i] = rowIds () [ i];. More...
|
|
virtual casacore::Int | spectralWindow () const |
| Returns the spectral window ID for the specified row. More...
|
|
| VisBuffer2 (const VisBuffer2 &)=delete |
| make noncopyable... More...
|
|
VisBuffer2 & | operator= (const VisBuffer2 &)=delete |
|
| VisBuffer2 () |
|
virtual | ~VisBuffer2 () |
| Used by framework. More...
|
|
virtual ms::MsRow * | getRow (casacore::Int row) const |
|
virtual ms::MsRow * | getRowMutable (casacore::Int row) |
|
virtual void | copyComponents (const VisBuffer2 &other, const VisBufferComponents2 &components, casacore::Bool allowShapeChange=false, casacore::Bool fetchIfNeeded=true)=0 |
| Copies the specified components (or just the ones in the cache if fetchIfNeeded is false) from the specified VisBuffer into this one. More...
|
|
virtual void | copyCoordinateInfo (const VisBuffer2 *other, casacore::Bool includeDirections, casacore::Bool allowShapeChange=false, casacore::Bool fetchIfNeeded=true)=0 |
| Copies the coordinate components (or just the ones in the cache if fetchIfNeeded is false) from the specified VisBuffer into this one. More...
|
|
virtual void | setShape (casacore::Int nCorrelations, casacore::Int nChannels, casacore::Int nRows, casacore::Bool clearCache=false)=0 |
|
virtual void | validateShapes () const =0 |
|
virtual const
casacore::MeasurementSet & | ms () const |
|
virtual const vi::SubtableColumns & | subtableColumns () const |
|
virtual casacore::Bool | existsColumn (VisBufferComponent2 id) const =0 |
|
virtual void | initWeightSpectrum (const casacore::Cube< casacore::Float > &wtspec)=0 |
|
virtual void | initSigmaSpectrum (const casacore::Cube< casacore::Float > &sigspec)=0 |
|
virtual void | setImagingWeight (const casacore::Matrix< casacore::Float > &newImagingWeights)=0 |
|
virtual casacore::Vector
< casacore::Stokes::StokesTypes > | getCorrelationTypesDefined () const =0 |
|
More...
|
|
virtual casacore::Vector
< casacore::Stokes::StokesTypes > | getCorrelationTypesSelected () const =0 |
|
virtual casacore::Vector
< casacore::Int > | getCorrelationTypes () const =0 |
|
virtual casacore::Vector
< casacore::Int > | getChannelNumbersSelected (casacore::Int outputChannelIndex) const =0 |
|
virtual void | phaseCenterShift (const casacore::Vector< casacore::Double > &phase)=0 |
| Rotate visibility phase for given vector (dim = nrow of vb) of phases (metres) More...
|
|
virtual void | phaseCenterShift (casacore::Double dx, casacore::Double dy)=0 |
| Rotate visibility phase for phase center offsets (arcsecs) More...
|
|
casacore::Data accessors and | setters (where appropriate) There are the methods that allows access to the items cached in the VisBuffer.The straight accessors provide read-only access to the item.Where the item is allowed to be modified |
|
virtual const casacore::Vector
< casacore::Int > & | dataDescriptionIds () const =0 |
| virtual casacore::Int dataDescriptionId () const = 0; virtual void setDataDescriptionId (casacore::Int value) = 0; More...
|
|
virtual void | setDataDescriptionIds (const casacore::Vector< casacore::Int > &)=0 |
|
virtual const casacore::Cube
< casacore::Float > & | sigmaSpectrum () const =0 |
|
virtual void | setSigmaSpectrum (const casacore::Cube< casacore::Float > &value)=0 |
|
virtual casacore::Float | getWeightScaled (casacore::Int row) const =0 |
| virtual const casacore::Matrix<CStokesVector> & visModel () const = 0; // [nF,nR] virtual void setVisModel (casacore::Matrix<CStokesVector> &) = 0; // [nF,nR] More...
|
|
virtual casacore::Float | getWeightScaled (casacore::Int correlation, casacore::Int row) const =0 |
|
virtual casacore::Float | getWeightScaled (casacore::Int correlation, casacore::Int channel, casacore::Int row) const =0 |
|
virtual casacore::Float | getSigmaScaled (casacore::Int row) const =0 |
|
virtual casacore::Float | getSigmaScaled (casacore::Int correlation, casacore::Int row) const =0 |
|
virtual casacore::Float | getSigmaScaled (casacore::Int correlation, casacore::Int channel, casacore::Int row) const =0 |
|
virtual casacore::IPosition | getShape () const =0 |
|
virtual const casacore::Vector
< casacore::Int > & | spectralWindows () const =0 |
| Returns the spectral window ID for the specified row. More...
|
|
virtual void | setSpectralWindows (const casacore::Vector< casacore::Int > &spectralWindows)=0 |
|
virtual casacore::CountedPtr
< WeightScaling > | getWeightScaling () const =0 |
|
VisBuffers encapulsate one chunk of visibility data for processing.
Intended use:
Public interface
Prerequisite
Etymology
VisBuffer is a buffer for visibility data
Synopsis
This class contains 'one iteration' of the VisibilityIterator It is a modifiable buffer of values to which calibration and averaging can be applied. This allows processing of the data in larger blocks, avoiding some overheads for processing per visibility point or spectrum.
See MeasurementEquations for more details on how the VisBuffer is to be used.
To Do
-
reconcile vis/visCube usage: visCube, flagCube and weightMatrix are currently only correct when this VisBuffer got them from a VisIter, operations like -=, freqAverage() are only done for visibility() and flag().
Definition at line 77 of file VisBufferAsyncWrapper2.h.