SDPolarizationHandler.h

Classes

SDPolarizationHandler -- (full description)

class SDPolarizationHandler

Interface

Public Members
SDPolarizationHandler()
SDPolarizationHandler(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
SDPolarizationHandler(const SDPolarizationHandler &other)
~SDPolarizationHandler()
SDPolarizationHandler &operator=(const SDPolarizationHandler &other)
void attach(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
void resetRow(const Record &row)
void fill(const Record &row, const Vector<Int> &stokes)
Int polarizationId()
Private Members
void stokesKeys(Int stokesValue, Int &key1, Int &key2)
void clearAll()
void clearRow()
void initAll(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)
void initRow(Vector<Bool> &handledCols, const Record &row)

Description

or

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Member Description

SDPolarizationHandler()

default ctor is not attached to a MS and hence is useless until attached

SDPolarizationHandler(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)

attach this to a MS - no columns are explicitly handled here

SDPolarizationHandler(const SDPolarizationHandler &other)

copy ctor

~SDPolarizationHandler()

SDPolarizationHandler &operator=(const SDPolarizationHandler &other)

assignment operator, uses copy semantics

void attach(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)

attach to a MS, the handledCols and row arguments are ignored here

void resetRow(const Record &row)

reset internals given indicated row, use the same MS; just resets the id pointer

void fill(const Record &row, const Vector<Int> &stokes)

fill - a new row is added only when necessary

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

void clearAll()

cleanup everything

void clearRow()

void initAll(MeasurementSet &ms, Vector<Bool> &handledCols, const Record &row)

initialize everything

void initRow(Vector<Bool> &handledCols, const Record &row)