29 #ifndef CALIBRATION_CALMAINBUFFER_H
30 #define CALIBRATION_CALMAINBUFFER_H
casacore::Bool excluded(const MSCalEnums::colDef &calEnum, const casacore::Vector< casacore::Int > &excludeIndices)
Utility function to test for membership in a list of calibration enums.
casacore::Vector< casacore::Int > measFreqRef_p
casacore::Bool sourceCodeOK_p
casacore::Vector< casacore::Int > stateId_p
virtual casacore::Vector< casacore::String > & freqGrpName()
casacore::Vector< casacore::Int > pulsarGateId_p
casacore::Vector< casacore::String > sourceCode_p
casacore::Vector< casacore::Int > phaseId_p
casacore::Bool freqGrpNameOK_p
casacore::Vector< casacore::Int > calGrp_p
CalIterBase * calIter_p
Ptr to calibration table iterator.
casacore::Vector< casacore::Int > freqGrp_p
virtual casacore::Int append(CalTable &calTable)
Write the current buffer at the end of a specified cal table; returns the number of rows appended...
virtual casacore::Vector< casacore::Int > & arrayId()
virtual casacore::Vector< casacore::Int > & calGrp()
casacore::Array< casacore::Complex > gain_p
casacore::Vector< casacore::String > sourceName_p
casacore::Bool refFreqMeasOK_p
casacore::Bool fieldNameOK_p
casacore::Bool sourceNameOK_p
casacore::Array< casacore::MDirection > refDirMeas_p
virtual casacore::Array< casacore::Int > & refAnt()
virtual void invalidate()
Invalidate the current cache.
casacore::Bool pulsarGateIdOK_p
casacore::Bool connectedToIter()
Is the buffer connected to an underlying iterator ?
virtual casacore::Vector< casacore::String > & sourceCode()
virtual casacore::Vector< casacore::Int > & stateId()
casacore::Bool freqGrpOK_p
casacore::Vector< casacore::Int > pulsarBin_p
virtual casacore::Vector< casacore::Int > & asVecInt(const MSCalEnums::colDef &calEnum)
Generic access to integer columns by MSCalEnums enumeration.
casacore::Bool arrayIdOK_p
CalHistoryBuffer * calHistBuf_p
virtual casacore::Vector< casacore::String > & sourceName()
casacore::Vector< casacore::String > fieldName_p
casacore::Bool refReceptorOK_p
virtual casacore::Array< casacore::Int > & refReceptor()
casacore::Vector< casacore::String > fieldCode_p
casacore::Vector< casacore::Int > calDescId_p
casacore::Bool timeEPQuantOK_p
casacore::Bool measFreqRefOK_p
casacore::Vector< casacore::Int > arrayId_p
casacore::Bool antenna1OK_p
casacore::Vector< casacore::Int > processorId_p
casacore::Vector< casacore::Int > scanNo_p
CalMainColumns * calMainCol_p
Ptr to cal main columns accessor.
virtual void fillIndices(const casacore::Vector< casacore::Int > &calIndices, const VisBuffer &vb)
Span an empty cal buffer by taking all permutations of the values of a specified set of cal indices...
CalTable: Calibration table access and creation.
casacore::Vector< casacore::String > freqGrpName_p
casacore::Vector< casacore::Int > obsId_p
casacore::Bool intervalQuantOK_p
casacore::Array< casacore::MFrequency > refFreqMeas_p
casacore::Vector< casacore::Int > measDirRef_p
CalIterBase: Base class for calibration table iterators.
virtual void fillCache()
Force an explicit read to cache for all columns (if attached to an iterator)
casacore::Bool phaseIdOK_p
virtual casacore::Vector< casacore::Int > & calDescId()
virtual casacore::Vector< casacore::String > & fieldCode()
casacore::Bool calDescIdOK_p
virtual casacore::Vector< casacore::String > & fieldName()
casacore::Bool fieldIdOK_p
virtual casacore::Vector< casacore::Int > & measFreqRef()
CalMainColumns: Read-write cal_main calibration table column access.
casacore::Bool stateIdOK_p
virtual casacore::Vector< casacore::Int > & feed1()
virtual casacore::Vector< casacore::Int > & calHistoryId()
virtual void fillAttributes(const casacore::Vector< casacore::Int > &calIndices, const VisBuffer &vb)
Fill the cal buffer attribute columns in an empty cal buffer, after the cal indices have been set usi...
virtual casacore::Array< casacore::MFrequency > & refFreqMeas()
virtual casacore::Vector< casacore::Int > & antenna1()
virtual casacore::Vector< casacore::Int > matchAntenna1AndFreqGrp(const casacore::Int &antennaId, const casacore::String &frqGrpName)
Find the matching rows for a given antenna1 id.
virtual casacore::Vector< casacore::Int > & measDirRef()
casacore::Vector< casacore::Int > fieldId_p
virtual CalDescBuffer & calDescBuffer()
Accessors for the contained cal_desc and cal_history buffers.
casacore::Bool calHistoryIdOK_p
virtual void synchronize()
Synchronize the buffer (if attached to an iterator)
bool Bool
Define the standard types used by Casacore.
virtual casacore::Vector< casacore::Int > & pulsarBin()
virtual casacore::Vector< casacore::Int > & freqGrp()
casacore::Bool measDirRefOK_p
casacore::Vector< casacore::MEpoch > timeMeas_p
Buffer fields.
virtual casacore::Vector< casacore::Int > & phaseId()
casacore::Vector< casacore::Quantity > timeEPQuant_p
CalMainBuffer: Calibration main table buffer.
casacore::Array< casacore::Int > refReceptor_p
casacore::Bool connectedToIter_p
true if connected to underlying iterator
virtual casacore::Vector< casacore::Int > & pulsarGateId()
virtual casacore::Array< casacore::Int > & refFeed()
casacore::Vector< casacore::Int > feed1_p
casacore::Bool calGrpOK_p
virtual ~CalMainBuffer()
Default destructor.
CalMainBuffer()
Default constructor.
virtual casacore::Vector< casacore::Int > & scanNo()
casacore::Bool scanNoOK_p
virtual casacore::Vector< casacore::Int > & processorId()
virtual casacore::Vector< casacore::Quantity > & timeEPQuant()
colDef
Enumerate all relevant data fields (columns and keywords)
casacore::Vector< casacore::Quantity > intervalQuant_p
casacore::Bool processorIdOK_p
virtual casacore::Vector< casacore::Int > & obsId()
casacore::Bool timeMeasOK_p
Buffer field status flags.
casacore::Array< casacore::Int > refFeed_p
casacore::Bool refDirMeasOK_p
virtual casacore::Vector< casacore::String > & asVecString(const MSCalEnums::colDef &calEnum)
Generic access to string columns by MSCalEnums enumeration.
virtual CalMainColumns * calMainCol()
Access to the columns accessor object.
virtual casacore::Vector< casacore::Quantity > & intervalQuant()
casacore::Bool refFeedOK_p
virtual casacore::Int nRow()
Maximum number of rows in the calibration buffer.
CalDescBuffer * calDescBuf_p
Contained sub-table cal_desc and cal_history buffers.
String: the storage and methods of handling collections of characters.
virtual casacore::Array< casacore::MDirection > & refDirMeas()
VisBuffers encapsulate one chunk of visibility data for processing.
virtual casacore::Vector< casacore::Int > matchAntenna1(const casacore::Int &antennaId)
Find the matching rows for a given antenna1 id.
casacore::Bool fieldCodeOK_p
CalDescBuffer: Calibration table cal_desc buffer.
virtual casacore::Array< casacore::Complex > & gain()
virtual casacore::Vector< casacore::Int > matchAntenna1AndFieldId(const casacore::Int &antennaId, const casacore::Int &fldId)
Find the matching rows for a given antenna1 id.
CalHistoryBuffer: Calibration table cal_history buffer.
casacore::Vector< casacore::Int > calHistoryId_p
casacore::Array< casacore::Int > refAnt_p
virtual CalMainColumns * newCalMainCol(CalTable &calTable)
Factory method to create a columns accessor object of the appropriate type.
casacore::Bool pulsarBinOK_p
virtual casacore::Vector< casacore::MEpoch > & timeMeas()
casacore::Data field accessors
casacore::Bool refAntOK_p
virtual CalHistoryBuffer & calHistoryBuffer()
virtual casacore::Vector< casacore::Int > & fieldId()
casacore::Vector< casacore::Int > antenna1_p