casa
5.7.0-16
|
CalMainBuffer: Calibration main table buffer. More...
#include <CalMainBuffer.h>
Protected Member Functions | |
virtual CalMainColumns * | newCalMainCol (CalTable &calTable) |
Factory method to create a columns accessor object of the appropriate type. More... | |
virtual CalMainColumns * | calMainCol () |
Access to the columns accessor object. More... | |
casacore::Bool | connectedToIter () |
Is the buffer connected to an underlying iterator ? More... | |
virtual void | invalidate () |
Invalidate the current cache. More... | |
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, specified as enums from class MSCalEnums: More... | |
virtual void | fillIndices (const casacore::Vector< casacore::Int > &calIndices, const casacore::Block< casacore::Vector< casacore::Int > > &indexValues) |
Define the index values directly. More... | |
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 using fillIndices(). More... | |
virtual void | fillAttributes (const casacore::Vector< casacore::Int > &calIndices) |
Set default attribute values. More... | |
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. More... | |
CalMainBuffer: Calibration main table buffer.
Public interface
From "calibration main table" and "buffer"
The CalMainBuffer class holds a buffer, optionally connected to a calibration main table iterator (of base type CalIterBase). Specializations for baseline-based, time-variable and solvable VisJones calibration table formats are provided through inheritance.
Encapsulate calibration main table data buffers.
Definition at line 80 of file CalMainBuffer.h.
casa::CalMainBuffer::CalMainBuffer | ( | ) |
Default constructor.
No connection to an underlying calibration table iterator in this case.
casa::CalMainBuffer::CalMainBuffer | ( | const casacore::Vector< casacore::Int > & | calIndices, |
const casacore::Block< casacore::Vector< casacore::Int > > & | indexValues | ||
) |
Construct from a set of calibration buffer indices and their specified values.
Non-index columns will be set to default values. There is no connection to an underlying calibration table iterator in this case.
casa::CalMainBuffer::CalMainBuffer | ( | CalIterBase & | calIter | ) |
Construct from a calibration table iterator.
The calibration buffer will remain synchronized with the iterator.
|
virtual |
Default destructor.
|
virtual |
|
virtual |
Write the current buffer at the end of a specified cal table; returns the number of rows appended.
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::GJonesPolyMBuf, casa::TJonesPolyMBuf, casa::SolvableVisJonesMBuf, and casa::EPointMBuf.
|
virtual |
|
virtual |
Generic access to integer columns by MSCalEnums enumeration.
Throws an exception if the column is not recognized or is not an integer column.
|
virtual |
Generic access to string columns by MSCalEnums enumeration.
Throws an exception if the column is not recognized or is not a string column.
|
inlinevirtual |
Accessors for the contained cal_desc and cal_history buffers.
Definition at line 116 of file CalMainBuffer.h.
References calDescBuf_p.
|
virtual |
|
virtual |
|
inlinevirtual |
Definition at line 117 of file CalMainBuffer.h.
References calHistBuf_p.
|
virtual |
|
inlineprotectedvirtual |
Access to the columns accessor object.
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::GJonesPolyMBuf, casa::TJonesPolyMBuf, casa::SolvableVisJonesMBuf, and casa::EPointMBuf.
Definition at line 177 of file CalMainBuffer.h.
References calMainCol_p.
Referenced by casa::EPointMBuf::calMainCol(), casa::SolvableVisJonesMBuf::calMainCol(), casa::TJonesPolyMBuf::calMainCol(), casa::GJonesPolyMBuf::calMainCol(), casa::BJonesPolyMBuf::calMainCol(), casa::TJonesSplineMBuf::calMainCol(), and casa::GJonesSplineMBuf::calMainCol().
|
inlineprotected |
Is the buffer connected to an underlying iterator ?
Definition at line 180 of file CalMainBuffer.h.
References connectedToIter_p.
|
protected |
Utility function to test for membership in a list of calibration enums.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Fill the cal buffer attribute columns in an empty cal buffer, after the cal indices have been set using fillIndices().
The cal indices, specified as enums from class MSCalEnums, are excluded as non-attribute columns.
Use a visibility buffer to define the attribute values
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::GJonesPolyMBuf, casa::TJonesPolyMBuf, casa::SolvableVisJonesMBuf, and casa::EPointMBuf.
|
protectedvirtual |
Set default attribute values.
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::GJonesPolyMBuf, casa::TJonesPolyMBuf, casa::SolvableVisJonesMBuf, and casa::EPointMBuf.
|
virtual |
Force an explicit read to cache for all columns (if attached to an iterator)
|
protectedvirtual |
Span an empty cal buffer by taking all permutations of the values of a specified set of cal indices, specified as enums from class MSCalEnums:
Use a visibility buffer to define the index values
|
protectedvirtual |
Define the index values directly.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Invalidate the current cache.
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::SolvableVisJonesMBuf, casa::EPointMBuf, casa::GJonesPolyMBuf, and casa::TJonesPolyMBuf.
|
virtual |
Find the matching rows for a given antenna1 id.
|
virtual |
Find the matching rows for a given antenna1 id.
and field id. pair
|
virtual |
Find the matching rows for a given antenna1 id.
and freq. group name
|
virtual |
|
virtual |
|
inlineprotectedvirtual |
Factory method to create a columns accessor object of the appropriate type.
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::GJonesPolyMBuf, casa::TJonesPolyMBuf, casa::SolvableVisJonesMBuf, and casa::EPointMBuf.
Definition at line 173 of file CalMainBuffer.h.
|
virtual |
Maximum number of rows in the calibration buffer.
Reimplemented in casa::GJonesSplineMBuf, casa::TJonesSplineMBuf, casa::BJonesPolyMBuf, casa::GJonesPolyMBuf, casa::TJonesPolyMBuf, casa::SolvableVisJonesMBuf, and casa::EPointMBuf.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Synchronize the buffer (if attached to an iterator)
|
virtual |
|
virtual |
casacore::Data field accessors
|
private |
Definition at line 236 of file CalMainBuffer.h.
|
private |
Definition at line 269 of file CalMainBuffer.h.
|
private |
Definition at line 239 of file CalMainBuffer.h.
|
private |
Definition at line 272 of file CalMainBuffer.h.
|
private |
Contained sub-table cal_desc and cal_history buffers.
Definition at line 229 of file CalMainBuffer.h.
Referenced by calDescBuffer().
|
private |
Definition at line 262 of file CalMainBuffer.h.
|
private |
Definition at line 295 of file CalMainBuffer.h.
|
private |
Definition at line 253 of file CalMainBuffer.h.
|
private |
Definition at line 286 of file CalMainBuffer.h.
|
private |
Definition at line 230 of file CalMainBuffer.h.
Referenced by calHistoryBuffer().
|
private |
Definition at line 263 of file CalMainBuffer.h.
|
private |
Definition at line 296 of file CalMainBuffer.h.
|
private |
Ptr to calibration table iterator.
Definition at line 223 of file CalMainBuffer.h.
|
private |
Ptr to cal main columns accessor.
Definition at line 226 of file CalMainBuffer.h.
Referenced by calMainCol().
|
private |
true if connected to underlying iterator
Definition at line 220 of file CalMainBuffer.h.
Referenced by connectedToIter().
|
private |
Definition at line 237 of file CalMainBuffer.h.
|
private |
Definition at line 270 of file CalMainBuffer.h.
|
private |
Definition at line 250 of file CalMainBuffer.h.
|
private |
Definition at line 283 of file CalMainBuffer.h.
|
private |
Definition at line 238 of file CalMainBuffer.h.
|
private |
Definition at line 271 of file CalMainBuffer.h.
|
private |
Definition at line 249 of file CalMainBuffer.h.
|
private |
Definition at line 282 of file CalMainBuffer.h.
|
private |
Definition at line 247 of file CalMainBuffer.h.
|
private |
Definition at line 248 of file CalMainBuffer.h.
|
private |
Definition at line 281 of file CalMainBuffer.h.
|
private |
Definition at line 280 of file CalMainBuffer.h.
|
private |
Definition at line 254 of file CalMainBuffer.h.
|
private |
Definition at line 287 of file CalMainBuffer.h.
|
private |
Definition at line 235 of file CalMainBuffer.h.
|
private |
Definition at line 268 of file CalMainBuffer.h.
|
private |
Definition at line 261 of file CalMainBuffer.h.
|
private |
Definition at line 294 of file CalMainBuffer.h.
|
private |
Definition at line 259 of file CalMainBuffer.h.
|
private |
Definition at line 292 of file CalMainBuffer.h.
|
private |
Definition at line 240 of file CalMainBuffer.h.
|
private |
Definition at line 273 of file CalMainBuffer.h.
|
private |
Definition at line 244 of file CalMainBuffer.h.
|
private |
Definition at line 277 of file CalMainBuffer.h.
|
private |
Definition at line 242 of file CalMainBuffer.h.
|
private |
Definition at line 275 of file CalMainBuffer.h.
|
private |
Definition at line 245 of file CalMainBuffer.h.
|
private |
Definition at line 278 of file CalMainBuffer.h.
|
private |
Definition at line 246 of file CalMainBuffer.h.
|
private |
Definition at line 279 of file CalMainBuffer.h.
|
private |
Definition at line 255 of file CalMainBuffer.h.
|
private |
Definition at line 288 of file CalMainBuffer.h.
|
private |
Definition at line 260 of file CalMainBuffer.h.
|
private |
Definition at line 293 of file CalMainBuffer.h.
|
private |
Definition at line 256 of file CalMainBuffer.h.
|
private |
Definition at line 289 of file CalMainBuffer.h.
|
private |
Definition at line 258 of file CalMainBuffer.h.
|
private |
Definition at line 291 of file CalMainBuffer.h.
|
private |
Definition at line 257 of file CalMainBuffer.h.
|
private |
Definition at line 290 of file CalMainBuffer.h.
|
private |
Definition at line 241 of file CalMainBuffer.h.
|
private |
Definition at line 274 of file CalMainBuffer.h.
|
private |
Definition at line 252 of file CalMainBuffer.h.
|
private |
Definition at line 285 of file CalMainBuffer.h.
|
private |
Definition at line 251 of file CalMainBuffer.h.
|
private |
Definition at line 284 of file CalMainBuffer.h.
|
private |
Definition at line 243 of file CalMainBuffer.h.
|
private |
Definition at line 276 of file CalMainBuffer.h.
|
private |
Definition at line 234 of file CalMainBuffer.h.
|
private |
Definition at line 267 of file CalMainBuffer.h.
|
private |
Buffer fields.
Definition at line 233 of file CalMainBuffer.h.
|
private |
Buffer field status flags.
Definition at line 266 of file CalMainBuffer.h.