casa
5.7.0-16
|
#include <FlagCalTableHandler.h>
Public Member Functions | |
DummyBufferImpl () | |
~DummyBufferImpl () | |
virtual void | copy (const VisBuffer2 &, casacore::Bool) |
More... | |
virtual void | copyComponents (const VisBuffer2 &, const VisBufferComponents2 &, casacore::Bool=false, casacore::Bool=true) |
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 *, casacore::Bool, casacore::Bool=false, casacore::Bool=true) |
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, casacore::Int, casacore::Int, casacore::Bool) |
virtual const vi::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 | initWeightSpectrum (const casacore::Cube< casacore::Float > &) |
virtual void | initSigmaSpectrum (const casacore::Cube< casacore::Float > &) |
virtual void | dirtyComponentsAdd (const VisBufferComponents2 &) |
virtual void | dirtyComponentsAdd (VisBufferComponent2) |
virtual void | dirtyComponentsClear () |
virtual VisBufferComponents2 | dirtyComponentsGet () const |
virtual void | dirtyComponentsSet (const VisBufferComponents2 &) |
virtual void | dirtyComponentsSet (VisBufferComponent2) |
virtual const casacore::Matrix < casacore::Float > & | imagingWeight () const |
This method returns the imagin g If an imaging weight generator has not been supplied to the associated VisibilityIterator then this method will throw an exception. More... | |
void | setImagingWeight (const casacore::Matrix< float > &) |
virtual casacore::Double | getFrequency (casacore::Int, casacore::Int, casacore::Int=FrameNotSpecified) const |
virtual const casacore::Vector < casacore::Double > & | getFrequencies (casacore::Int, casacore::Int=FrameNotSpecified) const |
virtual casacore::Int | getChannelNumber (casacore::Int, casacore::Int) const |
virtual const casacore::Vector < casacore::Int > & | getChannelNumbers (casacore::Int) 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=false) const |
virtual vi::Subchunk | getSubchunk () const |
virtual const casacore::Vector < casacore::Int > & | antenna1 () const |
virtual void | setAntenna1 (const casacore::Vector< casacore::Int > &) |
virtual const casacore::Vector < casacore::Int > & | antenna2 () const |
virtual void | setAntenna2 (const casacore::Vector< casacore::Int > &) |
virtual const casacore::Vector < casacore::Int > & | arrayId () const |
virtual void | setArrayId (const casacore::Vector< casacore::Int > &) |
virtual casacore::Int | dataDescriptionId () const |
virtual void | setDataDescriptionId (casacore::Int) |
virtual void | setDataDescriptionIds (const casacore::Vector< int > &) |
virtual const casacore::Vector < casacore::MDirection > & | direction1 () const |
virtual const casacore::Vector < casacore::MDirection > & | direction2 () const |
virtual const casacore::Vector < casacore::Double > & | exposure () const |
virtual void | setExposure (const casacore::Vector< casacore::Double > &) |
virtual const casacore::Vector < casacore::Int > & | feed1 () const |
virtual void | setFeed1 (const casacore::Vector< casacore::Int > &) |
virtual const casacore::Vector < casacore::Int > & | feed2 () const |
virtual void | setFeed2 (const casacore::Vector< casacore::Int > &) |
virtual const casacore::Vector < casacore::Int > & | fieldId () const |
virtual void | setFieldId (const casacore::Vector< casacore::Int > &) |
virtual const casacore::Matrix < casacore::Bool > & | flag () const |
virtual void | setFlag (const casacore::Matrix< casacore::Bool > &) |
virtual const casacore::Array < casacore::Bool > & | flagCategory () const |
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 > &) |
virtual const casacore::Cube < casacore::Bool > & | flagCube () const |
virtual void | setFlagCube (const casacore::Cube< casacore::Bool > &) |
virtual const casacore::Vector < casacore::Bool > & | flagRow () const |
virtual void | setFlagRow (const casacore::Vector< casacore::Bool > &) |
virtual const casacore::Vector < casacore::Int > & | observationId () const |
virtual void | setObservationId (const casacore::Vector< casacore::Int > &) |
virtual const casacore::Vector < casacore::Int > & | processorId () const |
virtual void | setProcessorId (const casacore::Vector< casacore::Int > &) |
virtual const casacore::Vector < casacore::Int > & | scan () const |
virtual void | setScan (const casacore::Vector< casacore::Int > &) |
virtual const casacore::Matrix < casacore::Float > & | sigma () const |
virtual void | setSigma (const casacore::Matrix< casacore::Float > &) |
virtual const casacore::Matrix < casacore::Float > & | sigmaMat () const |
virtual const casacore::Vector < casacore::Int > & | stateId () const |
virtual const casacore::Matrix<casacore::Float> & sigmaMat () const = 0; // [nC,nR] More... | |
virtual void | setStateId (const casacore::Vector< casacore::Int > &) |
virtual const casacore::Vector < casacore::Double > & | time () const |
virtual void | setTime (const casacore::Vector< casacore::Double > &) |
virtual const casacore::Vector < casacore::Double > & | timeCentroid () const |
virtual void | setTimeCentroid (const casacore::Vector< casacore::Double > &) |
virtual const casacore::Vector < casacore::Double > & | timeInterval () const |
virtual void | setTimeInterval (const casacore::Vector< casacore::Double > &) |
virtual const casacore::Matrix < casacore::Double > & | uvw () const |
virtual void | setUvw (const casacore::Matrix< casacore::Double > &) |
virtual const casacore::Matrix < casacore::Float > & | weight () const |
virtual void | setWeight (const casacore::Matrix< casacore::Float > &) |
virtual const casacore::Matrix < casacore::Float > & | weightMat () const |
virtual void | setWeightMat (const casacore::Matrix< casacore::Float > &) |
virtual const casacore::Cube < casacore::Float > & | weightSpectrum () const |
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 > &) |
virtual const casacore::Cube < float > & | sigmaSpectrum () const |
virtual void | setSigmaSpectrum (const casacore::Cube< float > &) |
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 &) |
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 &) |
virtual void | setVisCubeModel (const casacore::Cube< casacore::Complex > &) |
virtual void | setVisCubeModel (const casacore::Vector< casacore::Float > &) |
virtual const casacore::Matrix < CStokesVector > & | visModel () const |
virtual void | setVisModel (casacore::Matrix< CStokesVector > &) |
virtual casacore::MDirection | azel0 (casacore::Double) const |
More... | |
virtual casacore::Vector < casacore::MDirection > & | azel (casacore::Double) 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 casacore::Vector < casacore::Float > & | feedPa (casacore::Double) 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) 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) const |
Calculates the parallactic angle of the array as a whole at the specified time. More... | |
virtual casacore::Vector < casacore::Float > & | parang (casacore::Double) 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] = 0;. More... | |
virtual casacore::Int | spectralWindow () const |
virtual const casacore::Vector < casacore::Int > & | spectralWindows () const |
Returns the spectral window ID for the specified row. More... | |
virtual void | setSpectralWindows (const casacore::Vector< casacore::Int > &) |
virtual casacore::Bool | modelDataIsVirtual () const |
virtual void | setFillable (casacore::Bool) |
virtual const casacore::Vector < casacore::Int > & | dataDescriptionIds () const |
virtual casacore::Int dataDescriptionId () const = 0; virtual void setDataDescriptionId (casacore::Int value) = 0; More... | |
virtual casacore::Vector < casacore::Int > | getCorrelationTypes () const |
virtual void | validateShapes () const |
virtual casacore::Float | getWeightScaled (casacore::Int) const |
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, casacore::Int) const |
virtual casacore::Float | getWeightScaled (casacore::Int, casacore::Int, casacore::Int) const |
virtual casacore::Float | getSigmaScaled (casacore::Int) const |
virtual casacore::Float | getSigmaScaled (casacore::Int, casacore::Int) const |
virtual casacore::Float | getSigmaScaled (casacore::Int, casacore::Int, casacore::Int) const |
virtual casacore::CountedPtr < vi::WeightScaling > | getWeightScaling () const |
virtual void | phaseCenterShift (const casacore::Vector< casacore::Double > &) |
Rotate visibility phase for given vector (dim = nrow of vb) of phases (metres) More... | |
virtual void | phaseCenterShift (casacore::Double, casacore::Double) |
Rotate visibility phase for phase center offsets (arcsecs) More... | |
Public Member Functions inherited from casa::vi::VisBuffer2 | |
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 const casacore::MeasurementSet & | ms () const |
virtual const vi::SubtableColumns & | subtableColumns () const |
virtual casacore::Bool | existsColumn (VisBufferComponent2 id) const =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 > | getChannelNumbersSelected (casacore::Int outputChannelIndex) const =0 |
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 casacore::IPosition | getShape () const =0 |
Additional Inherited Members | |
Public Types inherited from casa::vi::VisBuffer2 | |
enum | { FrameNotSpecified } |
using | nA = =number of antennas nF:==number of frequencies(or channels) nC:==number of correlations nR:==number of table rows contained in the buffer--------------------------------------------------------Accessors for data contained in the main casacore::MeasurementSet main table The actual visibility data are at the end.***N.B.:the VB usually caches the information in the representation requested so that using a setter to modify one value type(e.g., weight or visibility) will not modify the cached value in a different representation(e.g., weightMat or visCube).This should not be a problem in normal usage.*/virtual const casacore::Vector< casacore::Int > &antenna1() const =0 |
Static Public Member Functions inherited from casa::vi::VisBuffer2 | |
static VisBuffer2 * | factory (VisBufferOptions vbOptions=VbNoOptions) |
Definition at line 52 of file FlagCalTableHandler.h.
|
inline |
Definition at line 55 of file FlagCalTableHandler.h.
|
inline |
Definition at line 56 of file FlagCalTableHandler.h.
|
inlinevirtual |
Reimplemented in casa::CTBuffer.
Definition at line 106 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 108 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 110 of file FlagCalTableHandler.h.
|
inlinevirtual |
Returns the pointing angle for each antenna in the array at the specified time.
Implements casa::vi::VisBuffer2.
Definition at line 180 of file FlagCalTableHandler.h.
|
inlinevirtual |
Accessors for data derived from the casacore::MS main table data
Returns the pointing angle for the array as a whole at the specified time.
Implements casa::vi::VisBuffer2.
Definition at line 179 of file FlagCalTableHandler.h.
|
inlinevirtual |
Returns the Jones C matrix for each antenna.
Implements casa::vi::VisBuffer2.
Definition at line 181 of file FlagCalTableHandler.h.
|
inlineprotectedvirtual |
Definition at line 222 of file FlagCalTableHandler.h.
|
inlinevirtual |
Copying methods
These methods allow copying portions of the data between two VisBuffers. Because of the complicated semantics of a VisBuffer the assignment and copy-construction methods are not used as they are likely to confuse VisBuffer users.
Copies all of the components from the specified VisBuffer into this one. Uncached values will be cleared in this VB.
Implements casa::vi::VisBuffer2.
Definition at line 58 of file FlagCalTableHandler.h.
|
inlinevirtual |
Copies the specified components (or just the ones in the cache if fetchIfNeeded is false) from the specified VisBuffer into this one.
If this VB is not empty it will must have the same shape as the other VB unless allowShapeChange is true; in that case this VB will change changes to match the other VB flushing the cached data.
Implements casa::vi::VisBuffer2.
Definition at line 59 of file FlagCalTableHandler.h.
|
inlinevirtual |
Copies the coordinate components (or just the ones in the cache if fetchIfNeeded is false) from the specified VisBuffer into this one.
If this VB is not empty it will must have the same shape as the other VB unless allowShapeChange is true; in that case this VB will change changes to match the other VB flushing the cached data. The basic coordinate components are: Antenna1, Antenna2, ArrayId, DataDescriptionIds, FieldId, SpectralWindows, casacore::Time, NRows, Feed1, Feed2 The directional coordinates (copied if includeDirections is true): Direction1, Direction2, FeedPa1, FeedPa2
Implements casa::vi::VisBuffer2.
Definition at line 63 of file FlagCalTableHandler.h.
|
inlinevirtual |
Returns the correlation type of each correlation in the VisCube.
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 182 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 112 of file FlagCalTableHandler.h.
|
inlinevirtual |
virtual casacore::Int dataDescriptionId () const = 0; virtual void setDataDescriptionId (casacore::Int value) = 0;
Implements casa::vi::VisBuffer2.
Definition at line 204 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 115 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 116 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 76 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 77 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 78 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 79 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 80 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 81 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 117 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 119 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 121 of file FlagCalTableHandler.h.
|
inlinevirtual |
Calculates the parallactic angle for the first receptor of each antenna at the specified time.
Implements casa::vi::VisBuffer2.
Definition at line 183 of file FlagCalTableHandler.h.
|
inlinevirtual |
Calculates the parallactic angle for feed 0 of the row's Antenna1.
Implements casa::vi::VisBuffer2.
Definition at line 184 of file FlagCalTableHandler.h.
|
inlinevirtual |
Calculates the parallactic angle for feed 0 of the row's Antenna2.
Implements casa::vi::VisBuffer2.
Definition at line 185 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 123 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 125 of file FlagCalTableHandler.h.
|
inlinevirtual |
virtual const casacore::Matrix<casacore::Bool> & flag () const = 0; // [nF,nR] virtual void setFlag (const casacore::Matrix<casacore::Bool>& value) = 0; // [nF,nR]
Implements casa::vi::VisBuffer2.
Definition at line 127 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 129 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 131 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 90 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 91 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 205 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 88 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 86 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 211 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 212 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 213 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 104 of file FlagCalTableHandler.h.
|
inlinevirtual |
For attached VBs this returns the VI the VB is attached to.
For free VBs this method returns false. N.B.: Use of this method is deprecated.
Reimplemented from casa::vi::VisBuffer2.
Definition at line 68 of file FlagCalTableHandler.h.
|
inlinevirtual |
virtual const casacore::Matrix<CStokesVector> & visModel () const = 0; // [nF,nR] virtual void setVisModel (casacore::Matrix<CStokesVector> &) = 0; // [nF,nR]
Implements casa::vi::VisBuffer2.
Definition at line 208 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 209 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 210 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 214 of file FlagCalTableHandler.h.
|
inlinevirtual |
Returns the hour angle of the array at the specified time.
Implements casa::vi::VisBuffer2.
Definition at line 186 of file FlagCalTableHandler.h.
|
inlinevirtual |
This method returns the imagin g If an imaging weight generator has not been supplied to the associated VisibilityIterator then this method will throw an exception.
Implements casa::vi::VisBuffer2.
Definition at line 83 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 75 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 74 of file FlagCalTableHandler.h.
|
inlineprotectedvirtual |
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 230 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 70 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 71 of file FlagCalTableHandler.h.
|
inlinevirtual |
Subhchunk information methods
These methods provide information related to the current subchunk. The isNewXXX methods return true if the XXX property of the subchunk differs from the previous subchunk.
The methods msId and msName provide information about the MS related to the current subchunk. The msID is the zero-based index of the casacore::MS in the sequence of MSs being iterated over.
The isWritable method is true when the attached iterator is writable and false otherwise.
The isRekeyable method is true when the VisBuffer is writable and also allows the modification of non-data fields (e.g., antenna1, fieldId, etc.) A rekeyable VB is one that could be used to create data for a brand new MS.
Implements casa::vi::VisBuffer2.
Definition at line 97 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 98 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 99 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 100 of file FlagCalTableHandler.h.
|
inlineprotectedvirtual |
Implements casa::vi::VisBuffer2.
Definition at line 231 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 101 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 200 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 102 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 103 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 187 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 188 of file FlagCalTableHandler.h.
|
inlinevirtual |
Returns the number of correlations along the visCube correlation axis.
This comes from the "channel" selection and thus can be anything positive integer (e.g., user could select the same correlation more than once).
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 189 of file FlagCalTableHandler.h.
|
inlinevirtual |
casacore::Sort/unsort the correlations, if necessary (Rudimentary handling of non-canonically sorted correlations–use with care!)
The sorting functionality is a horrible kluge that puts the VisBuffer into a somewhat incoherent state (e.g., after sorting the correlation types array does not correspond to the data) and appears to serve the needs of a tiny piece of code. As such, this refactor is initially not going to support this functionality since it is probably better implemented in the one place that actually needs it. (jjacobs 10/3/12)
virtual void sortCorr () = 0; virtual void unSortCorr() = 0;
Normalize the visCube by the modelVisCube.
Implements casa::vi::VisBuffer2.
Definition at line 93 of file FlagCalTableHandler.h.
|
inlinevirtual |
Returns the number of rows in this VisBuffer.
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 190 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 133 of file FlagCalTableHandler.h.
|
inlinevirtual |
Calculates the parallactic angle of each antenna in the array at the specified time.
Implements casa::vi::VisBuffer2.
Definition at line 192 of file FlagCalTableHandler.h.
|
inlinevirtual |
Calculates the parallactic angle of the array as a whole at the specified time.
Implements casa::vi::VisBuffer2.
Definition at line 191 of file FlagCalTableHandler.h.
|
inlinevirtual |
Returns the phase center of the array for the specified row.
Implements casa::vi::VisBuffer2.
Definition at line 193 of file FlagCalTableHandler.h.
|
inlinevirtual |
Rotate visibility phase for given vector (dim = nrow of vb) of phases (metres)
Implements casa::vi::VisBuffer2.
Definition at line 216 of file FlagCalTableHandler.h.
|
inlinevirtual |
Rotate visibility phase for phase center offsets (arcsecs)
Implements casa::vi::VisBuffer2.
Definition at line 217 of file FlagCalTableHandler.h.
|
inlinevirtual |
Returns the polarization frame for the specified row.
Implements casa::vi::VisBuffer2.
Definition at line 194 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 195 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 135 of file FlagCalTableHandler.h.
|
inlinevirtual |
Set the weight cube using the sigma cube.
Each weight will be the reciprocal of the square of the corresponding element in the model VisCube multiplied by the number of channels in the spectral window. If an element in sigma is zero then the corresponding weight element will also be set to zero.
Implements casa::vi::VisBuffer2.
Definition at line 95 of file FlagCalTableHandler.h.
|
inlinevirtual |
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] = 0;.
Implements casa::vi::VisBuffer2.
Definition at line 196 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 137 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 107 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 109 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 111 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 113 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 114 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 118 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 120 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 122 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 124 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 203 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 126 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 128 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 130 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 132 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 84 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 134 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 136 of file FlagCalTableHandler.h.
|
inlineprotectedvirtual |
Implements casa::vi::VisBuffer2.
Definition at line 232 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 138 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 67 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 140 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 159 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 199 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 143 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 145 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 147 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 149 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 151 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 165 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 169 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 162 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 163 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 167 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 171 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 173 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 174 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 175 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 177 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 153 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 155 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 157 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 139 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 141 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 158 of file FlagCalTableHandler.h.
|
inlinevirtual |
Reimplemented in casa::CTBuffer.
Definition at line 197 of file FlagCalTableHandler.h.
|
inlinevirtual |
Returns the spectral window ID for the specified row.
virtual casacore::Int spectralWindow () const = 0;
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 198 of file FlagCalTableHandler.h.
|
inlinevirtual |
virtual const casacore::Matrix<casacore::Float> & sigmaMat () const = 0; // [nC,nR]
Implements casa::vi::VisBuffer2.
Definition at line 142 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 144 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 146 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 148 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 150 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 206 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 164 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 168 of file FlagCalTableHandler.h.
|
inlinevirtual |
Visibility data accessors in order of observed, corrected, float, & model
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 161 of file FlagCalTableHandler.h.
|
inlinevirtual |
virtual const casacore::Matrix<CStokesVector> & vis () const = 0; // [nF,nR] virtual void setVis (casacore::Matrix<CStokesVector> &) = 0; // [nF,nR]
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 166 of file FlagCalTableHandler.h.
|
inlinevirtual |
virtual const casacore::Matrix<CStokesVector> & visCorrected () const = 0; // [nF,nR] virtual void setVisCorrected (const casacore::Matrix<CStokesVector> &) = 0; // [nF,nR]
Implements casa::vi::VisBuffer2.
Definition at line 170 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Reimplemented in casa::CTBuffer.
Definition at line 172 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 176 of file FlagCalTableHandler.h.
|
inlinevirtual |
Implements casa::vi::VisBuffer2.
Definition at line 152 of file FlagCalTableHandler.h.
|
inlinevirtual |
Definition at line 154 of file FlagCalTableHandler.h.
|
inlinevirtual |
virtual const casacore::Matrix<casacore::Float> & weightMat () const = 0; // [nC,nR] virtual void setWeightMat (const casacore::Matrix<casacore::Float>& value) = 0; // [nC,nR]
Implements casa::vi::VisBuffer2.
Definition at line 156 of file FlagCalTableHandler.h.
|
inlinevirtual |
Dirty component methods
The dirtyComponent methods support the data-flow approach to using VisBuffers (the Visibility Processing Framework). In this approach a VisBuffer is passed to successive processing nodes (e.g., applycal, flagging, etc.) which operate on it and pass it on to the next node in the algorithm. The dirtyComponents mechanism allows a processing node to mark portions of the VisBuffer as modified. If the VisBuffer reaches an write-to-disk node then the modified portions of the VisBuffer will be written out. The user can also explicitly direct that the changes be written out using the writeChangesBack method.
Using a setter on a VisBuffer component will also set the dirty flag for that component. Normally the user should not need to use these methods; however, they are available in case unexpected situations should arise in the future.
Implements casa::vi::VisBuffer2.
Definition at line 73 of file FlagCalTableHandler.h.