casa
$Rev:20696$
|
VisBuffers encapulsate one chunk of visibility data for processing. More...
#include <VisBufferAsyncWrapper.h>
Public Member Functions | |
VisBufferAsyncWrapper () | |
Create empty VisBuffer you can assign to or attach. | |
VisBufferAsyncWrapper (ROVisibilityIterator &iter) | |
// Construct VisBuffer for a particular VisibilityIterator | |
VisBufferAsyncWrapper (const VisBufferAsync &vb) | |
Copy construct, looses synchronization with iterator: only use buffer for current iteration (or reattach). | |
virtual | ~VisBufferAsyncWrapper () |
Destructor (detaches from VisIter) | |
virtual VisBufferAsyncWrapper & | operator= (const VisBufferAsyncWrapper &vb) |
Assignment, loses synchronization with iterator: only use buffer for current iteration (or reattach) | |
virtual VisBufferAsyncWrapper & | assign (const VisBuffer &vb, Bool copy=True) |
Assignment, optionally without copying the data across; with copy=True this is identical to normal assignment operator. | |
VisBufferAsyncWrapper & | operator-= (const VisBuffer &vb) |
subtraction: return the difference of the visibilities, flags of this and other are or-ed. | |
virtual void | attachToVisIter (ROVisibilityIterator &iter) |
Attach to a VisIter. | |
void | attachToVisIterAsync (ROVisibilityIterator &iter) |
virtual VisBuffer * | clone () |
virtual void | detachFromVisIter () |
virtual Int dataDescriptionId() const; | |
virtual void | invalidate () |
Invalidate the cache. | |
virtual Int & | nCorr () |
Access functions. | |
Int | nCorr () const |
Int & | nChannel () |
Int | nChannel () const |
Vector< Int > & | channel () |
const Vector< Int > & | channel () const |
Bool | newArrayId () const |
Bool | newFieldId () const |
Bool | newSpectralWindow () const |
Int & | nRow () |
virtual Int & nCat() { return nCatOK_p ? nCat_p : fillnCat(); } virtual Int nCat() const { return This->nCat(); } | |
Int | nRow () const |
Vector< Int > & | antenna1 () |
const Vector< Int > & | antenna1 () const |
Vector< Int > & | antenna2 () |
const Vector< Int > & | antenna2 () const |
Vector< Int > & | feed1 () |
const Vector< Int > & | feed1 () const |
Vector< Int > & | feed2 () |
const Vector< Int > & | feed2 () const |
Vector< 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. | |
const Vector< Float > & | feed1_pa () const |
Vector< Float > & | feed2_pa () |
const Vector< Float > & | feed2_pa () const |
Vector< SquareMatrix< Complex, 2 > > & | CJones () |
const Vector< SquareMatrix < Complex, 2 > > & | CJones () const |
virtual Vector< Float > | feed_pa (Double time) const |
Note that feed_pa is a function instead of a cached value. | |
Vector< MDirection > & | direction1 () |
direction1() and direction2() return arrays of directions where the first and the second antenna/feed are pointed to. | |
const Vector< MDirection > & | direction1 () const |
Vector< MDirection > & | direction2 () |
const Vector< MDirection > & | direction2 () const |
virtual Float | parang0 (Double time) const |
NOMINAL parallactic angle (feed p.a. | |
virtual Vector< Float > | parang (Double time) const |
virtual MDirection | azel0 (Double time) const |
Note that azel is a function instead of a cached value. | |
Vector< Double > & | azel0Vec (Double time, Vector< Double > &azelVec) const |
virtual Vector< MDirection > | azel (Double time) const |
Matrix< Double > & | azelMat (Double time, Matrix< Double > &azelMat) const |
virtual Double | hourang (Double time) const |
Hour angle for specified time. | |
Int | fieldId () const |
Int | arrayId () const |
Int | polarizationId () const |
Matrix< Bool > & | flag () |
Return flag for each channel & row. | |
const Matrix< Bool > & | flag () const |
Cube< Bool > & | flagCube () |
Return flag for each polarization, channel and row. | |
const Cube< Bool > & | flagCube () const |
Vector< Bool > & | flagRow () |
const Vector< Bool > & | flagRow () const |
Array< Bool > & | flagCategory () |
Return flags for each polarization, channel, category, and row. | |
const Array< Bool > & | flagCategory () const |
Vector< Int > & | scan () |
const Vector< Int > & | scan () const |
Int | scan0 () |
scalar version for convenience, when scan known constant for entire iteration/buffer. | |
Vector< Int > & | processorId () |
const Vector< Int > & | processorId () const |
Vector< Int > & | observationId () |
const Vector< Int > & | observationId () const |
Vector< Int > & | stateId () |
const Vector< Int > & | stateId () const |
Vector< Double > & | frequency () |
Gets SPECTRAL_WINDOW/CHAN_FREQ (in Hz, acc. | |
const Vector< Double > & | frequency () const |
virtual void | lsrFrequency (const Int &spw, Vector< Double > &freq, Bool &convert) const |
Vector<Double>& lsrFrequency(); const Vector<Double>& lsrFrequency() const;. | |
virtual Int | numberCoh () const |
MDirection & | phaseCenter () |
MDirection | phaseCenter () const |
Int | polFrame () const |
Vector< Int > & | corrType () |
const Vector< Int > & | corrType () const |
Vector< Float > & | sigma () |
const Vector< Float > & | sigma () const |
Matrix< Float > & | sigmaMat () |
const Matrix< Float > & | sigmaMat () const |
Int & | spectralWindow () |
Int | spectralWindow () const |
virtual Int | dataDescriptionId () const |
Vector< Double > & | time () |
const Vector< Double > & | time () const |
Vector< Double > & | timeCentroid () |
const Vector< Double > & | timeCentroid () const |
Vector< Double > & | timeInterval () |
const Vector< Double > & | timeInterval () const |
Vector< Double > & | exposure () |
const Vector< Double > & | exposure () const |
Vector< RigidVector< Double, 3 > > & | uvw () |
const Vector< RigidVector < Double, 3 > > & | uvw () const |
Matrix< Double > & | uvwMat () |
const Matrix< Double > & | uvwMat () const |
Matrix< CStokesVector > & | visibility () |
const Matrix< CStokesVector > & | visibility () const |
Matrix< CStokesVector > & | modelVisibility () |
const Matrix< CStokesVector > & | modelVisibility () const |
Matrix< CStokesVector > & | correctedVisibility () |
const Matrix< CStokesVector > & | correctedVisibility () const |
Cube< Complex > & | visCube () |
const Cube< Complex > & | visCube () const |
Cube< Complex > & | modelVisCube () |
Cube< Complex > & | modelVisCube (const Bool &matchVisCubeShape) |
const Cube< Complex > & | modelVisCube () const |
Cube< Complex > & | correctedVisCube () |
const Cube< Complex > & | correctedVisCube () const |
Cube< Complex > & | dataCube (const MS::PredefinedColumns whichcol=MS::DATA) |
Return visCube(), modelVisCube(), or correctedVisCube(), according to whichcol. | |
const Cube< Complex > & | dataCube (const MS::PredefinedColumns whichcol=MS::DATA) const |
Cube< Float > & | floatDataCube () |
const Cube< Float > & | floatDataCube () const |
Vector< Float > & | weight () |
Returns the weights for each row averaged over the parallel hand correlations. | |
const Vector< Float > & | weight () const |
Matrix< Float > & | weightMat () |
Returns the nPol_p x curNumRow_p weight matrix. | |
const Matrix< Float > & | weightMat () const |
Bool | existsWeightSpectrum () const |
Is a valid WEIGHT_SPECTRUM available? | |
Cube< Float > & | weightSpectrum () |
const Cube< Float > & | weightSpectrum () const |
const Matrix< Float > & | imagingWeight () const |
Matrix< Float > & | imagingWeight () |
Cube< Float > & | weightCube () |
virtual Matrix<Float>& imagingWeight() { return imagingWeightOK_p ? imagingWeight_p : fillImagingWeight(); } virtual const Matrix<Float>& imagingWeight() const { return This->imagingWeight(); } | |
Vector< Int > | vecIntRange (const MSCalEnums::colDef &calEnum) const |
Utility functions to provide coordinate or column ranges of the data in the VisBuffer. | |
Vector< Int > | antIdRange () const |
Antenna id. | |
Bool | timeRange (MEpoch &rTime, MVEpoch &rTimeEP, MVEpoch &rInterval) const |
Time range. | |
virtual Vector< uInt > & | rowIds () |
Return the row Ids from the original ms. | |
virtual const Vector< uInt > & | rowIds () const |
void | freqAverage () |
Frequency average the buffer (visibility() column only) | |
void | freqAveCubes () |
Frequency average the buffer (visCube and [if present] modelVisCube) | |
void | channelAve (const Matrix< Int > &chanavebounds) |
Average channel axis according to chanavebounds, for whichever of DATA, MODEL_DATA, CORRECTED_DATA, FLOAT_DATA, FLAG, and WEIGHT_SPECTRUM are present. | |
template<class T > | |
void | chanAveVisCube (Cube< T > &data, Int nChanOut) |
Average channel axis by factor. | |
template<class T > | |
void | chanAccCube (Cube< T > &data, Int nChanOut) |
Accumulate channel axis by factor, without applying WEIGHT_SPECTRUM even if it is present. | |
void | chanAveFlagCube (Cube< Bool > &flagcube, const Int nChanOut, const 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. | |
void | formStokes () |
Form Stokes parameters from correlations (these are preliminary versions) | |
void | formStokesWeightandFlag () |
void | formStokes (Cube< Complex > &vis) |
void | formStokes (Cube< Float > &fcube) |
void | sortCorr () |
Sort/unsort the correlations, if necessary (Rudimentary handling of non-canonically sorted correlations--use with care!) | |
void | unSortCorr () |
void | normalize (const Bool &phaseOnly=False) |
Normalize the visCube by the modelVisCube (and optionally also divide visCube_p by its normalized amp) | |
void | resetWeightMat () |
Fill weightMat according to sigma column. | |
void | phaseCenterShift (Double dx, Double dy) |
Rotate visibility phase for phase center offsets. | |
virtual void | updateCoordInfo (const VisBuffer *vb=NULL) |
Update coordinate info - useful for copied VisBuffers that need to retain some state for later reference. | |
virtual void | setVisCube (Complex c) |
Set the visibility to a constant, note that this only changes the buffer, no values are written back to tables from here. | |
virtual void | setModelVisCube (Complex c) |
virtual void | setCorrectedVisCube (Complex c) |
void | setVisCube (const Cube< Complex > &vis) |
Set the visibility, note that this only changes the buffer, no values are written back to tables from here. | |
void | setModelVisCube (const Cube< Complex > &vis) |
void | setCorrectedVisCube (const Cube< Complex > &vis) |
void | setFloatDataCube (const Cube< Float > &fcube) |
Like the above, but for FLOAT_DATA, keeping it as real floats. | |
void | setModelVisCube (const Vector< Float > &stokes) |
Set model according to a Stokes vector. | |
void | refModelVis (const Matrix< CStokesVector > &mvis) |
Reference external model visibilities. | |
void | removeScratchCols () |
Remove scratch cols data from vb. | |
virtual const ROMSColumns & | msColumns () const |
Access the current ROMSColumns object via VisIter. | |
virtual Int | numberAnt () const |
virtual void | allSelectedSpectralWindows (Vector< Int > &spws, Vector< Int > &nvischan) |
Get all selected spectral windows not just the one in the actual buffer. | |
void | allSelectedSpectralWindows (Vector< Int > &spws, Vector< Int > &nvischan) const |
virtual Int | msId () const |
Return the actual msid, useful if using multiple ms to monitor which ms in the list is being dealt with. | |
virtual Bool | newMS () const |
checked if the ms has changed since the last chunk processed | |
void | wrap (VisBufferAsync *vba) |
Protected Member Functions | |
virtual Bool | checkMSId () |
virtual void | checkVisIter (const char *func, const char *file, int line) const |
void | copyCache (const VisBuffer &other, Bool force) |
const VisImagingWeight & | getImagingWeightGenerator () const |
Int | getOldMsId () const |
ROVisibilityIterator * | getVisibilityIterator () const |
VisBufferAsync * | releaseVba () |
CacheStatus (antenna1) | |
Define the cache statuses. | |
CacheStatus (antenna2) | |
CacheStatus (arrayId) | |
CacheStatus (channel) | |
CacheStatus (cjones) | |
CacheStatus (correctedVisCube) | |
CacheStatus (correctedVisibility) | |
CacheStatus (corrType) | |
CacheStatus (dataDescriptionId) | |
CacheStatus (direction1) | |
CacheStatus (direction2) | |
CacheStatus (exposure) | |
CacheStatus (feed1_pa) | |
CacheStatus (feed1) | |
CacheStatus (feed2_pa) | |
CacheStatus (feed2) | |
CacheStatus (fieldId) | |
CacheStatus (flagCategory) | |
CacheStatus (flagCube) | |
CacheStatus (flag) | |
CacheStatus (flagRow) | |
CacheStatus (floatDataCube) | |
CacheStatus (frequency) | |
CacheStatus (imagingWeight) | |
CacheStatus (modelVisCube) | |
CacheStatus (modelVisibility) | |
CacheStatus (ms) | |
CacheStatus (nChannel) | |
CacheStatus (nCorr) | |
CacheStatus (nRow) | |
CacheStatus (observationId) | |
CacheStatus (phaseCenter) | |
CacheStatus (polFrame) | |
CacheStatus (processorId) | |
CacheStatus (rowIds) | |
CacheStatus (scan) | |
CacheStatus (sigmaMat) | |
CacheStatus (sigma) | |
CacheStatus (spectralWindow) | |
CacheStatus (stateId) | |
CacheStatus (timeCentroid) | |
CacheStatus (timeInterval) | |
CacheStatus (time) | |
CacheStatus (uvwMat) | |
CacheStatus (uvw) | |
CacheStatus (visCube) | |
CacheStatus (visibility) | |
CacheStatus (weightMat) | |
CacheStatus (weight) | |
CacheStatus (weightSpectrum) | |
Private Member Functions | |
void | validate () |
validate the cache | |
void | attachWrappedVb (ROVisibilityIterator *iter) |
void | setAllCacheStatuses (bool status) |
Bool | nonCanonCorr () |
Vector< Int > | unique (const Vector< Int > &indices) const |
Filter index arrays for unique elements. | |
Vector< Int > & | fillAnt1 () |
+-------------------------------------------------+ | Cache Declarations (fillers, statuses and data) | +-------------------------------------------------+ | |
Vector< Int > & | fillAnt2 () |
Int & | fillArrayId () |
Vector< Int > & | fillChannel () |
Matrix<Int>& fillChanAveBounds();. | |
Vector< SquareMatrix< Complex, 2 > > & | fillCjones () |
Vector< Int > & | fillCorrType () |
virtual Vector< MDirection > & | fillDirection1 () |
virtual Vector< MDirection > & | fillDirection2 () |
Vector< Double > & | fillExposure () |
Vector< Int > & | fillFeed1 () |
Vector< Float > & | fillFeed1_pa () |
Vector< Int > & | fillFeed2 () |
Vector< Float > & | fillFeed2_pa () |
Int & | fillFieldId () |
Matrix< Bool > & | fillFlag () |
Array< Bool > & | fillFlagCategory () |
Cube< Bool > & | fillFlagCube () |
Vector< Bool > & | fillFlagRow () |
Cube< Float > & | fillFloatDataCube () |
Vector< Double > & | fillFreq () |
Int & | fillnChannel () |
Matrix<Float>& fillImagingWeight(); Vector<Double>& fillLSRFreq();. | |
Int & | fillnCorr () |
Int & | fillnRow () |
virtual Int & fillnCat(); | |
Vector< Int > & | fillObservationId () |
virtual MDirection & | fillPhaseCenter () |
Int & | fillPolFrame () |
Vector< Int > & | fillProcessorId () |
Vector< Int > & | fillScan () |
Vector< Float > & | fillSigma () |
Matrix< Float > & | fillSigmaMat () |
Int & | fillSpW () |
Vector< Int > & | fillStateId () |
Vector< Double > & | fillTime () |
Vector< Double > & | fillTimeCentroid () |
Vector< Double > & | fillTimeInterval () |
Vector< RigidVector< Double, 3 > > & | filluvw () |
Matrix< Double > & | filluvwMat () |
Matrix< CStokesVector > & | fillVis (VisibilityIterator::DataColumn whichOne) |
Cube< Complex > & | fillVisCube (VisibilityIterator::DataColumn whichOne) |
Vector< Float > & | fillWeight () |
Matrix< Float > & | fillWeightMat () |
Cube< Float > & | fillWeightSpectrum () |
Private Attributes | |
VisBufferAsync * | wrappedVba_p |
ROVisibilityIterator * | wrappedVisIterAsync_p |
Friends | |
class | ViReadImplAsync |
VisBuffers encapulsate one chunk of visibility data for processing.
Public interface
VisBuffer is a buffer for visibility data
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.
Definition at line 81 of file VisBufferAsyncWrapper.h.
Create empty VisBuffer you can assign to or attach.
// Construct VisBuffer for a particular VisibilityIterator
The buffer will remain synchronized with the iterator.
Copy construct, looses synchronization with iterator: only use buffer for current iteration (or reattach).
virtual casa::VisBufferAsyncWrapper::~VisBufferAsyncWrapper | ( | ) | [virtual] |
Destructor (detaches from VisIter)
virtual void casa::VisBufferAsyncWrapper::allSelectedSpectralWindows | ( | Vector< Int > & | spws, |
Vector< Int > & | nvischan | ||
) | [virtual] |
Get all selected spectral windows not just the one in the actual buffer.
Reimplemented from casa::VisBufferAsync.
void casa::VisBufferAsyncWrapper::allSelectedSpectralWindows | ( | Vector< Int > & | spws, |
Vector< Int > & | nvischan | ||
) | const |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::antenna1 | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Int>& casa::VisBufferAsyncWrapper::antenna1 | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::antenna2 | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Int>& casa::VisBufferAsyncWrapper::antenna2 | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int> casa::VisBufferAsyncWrapper::antIdRange | ( | ) | const [virtual] |
Int casa::VisBufferAsyncWrapper::arrayId | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
virtual VisBufferAsyncWrapper& casa::VisBufferAsyncWrapper::assign | ( | const VisBuffer & | vb, |
Bool | copy = True |
||
) | [virtual] |
Assignment, optionally without copying the data across; with copy=True this is identical to normal assignment operator.
Reimplemented from casa::VisBufferAsync.
virtual void casa::VisBufferAsyncWrapper::attachToVisIter | ( | ROVisibilityIterator & | iter | ) | [virtual] |
Attach to a VisIter.
Detaches itself first if already attached to a VisIter. Will remain synchronized with iterator.
Reimplemented from casa::VisBufferAsync.
void casa::VisBufferAsyncWrapper::attachWrappedVb | ( | ROVisibilityIterator * | iter | ) | [private] |
virtual Vector<MDirection> casa::VisBufferAsyncWrapper::azel | ( | Double | time | ) | const [virtual] |
Reimplemented from casa::VisBufferAsync.
virtual MDirection casa::VisBufferAsyncWrapper::azel0 | ( | Double | time | ) | const [virtual] |
Note that azel is a function instead of a cached value.
Reimplemented from casa::VisBufferAsync.
Vector<Double>& casa::VisBufferAsyncWrapper::azel0Vec | ( | Double | time, |
Vector< Double > & | azelVec | ||
) | const [virtual] |
Reimplemented from casa::VisBuffer.
Matrix<Double>& casa::VisBufferAsyncWrapper::azelMat | ( | Double | time, |
Matrix< Double > & | azelMat | ||
) | const [virtual] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | antenna1 | ) | [protected] |
Define the cache statuses.
For example, CacheStatus (antenna1) defines:
virtual Bool antenna1OK () const { return antenna1OK_p;}
and
Bool antenna1OK_p;
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | antenna2 | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | arrayId | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | channel | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | cjones | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | correctedVisCube | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | correctedVisibility | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | corrType | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | dataDescriptionId | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | direction1 | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | direction2 | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | exposure | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | feed1_pa | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | feed1 | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | feed2_pa | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | feed2 | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | fieldId | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | flagCategory | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | flagCube | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | flag | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | flagRow | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | floatDataCube | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | frequency | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | imagingWeight | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | modelVisCube | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | modelVisibility | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | ms | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | nChannel | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | nCorr | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | nRow | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | observationId | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | phaseCenter | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | polFrame | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | processorId | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | rowIds | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | scan | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | sigmaMat | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | sigma | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | spectralWindow | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | stateId | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | timeCentroid | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | timeInterval | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | time | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | uvwMat | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | uvw | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | visCube | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | visibility | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | weightMat | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | weight | ) | [protected] |
Reimplemented from casa::VisBuffer.
casa::VisBufferAsyncWrapper::CacheStatus | ( | weightSpectrum | ) | [protected] |
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::chanAccCube | ( | Cube< T > & | data, |
Int | nChanOut | ||
) |
Accumulate channel axis by factor, without applying WEIGHT_SPECTRUM even if it is present.
It is primarily intended for averaging WEIGHT_SPECTRUM itself.
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::chanAveFlagCube | ( | Cube< Bool > & | flagcube, |
const Int | nChanOut, | ||
const Bool | restoreWeightSpectrum = True |
||
) | [virtual] |
This defaults to no conceptual side effects, but usually it is more efficient to let it leave weightSpectrum() in a channel averaged state.
restoreWeightSpectrum has no effect if !existsWeightSpectrum().
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::chanAveVisCube | ( | Cube< T > & | data, |
Int | nChanOut | ||
) |
Average channel axis by factor.
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::channel | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Int>& casa::VisBufferAsyncWrapper::channel | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::channelAve | ( | const Matrix< Int > & | chanavebounds | ) |
Average channel axis according to chanavebounds, for whichever of DATA, MODEL_DATA, CORRECTED_DATA, FLOAT_DATA, FLAG, and WEIGHT_SPECTRUM are present.
It will only treat the first 5 as present if they have already been loaded into the buffer!
Reimplemented from casa::VisBuffer.
virtual Bool casa::VisBufferAsyncWrapper::checkMSId | ( | ) | [protected, virtual] |
Reimplemented from casa::VisBuffer.
virtual void casa::VisBufferAsyncWrapper::checkVisIter | ( | const char * | func, |
const char * | file, | ||
int | line | ||
) | const [protected, virtual] |
Vector<SquareMatrix<Complex, 2> >& casa::VisBufferAsyncWrapper::CJones | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<SquareMatrix<Complex, 2> >& casa::VisBufferAsyncWrapper::CJones | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
virtual VisBuffer* casa::VisBufferAsyncWrapper::clone | ( | ) | [virtual] |
Reimplemented from casa::VisBufferAsync.
void casa::VisBufferAsyncWrapper::copyCache | ( | const VisBuffer & | other, |
Bool | force | ||
) | [protected, virtual] |
Reimplemented from casa::VisBufferAsync.
Cube<Complex>& casa::VisBufferAsyncWrapper::correctedVisCube | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Cube<Complex>& casa::VisBufferAsyncWrapper::correctedVisCube | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Matrix<CStokesVector>& casa::VisBufferAsyncWrapper::correctedVisibility | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Matrix<CStokesVector>& casa::VisBufferAsyncWrapper::correctedVisibility | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::corrType | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Int>& casa::VisBufferAsyncWrapper::corrType | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Cube<Complex>& casa::VisBufferAsyncWrapper::dataCube | ( | const MS::PredefinedColumns | whichcol = MS::DATA | ) |
Return visCube(), modelVisCube(), or correctedVisCube(), according to whichcol.
They throw an exception if whichcol is unsupported, but note the encouraged default. TODO: Optionally return DATA if whichcol is unavailable.
Reimplemented from casa::VisBuffer.
const Cube<Complex>& casa::VisBufferAsyncWrapper::dataCube | ( | const MS::PredefinedColumns | whichcol = MS::DATA | ) | const |
Reimplemented from casa::VisBuffer.
virtual Int casa::VisBufferAsyncWrapper::dataDescriptionId | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
virtual void casa::VisBufferAsyncWrapper::detachFromVisIter | ( | ) | [virtual] |
virtual Int dataDescriptionId() const;
Reimplemented from casa::VisBufferAsync.
Vector<MDirection>& casa::VisBufferAsyncWrapper::direction1 | ( | ) | [virtual] |
direction1() and direction2() return arrays of directions where the first and the second antenna/feed are pointed to.
One value for each row in the current buffer.
Reimplemented from casa::VisBuffer.
const Vector<MDirection>& casa::VisBufferAsyncWrapper::direction1 | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<MDirection>& casa::VisBufferAsyncWrapper::direction2 | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<MDirection>& casa::VisBufferAsyncWrapper::direction2 | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Bool casa::VisBufferAsyncWrapper::existsWeightSpectrum | ( | ) | const [virtual] |
Is a valid WEIGHT_SPECTRUM available?
Reimplemented from casa::VisBuffer.
Vector<Double>& casa::VisBufferAsyncWrapper::exposure | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Double>& casa::VisBufferAsyncWrapper::exposure | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::feed1 | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Int>& casa::VisBufferAsyncWrapper::feed1 | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Float>& casa::VisBufferAsyncWrapper::feed1_pa | ( | ) | [virtual] |
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.
In contrast, feed_pa() calculates the angles for each antenna. These methods are implemented for VisBuffer only to benefit from caching of the feed and antenna IDs.
Reimplemented from casa::VisBuffer.
const Vector<Float>& casa::VisBufferAsyncWrapper::feed1_pa | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::feed2 | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Int>& casa::VisBufferAsyncWrapper::feed2 | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Float>& casa::VisBufferAsyncWrapper::feed2_pa | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Float>& casa::VisBufferAsyncWrapper::feed2_pa | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
virtual Vector<Float> casa::VisBufferAsyncWrapper::feed_pa | ( | Double | time | ) | const [virtual] |
Note that feed_pa is a function instead of a cached value.
Reimplemented from casa::VisBufferAsync.
Int casa::VisBufferAsyncWrapper::fieldId | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::fillAnt1 | ( | ) | [private, virtual] |
+-------------------------------------------------+ | Cache Declarations (fillers, statuses and data) | +-------------------------------------------------+
Preferred naming convention:
T thing () --- returns the value of thing (public method) T fillThing () --- fills thing cache variable and sets thingOK_p to true (private) Bool thingOK_p --- true if the value of thing is currently cached (private) T thing_p --- holds cached value of thing (if thingOK_p is true) (private)
Example: Vector<Int>& feed1(); Vector<Int>& fillFeed1(); Bool feed1OK_P; Vector<Int> feed1_p;
Cache filling routines in alphabetical order
The first line in a fill routine should be the macro CheckVisIter. This will cause an AipsError to be throw when there is no visibilty iterator associated with the VisBuffer. This is especially important because the fillers may be called on a VisBufferAsync in two contexts: filling where there will be a VI attached and in normal use where there is no VI attached. The filler must also set the cache status variable to True during its execution.
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::fillAnt2 | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Int& casa::VisBufferAsyncWrapper::fillArrayId | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::fillChannel | ( | ) | [private, virtual] |
Matrix<Int>& fillChanAveBounds();.
Reimplemented from casa::VisBuffer.
Vector<SquareMatrix<Complex, 2> >& casa::VisBufferAsyncWrapper::fillCjones | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::fillCorrType | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
virtual Vector<MDirection>& casa::VisBufferAsyncWrapper::fillDirection1 | ( | ) | [private, virtual] |
Reimplemented from casa::VisBufferAsync.
virtual Vector<MDirection>& casa::VisBufferAsyncWrapper::fillDirection2 | ( | ) | [private, virtual] |
Reimplemented from casa::VisBufferAsync.
Vector<Double>& casa::VisBufferAsyncWrapper::fillExposure | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::fillFeed1 | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Float>& casa::VisBufferAsyncWrapper::fillFeed1_pa | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::fillFeed2 | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Float>& casa::VisBufferAsyncWrapper::fillFeed2_pa | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Int& casa::VisBufferAsyncWrapper::fillFieldId | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Matrix<Bool>& casa::VisBufferAsyncWrapper::fillFlag | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Array<Bool>& casa::VisBufferAsyncWrapper::fillFlagCategory | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Cube<Bool>& casa::VisBufferAsyncWrapper::fillFlagCube | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Bool>& casa::VisBufferAsyncWrapper::fillFlagRow | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Cube<Float>& casa::VisBufferAsyncWrapper::fillFloatDataCube | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Double>& casa::VisBufferAsyncWrapper::fillFreq | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Int& casa::VisBufferAsyncWrapper::fillnChannel | ( | ) | [private, virtual] |
Matrix<Float>& fillImagingWeight(); Vector<Double>& fillLSRFreq();.
Reimplemented from casa::VisBuffer.
Int& casa::VisBufferAsyncWrapper::fillnCorr | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Int& casa::VisBufferAsyncWrapper::fillnRow | ( | ) | [private, virtual] |
virtual Int & fillnCat();
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::fillObservationId | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
virtual MDirection& casa::VisBufferAsyncWrapper::fillPhaseCenter | ( | ) | [private, virtual] |
Reimplemented from casa::VisBufferAsync.
Int& casa::VisBufferAsyncWrapper::fillPolFrame | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::fillProcessorId | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::fillScan | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Float>& casa::VisBufferAsyncWrapper::fillSigma | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Matrix<Float>& casa::VisBufferAsyncWrapper::fillSigmaMat | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Int& casa::VisBufferAsyncWrapper::fillSpW | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::fillStateId | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Double>& casa::VisBufferAsyncWrapper::fillTime | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Double>& casa::VisBufferAsyncWrapper::fillTimeCentroid | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Double>& casa::VisBufferAsyncWrapper::fillTimeInterval | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<RigidVector<Double, 3> >& casa::VisBufferAsyncWrapper::filluvw | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Matrix<Double>& casa::VisBufferAsyncWrapper::filluvwMat | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Matrix<CStokesVector>& casa::VisBufferAsyncWrapper::fillVis | ( | VisibilityIterator::DataColumn | whichOne | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Cube<Complex>& casa::VisBufferAsyncWrapper::fillVisCube | ( | VisibilityIterator::DataColumn | whichOne | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Vector<Float>& casa::VisBufferAsyncWrapper::fillWeight | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Matrix<Float>& casa::VisBufferAsyncWrapper::fillWeightMat | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Cube<Float>& casa::VisBufferAsyncWrapper::fillWeightSpectrum | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
Matrix<Bool>& casa::VisBufferAsyncWrapper::flag | ( | ) | [virtual] |
Return flag for each channel & row.
Reimplemented from casa::VisBuffer.
const Matrix<Bool>& casa::VisBufferAsyncWrapper::flag | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Array<Bool>& casa::VisBufferAsyncWrapper::flagCategory | ( | ) | [virtual] |
Return flags for each polarization, channel, category, and row.
Reimplemented from casa::VisBuffer.
const Array<Bool>& casa::VisBufferAsyncWrapper::flagCategory | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Cube<Bool>& casa::VisBufferAsyncWrapper::flagCube | ( | ) | [virtual] |
Return flag for each polarization, channel and row.
Reimplemented from casa::VisBuffer.
const Cube<Bool>& casa::VisBufferAsyncWrapper::flagCube | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Bool>& casa::VisBufferAsyncWrapper::flagRow | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Bool>& casa::VisBufferAsyncWrapper::flagRow | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Cube<Float>& casa::VisBufferAsyncWrapper::floatDataCube | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Cube<Float>& casa::VisBufferAsyncWrapper::floatDataCube | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::formStokes | ( | ) | [virtual] |
Form Stokes parameters from correlations (these are preliminary versions)
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::formStokes | ( | Cube< Complex > & | vis | ) | [virtual] |
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::formStokes | ( | Cube< Float > & | fcube | ) | [virtual] |
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::formStokesWeightandFlag | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
Frequency average the buffer (visCube and [if present] modelVisCube)
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::freqAverage | ( | ) | [virtual] |
Frequency average the buffer (visibility() column only)
Reimplemented from casa::VisBuffer.
Vector<Double>& casa::VisBufferAsyncWrapper::frequency | ( | ) | [virtual] |
Gets SPECTRAL_WINDOW/CHAN_FREQ (in Hz, acc.
to the MS def'n v.2).
Reimplemented from casa::VisBuffer.
const Vector<Double>& casa::VisBufferAsyncWrapper::frequency | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
const VisImagingWeight& casa::VisBufferAsyncWrapper::getImagingWeightGenerator | ( | ) | const [protected] |
Int casa::VisBufferAsyncWrapper::getOldMsId | ( | ) | const [protected, virtual] |
Reimplemented from casa::VisBuffer.
ROVisibilityIterator* casa::VisBufferAsyncWrapper::getVisibilityIterator | ( | ) | const [protected, virtual] |
Reimplemented from casa::VisBuffer.
virtual Double casa::VisBufferAsyncWrapper::hourang | ( | Double | time | ) | const [virtual] |
Hour angle for specified time.
Reimplemented from casa::VisBufferAsync.
const Matrix<Float>& casa::VisBufferAsyncWrapper::imagingWeight | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Matrix<Float>& casa::VisBufferAsyncWrapper::imagingWeight | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
virtual void casa::VisBufferAsyncWrapper::invalidate | ( | ) | [virtual] |
Invalidate the cache.
Reimplemented from casa::VisBufferAsync.
virtual void casa::VisBufferAsyncWrapper::lsrFrequency | ( | const Int & | spw, |
Vector< Double > & | freq, | ||
Bool & | convert | ||
) | const [virtual] |
Vector<Double>& lsrFrequency(); const Vector<Double>& lsrFrequency() const;.
the following method is to convert the observed frequencies This conversion may not be accurate for some frame conversion like topo to lsr except if the spw is in the actual buffer
Reimplemented from casa::VisBufferAsync.
Cube<Complex>& casa::VisBufferAsyncWrapper::modelVisCube | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
Cube<Complex>& casa::VisBufferAsyncWrapper::modelVisCube | ( | const Bool & | matchVisCubeShape | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Cube<Complex>& casa::VisBufferAsyncWrapper::modelVisCube | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Matrix<CStokesVector>& casa::VisBufferAsyncWrapper::modelVisibility | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Matrix<CStokesVector>& casa::VisBufferAsyncWrapper::modelVisibility | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
virtual const ROMSColumns& casa::VisBufferAsyncWrapper::msColumns | ( | ) | const [virtual] |
Access the current ROMSColumns object via VisIter.
Reimplemented from casa::VisBufferAsync.
virtual Int casa::VisBufferAsyncWrapper::msId | ( | ) | const [virtual] |
Return the actual msid, useful if using multiple ms to monitor which ms in the list is being dealt with.
Reimplemented from casa::VisBufferAsync.
Int& casa::VisBufferAsyncWrapper::nChannel | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
Int casa::VisBufferAsyncWrapper::nChannel | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
virtual Int& casa::VisBufferAsyncWrapper::nCorr | ( | ) | [virtual] |
Access functions.
Reimplemented from casa::VisBuffer.
Int casa::VisBufferAsyncWrapper::nCorr | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Bool casa::VisBufferAsyncWrapper::newArrayId | ( | ) | const [virtual] |
Reimplemented from casa::VisBufferAsync.
Bool casa::VisBufferAsyncWrapper::newFieldId | ( | ) | const [virtual] |
Reimplemented from casa::VisBufferAsync.
virtual Bool casa::VisBufferAsyncWrapper::newMS | ( | ) | const [virtual] |
checked if the ms has changed since the last chunk processed
Reimplemented from casa::VisBufferAsync.
Bool casa::VisBufferAsyncWrapper::newSpectralWindow | ( | ) | const [virtual] |
Reimplemented from casa::VisBufferAsync.
Bool casa::VisBufferAsyncWrapper::nonCanonCorr | ( | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::normalize | ( | const Bool & | phaseOnly = False | ) | [virtual] |
Normalize the visCube by the modelVisCube (and optionally also divide visCube_p by its normalized amp)
Reimplemented from casa::VisBuffer.
Int& casa::VisBufferAsyncWrapper::nRow | ( | ) | [virtual] |
virtual Int & nCat() { return nCatOK_p ? nCat_p : fillnCat(); } virtual Int nCat() const { return This->nCat(); }
Because of it being publicly exposed ...using nRow, nChannel, nCorr etc to determine the size of the buffer can be totally WRONG *They MAY NOT represent the shape of a buffer filled in this iteration. Decide what is the right value (depending on where the vb is coming from) for you for the size of the buffer. i.e (nCorr(), nChannel(), nRow()) or vb.visCube().shape() The latter comes from the VisIter state ...the former be careful... For example VisBuffAccumulator changes these in an unconnected fashion; without updating fillnrow datacube shape etc etc. You are warned nrow_p etc are public variables effectively (despite being *declared private) so it can be changed anywhere the code uses a vb, intentionally or accidentally.
Reimplemented from casa::VisBuffer.
Int casa::VisBufferAsyncWrapper::nRow | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
virtual Int casa::VisBufferAsyncWrapper::numberAnt | ( | ) | const [virtual] |
Reimplemented from casa::VisBufferAsync.
virtual Int casa::VisBufferAsyncWrapper::numberCoh | ( | ) | const [virtual] |
Reimplemented from casa::VisBufferAsync.
Vector<Int>& casa::VisBufferAsyncWrapper::observationId | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Int>& casa::VisBufferAsyncWrapper::observationId | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
VisBufferAsyncWrapper& casa::VisBufferAsyncWrapper::operator-= | ( | const VisBuffer & | vb | ) |
subtraction: return the difference of the visibilities, flags of this and other are or-ed.
An exception is thrown if the number of rows or channels differs, but no further checks are done.
Reimplemented from casa::VisBuffer.
virtual VisBufferAsyncWrapper& casa::VisBufferAsyncWrapper::operator= | ( | const VisBufferAsyncWrapper & | vb | ) | [virtual] |
Assignment, loses synchronization with iterator: only use buffer for current iteration (or reattach)
virtual Vector<Float> casa::VisBufferAsyncWrapper::parang | ( | Double | time | ) | const [virtual] |
Reimplemented from casa::VisBufferAsync.
virtual Float casa::VisBufferAsyncWrapper::parang0 | ( | Double | time | ) | const [virtual] |
MDirection& casa::VisBufferAsyncWrapper::phaseCenter | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
MDirection casa::VisBufferAsyncWrapper::phaseCenter | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::phaseCenterShift | ( | Double | dx, |
Double | dy | ||
) | [virtual] |
Rotate visibility phase for phase center offsets.
Reimplemented from casa::VisBuffer.
Int casa::VisBufferAsyncWrapper::polarizationId | ( | ) | const [virtual] |
Reimplemented from casa::VisBufferAsync.
Int casa::VisBufferAsyncWrapper::polFrame | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::processorId | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Int>& casa::VisBufferAsyncWrapper::processorId | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::refModelVis | ( | const Matrix< CStokesVector > & | mvis | ) | [virtual] |
Reference external model visibilities.
Reimplemented from casa::VisBuffer.
VisBufferAsync* casa::VisBufferAsyncWrapper::releaseVba | ( | ) | [protected] |
void casa::VisBufferAsyncWrapper::removeScratchCols | ( | ) | [virtual] |
Remove scratch cols data from vb.
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::resetWeightMat | ( | ) | [virtual] |
Fill weightMat according to sigma column.
Reimplemented from casa::VisBuffer.
virtual Vector<uInt>& casa::VisBufferAsyncWrapper::rowIds | ( | ) | [virtual] |
Return the row Ids from the original ms.
If the ms used is a subset of another ms then rowIds() return the row ids of the original ms.
Reimplemented from casa::VisBufferAsync.
virtual const Vector<uInt>& casa::VisBufferAsyncWrapper::rowIds | ( | ) | const [virtual] |
Reimplemented from casa::VisBufferAsync.
Vector<Int>& casa::VisBufferAsyncWrapper::scan | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Int>& casa::VisBufferAsyncWrapper::scan | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Int casa::VisBufferAsyncWrapper::scan0 | ( | ) | [virtual] |
scalar version for convenience, when scan known constant for entire iteration/buffer.
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::setAllCacheStatuses | ( | bool | status | ) | [private, virtual] |
Reimplemented from casa::VisBuffer.
virtual void casa::VisBufferAsyncWrapper::setCorrectedVisCube | ( | Complex | c | ) | [virtual] |
Reimplemented from casa::VisBufferAsync.
void casa::VisBufferAsyncWrapper::setCorrectedVisCube | ( | const Cube< Complex > & | vis | ) | [virtual] |
Reimplemented from casa::VisBufferAsync.
void casa::VisBufferAsyncWrapper::setFloatDataCube | ( | const Cube< Float > & | fcube | ) | [virtual] |
Like the above, but for FLOAT_DATA, keeping it as real floats.
Reimplemented from casa::VisBuffer.
virtual void casa::VisBufferAsyncWrapper::setModelVisCube | ( | Complex | c | ) | [virtual] |
Reimplemented from casa::VisBufferAsync.
void casa::VisBufferAsyncWrapper::setModelVisCube | ( | const Cube< Complex > & | vis | ) | [virtual] |
Reimplemented from casa::VisBufferAsync.
void casa::VisBufferAsyncWrapper::setModelVisCube | ( | const Vector< Float > & | stokes | ) | [virtual] |
Set model according to a Stokes vector.
Reimplemented from casa::VisBufferAsync.
virtual void casa::VisBufferAsyncWrapper::setVisCube | ( | Complex | c | ) | [virtual] |
Set the visibility to a constant, note that this only changes the buffer, no values are written back to tables from here.
Reimplemented from casa::VisBufferAsync.
void casa::VisBufferAsyncWrapper::setVisCube | ( | const Cube< Complex > & | vis | ) | [virtual] |
Set the visibility, note that this only changes the buffer, no values are written back to tables from here.
Reimplemented from casa::VisBufferAsync.
Vector<Float>& casa::VisBufferAsyncWrapper::sigma | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Float>& casa::VisBufferAsyncWrapper::sigma | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Matrix<Float>& casa::VisBufferAsyncWrapper::sigmaMat | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Matrix<Float>& casa::VisBufferAsyncWrapper::sigmaMat | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::sortCorr | ( | ) | [virtual] |
Sort/unsort the correlations, if necessary (Rudimentary handling of non-canonically sorted correlations--use with care!)
Reimplemented from casa::VisBuffer.
Int& casa::VisBufferAsyncWrapper::spectralWindow | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
Int casa::VisBufferAsyncWrapper::spectralWindow | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Int>& casa::VisBufferAsyncWrapper::stateId | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Int>& casa::VisBufferAsyncWrapper::stateId | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Double>& casa::VisBufferAsyncWrapper::time | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Double>& casa::VisBufferAsyncWrapper::time | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Double>& casa::VisBufferAsyncWrapper::timeCentroid | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Double>& casa::VisBufferAsyncWrapper::timeCentroid | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Double>& casa::VisBufferAsyncWrapper::timeInterval | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<Double>& casa::VisBufferAsyncWrapper::timeInterval | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Bool casa::VisBufferAsyncWrapper::timeRange | ( | MEpoch & | rTime, |
MVEpoch & | rTimeEP, | ||
MVEpoch & | rInterval | ||
) | const [virtual] |
Time range.
Reimplemented from casa::VisBuffer.
Vector<Int> casa::VisBufferAsyncWrapper::unique | ( | const Vector< Int > & | indices | ) | const [private, virtual] |
Filter index arrays for unique elements.
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::unSortCorr | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
virtual void casa::VisBufferAsyncWrapper::updateCoordInfo | ( | const VisBuffer * | vb = NULL | ) | [virtual] |
Update coordinate info - useful for copied VisBuffers that need to retain some state for later reference.
Presently this fills antenna, array, field and spectralWindow ids, time, frequency and number of rows. Add more as needed.
Vector<RigidVector<Double, 3> >& casa::VisBufferAsyncWrapper::uvw | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Vector<RigidVector<Double, 3> >& casa::VisBufferAsyncWrapper::uvw | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Matrix<Double>& casa::VisBufferAsyncWrapper::uvwMat | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Matrix<Double>& casa::VisBufferAsyncWrapper::uvwMat | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::validate | ( | ) | [private, virtual] |
validate the cache
Reimplemented from casa::VisBuffer.
Vector<Int> casa::VisBufferAsyncWrapper::vecIntRange | ( | const MSCalEnums::colDef & | calEnum | ) | const [virtual] |
Utility functions to provide coordinate or column ranges of the data in the VisBuffer.
Flagging is applied before computing the ranges.
Generic accessor to column ranges of integer type, as specified by enumerations defined in class MSCalEnums. Throws an exception if the enum is not for a recognized integer column.
Reimplemented from casa::VisBuffer.
Cube<Complex>& casa::VisBufferAsyncWrapper::visCube | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Cube<Complex>& casa::VisBufferAsyncWrapper::visCube | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Matrix<CStokesVector>& casa::VisBufferAsyncWrapper::visibility | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Matrix<CStokesVector>& casa::VisBufferAsyncWrapper::visibility | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Vector<Float>& casa::VisBufferAsyncWrapper::weight | ( | ) | [virtual] |
Returns the weights for each row averaged over the parallel hand correlations.
Reimplemented from casa::VisBuffer.
const Vector<Float>& casa::VisBufferAsyncWrapper::weight | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Cube<Float>& casa::VisBufferAsyncWrapper::weightCube | ( | ) | [virtual] |
virtual Matrix<Float>& imagingWeight() { return imagingWeightOK_p ? imagingWeight_p : fillImagingWeight(); } virtual const Matrix<Float>& imagingWeight() const { return This->imagingWeight(); }
Reimplemented from casa::VisBuffer.
Matrix<Float>& casa::VisBufferAsyncWrapper::weightMat | ( | ) | [virtual] |
Returns the nPol_p x curNumRow_p weight matrix.
Reimplemented from casa::VisBuffer.
const Matrix<Float>& casa::VisBufferAsyncWrapper::weightMat | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
Cube<Float>& casa::VisBufferAsyncWrapper::weightSpectrum | ( | ) | [virtual] |
Reimplemented from casa::VisBuffer.
const Cube<Float>& casa::VisBufferAsyncWrapper::weightSpectrum | ( | ) | const [virtual] |
Reimplemented from casa::VisBuffer.
void casa::VisBufferAsyncWrapper::wrap | ( | VisBufferAsync * | vba | ) |
friend class ViReadImplAsync [friend] |
Reimplemented from casa::VisBufferAsync.
Definition at line 83 of file VisBufferAsyncWrapper.h.
Definition at line 533 of file VisBufferAsyncWrapper.h.
Definition at line 534 of file VisBufferAsyncWrapper.h.