Go to the documentation of this file.
29 #ifndef MS_SDPOLARIZATIONHANDLER_H
30 #define MS_SDPOLARIZATIONHANDLER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Containers/RecordField.h>
41 class MSPolarizationColumns;
44 template <
class T>
class Vector;
RORecordFieldPtr< Bool > flagRowField_p
SDPolarizationHandler(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach this to a MS - no columns are explicitly handled here
RecordFieldPtr< Int > numCorrKey_p
SDPolarizationHandler & operator=(const SDPolarizationHandler &other)
assignment operator, uses copy semantics
RORecordFieldPtr< Array< Int > > corrTypeField_p
SDPolarizationHandler(const SDPolarizationHandler &other)
copy ctor
void clearAll()
cleanup everything
SDPolarizationHandler()
default ctor is not attached to a MS and hence is useless until attached
void initAll(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
initialize everything
void fill(const Record &row, const Vector< Int > &stokes)
fill - a new row is added only when necessary
MSPolarizationColumns * msPolCols_p
void attach(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach to a MS, the handledCols and row arguments are ignored here
this file contains all the compiler specific defines
void initRow(Vector< Bool > &handledCols, const Record &row)
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
RORecordFieldPtr< Array< Int > > corrProductField_p
Int polarizationId()
get the current polarization ID
void stokesKeys(Int stokesValue, Int &key1, Int &key2)
decompose a stokes value into constituent parts for use in making the CORR_PRODUCT matrix