28 #ifndef VISBUFFER_ASYNC_WRAPPER_H
29 #define VISBUFFER_ASYNC_WRAPPER_H
virtual casacore::Int nCorrelations() const
Returns the number of correlations along the visCube correlation axis.
virtual void setVisCubeFloat(const casacore::Cube< casacore::Float > &)
void wrap(VisBuffer2 *vba)
A Measure: astronomical direction.
virtual void setWeightSpectrum(const casacore::Cube< casacore::Float > &value)=0
virtual void setVisCubeCorrected(const casacore::Cube< casacore::Complex > &)
virtual casacore::Bool isFillable() const
virtual void setFeed2(const casacore::Vector< casacore::Int > &value)=0
virtual ~VisBufferWrapperAsync2()
Destructor (detaches from VisIter)
virtual void setObservationId(const casacore::Vector< casacore::Int > &value)=0
virtual const casacore::Vector< casacore::Int > & feed1() const =0
virtual void dirtyComponentsClear()
std::complex< Float > Complex
VisBuffers encapulsate one chunk of visibility data for processing.
virtual casacore::Int nChannels() const
VisibilityIterator2 iterates through one or more readonly MeasurementSets.
virtual const casacore::Cube< casacore::Complex > & visCubeModel() const
virtual void setTimeInterval(const casacore::Vector< casacore::Double > &value)=0
virtual void setExposure(const casacore::Vector< casacore::Double > &value)=0
virtual const casacore::Vector< casacore::Int > & fieldId() const =0
virtual void setAntenna2(const casacore::Vector< casacore::Int > &value)=0
virtual void setVisCorrected(const casacore::Matrix< CStokesVector > &)
virtual void setTimeCentroid(const casacore::Vector< casacore::Double > &value)=0
VisBufferWrapperAsync2(VisibilityIterator2 &iter)
virtual const casacore::Vector< casacore::Double > & exposure() const =0
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.
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...
virtual casacore::Int dataDescriptionId() const =0
virtual const casacore::Vector< casacore::Int > & scan() const =0
virtual const casacore::Vector< casacore::Int > & feed2() const =0
virtual casacore::String msName(casacore::Bool stripPath=false) const
virtual casacore::Bool isWritable() const
virtual casacore::Int nAntennas() const
virtual casacore::Bool isAttached() const
virtual Subchunk getSubchunk() const
virtual const casacore::Matrix< casacore::Float > & sigma() const =0
virtual const casacore::Matrix< casacore::Double > & uvw() const =0
virtual casacore::Bool isNewFieldId() const
virtual const casacore::Cube< casacore::Complex > & visCubeCorrected() const
virtual const casacore::Matrix<CStokesVector> & vis () const = 0; // [nF,nR] virtual void setVis (cas...
virtual const casacore::Array< casacore::Bool > & flagCategory() const =0
virtual const casacore::Matrix<casacore::Bool> & flag () const = 0; // [nF,nR] virtual void setFlag (...
virtual const casacore::Vector< casacore::Int > & getChannelNumbers(casacore::Int rowInBuffer) const
virtual void resetWeightsUsingSigma()
Set the weight cube using the sigma cube.
virtual const VisibilityIterator2 * getVi() const
For attached VBs this returns the VI the VB is attached to.
virtual void setFlagCube(const casacore::Cube< casacore::Bool > &value)=0
virtual void writeChangesBack()
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...
virtual VisBufferComponents2 dirtyComponentsGet() const
virtual casacore::Double getFrequency(casacore::Int rowInBuffer, casacore::Int frequencyIndex, casacore::Int frame=FrameNotSpecified) const
virtual void copyCoordinateInfo(const VisBuffer2 *other, casacore::Bool includeDirections, casacore::Bool fetchIfNeeded=true)
Copies the coordinate components from the specified VisBuffer into this one.
virtual void copy(const VisBuffer2 &other, casacore::Bool fetchIfNeeded)
virtual const casacore::Vector< casacore::Int > & processorId() const =0
virtual void dirtyComponentsAdd(const VisBufferComponents2 &additionalDirtyComponents)
virtual const casacore::Vector< casacore::Int > & arrayId() const =0
virtual void setFlag(const casacore::Matrix< casacore::Bool > &value)=0
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]
virtual casacore::Int polarizationFrame() const
Returns the polarization frame for the specified row.
virtual const casacore::Vector< casacore::Double > & timeInterval() const =0
virtual const casacore::Matrix< casacore::Float > & imagingWeight() const
This method returns the imaging weights associated with the VisBuffer.
virtual const casacore::Vector< casacore::Float > & feedPa1() const
Calculates the parallactic angle for feed 0 of the row's Antenna1.
VisibilityIterator2 * wrappedVisIterAsync_p
virtual const casacore::Vector< casacore::Int > & observationId() const =0
virtual void setFieldId(const casacore::Vector< casacore::Int > &)=0
virtual void setSigma(const casacore::Matrix< casacore::Float > &value)=0
virtual const casacore::Vector< casacore::MDirection > & direction1() const =0
virtual const casacore::Matrix< CStokesVector > & vis() const
virtual const casacore::Vector< casacore::Int > & stateId() const =0
virtual const casacore::Matrix<casacore::Float> & sigmaMat () const = 0; // [nC,nR] ...
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 th...
VisBuffer2 * getWrappedVisBuffer() const
virtual casacore::Bool isNewMs() const
virtual void setVisCube(const casacore::Complex &c)
virtual casacore::MDirection azel0(casacore::Double time) const
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.
virtual const casacore::Vector< casacore::Float > & feedPa2() const
Calculates the parallactic angle for feed 0 of the row's Antenna2.
virtual const casacore::Vector< casacore::Double > & time() const =0
virtual void setFlagCategory(const casacore::Array< casacore::Bool > &value)=0
bool Bool
Define the standard types used by Casacore.
virtual void setArrayId(const casacore::Vector< casacore::Int > &)=0
virtual casacore::Bool isNewSpectralWindow() const
virtual casacore::Int msId() const
virtual const casacore::Cube< casacore::Complex > & visCube() const
Visibility data accessors in order of observed, corrected, float, & model
virtual void dirtyComponentsSet(const VisBufferComponents2 &dirtyComponents)
virtual const casacore::Vector< casacore::Int > & antenna2() const =0
virtual const casacore::Vector< casacore::Double > & getFrequencies(casacore::Int rowInBuffer, casacore::Int frame=FrameNotSpecified) const
virtual void setFeed1(const casacore::Vector< casacore::Int > &value)=0
virtual const casacore::Vector< casacore::SquareMatrix< casacore::Complex, 2 > > & cjones() const
Returns the Jones C matrix for each antenna.
virtual const casacore::Matrix< CStokesVector > & visModel() const
virtual casacore::Double hourang(casacore::Double time) const
Returns the hour angle of the array at the specified time.
virtual const casacore::Matrix< CStokesVector > & visCorrected() const
virtual void setScan(const casacore::Vector< casacore::Int > &value)=0
virtual void setProcessorId(const casacore::Vector< casacore::Int > &value)=0
VisBuffer2s encapsulate one chunk of visibility data for processing.
virtual casacore::Bool isNewArrayId() const
virtual void setVisCubeModel(const casacore::Complex &c)
virtual void setUvw(const casacore::Matrix< casacore::Double > &value)=0
virtual void setStateId(const casacore::Vector< casacore::Int > &value)=0
const Double c
Fundamental physical constants (SI units):
virtual void setAntenna1(const casacore::Vector< casacore::Int > &value)=0
virtual const casacore::Cube< casacore::Float > & weightSpectrum() const =0
virtual const casacore::Matrix<casacore::Float> & weightMat () const = 0; // [nC,nR] virtual void set...
virtual const casacore::Matrix< casacore::Bool > & flag() const =0
virtual const casacore::Vector< casacore::Int > & correlationTypes() const
Returns the correlation type of each correlation in the VisCube.
String: the storage and methods of handling collections of characters.
virtual void setVis(casacore::Matrix< CStokesVector > &)
virtual void setDataDescriptionId(casacore::Int value)=0
virtual const casacore::MDirection & phaseCenter() const
Returns the phase center of the array for the specified row.
virtual casacore::Int getChannelNumber(casacore::Int rowInBuffer, casacore::Int frequencyIndex) const
virtual casacore::Float parang0(casacore::Double time) const
Calculates the parallactic angle of the array as a whole at the specified time.
virtual const casacore::Vector< casacore::Bool > & flagRow() const =0
virtual void setFlagRow(const casacore::Vector< casacore::Bool > &value)=0
This class encapsulates an enum with values corresponding to the various data components accessible v...
virtual casacore::Int polarizationId() const
virtual void normalize()
casacore::Sort/unsort the correlations, if necessary (Rudimentary handling of non-canonically sorted ...
virtual const casacore::Vector< casacore::MDirection > & direction2() const =0
virtual void setWeight(const casacore::Matrix< casacore::Float > &value)=0
virtual const casacore::Cube< casacore::Bool > & flagCube() const =0
virtual casacore::Int nRows() const
Returns the number of rows in this VisBuffer.
virtual const casacore::Vector< casacore::Double > & timeCentroid() const =0
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
virtual void setVisModel(casacore::Matrix< CStokesVector > &)
virtual const casacore::Matrix< casacore::Float > & weight() const =0
virtual void setTime(const casacore::Vector< casacore::Double > &value)=0
virtual casacore::Int spectralWindow() const
Returns the spectral window ID for the specified row.
virtual void setShape(casacore::Int nCorrelations, casacore::Int nChannels, casacore::Int nRows)