29 #ifndef MS_SDPOLARIZATIONHANDLER_H
30 #define MS_SDPOLARIZATIONHANDLER_H
41 class MSPolarizationColumns;
44 template <
class T>
class Vector;
Index to one or more columns in a table.
void clearAll()
cleanup everything
std::vector< double > Vector
Int polarizationId()
get the current polarization ID
void fill(const Record &row, const Vector< Int > &stokes)
fill - a new row is added only when necessary
RORecordFieldPtr< Array< Int > > corrProductField_p
RORecordFieldPtr< Bool > flagRowField_p
void attach(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach to a MS, the handledCols and row arguments are ignored here
RORecordFieldPtr< Array< Int > > corrTypeField_p
SDPolarizationHandler()
default ctor is not attached to a MS and hence is useless until attached
MSPolarizationColumns * msPolCols_p
A Table intended to hold a MeasurementSet POLARIZATION table.
A hierarchical collection of named fields of various types.
A Table intended to hold astronomical data (a set of Measurements).
A class to provide easy read-write access to MSPolarization columns.
SDPolarizationHandler & operator=(const SDPolarizationHandler &other)
assignment operator, uses copy semantics
void stokesKeys(Int stokesValue, Int &key1, Int &key2)
decompose a stokes value into constituent parts for use in making the CORR_PRODUCT matrix ...
void initRow(Vector< Bool > &handledCols, const Record &row)
void initAll(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
initialize everything
RecordFieldPtr< Int > numCorrKey_p
void resetRow(const Record &row)
reset internals given indicated row, use the same MS; just resets the id pointer
RORecordFieldPtr< Int > numCorrField_p
from a pre-existing MS
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.