casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::SDFeedHandler Class Reference

#include <SDFeedHandler.h>

List of all members.

Public Member Functions

 SDFeedHandler ()
 default ctor is not attached to a MS and hence is useless until attached
 SDFeedHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach this to a MS - no columns are explicitly handled here
 SDFeedHandler (const SDFeedHandler &other)
 copy ctor
 ~SDFeedHandler ()
SDFeedHandleroperator= (const SDFeedHandler &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
void fill (const Record &row, Int antennaId, Int spwinId, const Vector< Int > &stokes)
 fill - a new row is added only when necessary
Int feedId ()
 get the current feed ID
Int numReceptors ()
 the current NUM_RECEPTORS value

Private Member Functions

void stokesToPolType (const Vector< Int > &stokes, Vector< String > &polType)
 get the polarization type from the stokes vector
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)
 initialize things which depend on row

Private Attributes

RecordFieldPtr< IntnumRecpKey_p
ColumnsIndexindex_p
MSFeedmsFeed_p
MSFeedColumnsmsFeedCols_p
Int feedId_p
Int nextFeedId_p
Int nrecpt_p
RORecordFieldPtr< Intfeed1Field_p
 fields which might be the result of saving via ms2sdfits
RORecordFieldPtr< Intfeed2Field_p
RORecordFieldPtr< IntbeamIdField_p
RORecordFieldPtr< IntphasedFeedIdField_p
RORecordFieldPtr< IntnumReceptorsField_p
RORecordFieldPtr< DoubleintervalField_p
RORecordFieldPtr< DoubletimeField_p
RORecordFieldPtr< DoublescaReceptorAngleField_p
RORecordFieldPtr< Array< Double > > beamOffsetField_p
RORecordFieldPtr< Array< Double > > positionField_p
RORecordFieldPtr< Array< Double > > receptorAngleField_p
RORecordFieldPtr< Array
< Complex > > 
polResponseField_p
RORecordFieldPtr< StringpolarizationTypeField_p

Detailed Description

Intended use:

Internal or

Intended use:

Internal

 <h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl> 

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 87 of file SDFeedHandler.h.


Constructor & Destructor Documentation

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

casa::SDFeedHandler::SDFeedHandler ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
)

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

copy ctor

Definition at line 99 of file SDFeedHandler.h.

References clearAll().


Member Function Documentation

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

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

void casa::SDFeedHandler::clearAll ( ) [private]

cleanup everything

Referenced by ~SDFeedHandler().

void casa::SDFeedHandler::clearRow ( ) [private]

get the current feed ID

Definition at line 114 of file SDFeedHandler.h.

References feedId_p.

void casa::SDFeedHandler::fill ( const Record row,
Int  antennaId,
Int  spwinId,
const Vector< Int > &  stokes 
)

fill - a new row is added only when necessary

void casa::SDFeedHandler::initAll ( MeasurementSet ms,
Vector< Bool > &  handledCols,
const Record row 
) [private]

initialize everything

void casa::SDFeedHandler::initRow ( Vector< Bool > &  handledCols,
const Record row 
) [private]

initialize things which depend on row

the current NUM_RECEPTORS value

Definition at line 117 of file SDFeedHandler.h.

References nrecpt_p.

SDFeedHandler& casa::SDFeedHandler::operator= ( const SDFeedHandler other)

assignment operator, uses copy semantics

void casa::SDFeedHandler::resetRow ( const Record row)

reset internals given indicated row, use the same MS

void casa::SDFeedHandler::stokesToPolType ( const Vector< Int > &  stokes,
Vector< String > &  polType 
) [private]

get the polarization type from the stokes vector


Member Data Documentation

Definition at line 127 of file SDFeedHandler.h.

Definition at line 129 of file SDFeedHandler.h.

fields which might be the result of saving via ms2sdfits

Definition at line 127 of file SDFeedHandler.h.

Definition at line 127 of file SDFeedHandler.h.

Definition at line 124 of file SDFeedHandler.h.

Referenced by feedId().

Definition at line 120 of file SDFeedHandler.h.

Definition at line 128 of file SDFeedHandler.h.

Definition at line 121 of file SDFeedHandler.h.

Definition at line 122 of file SDFeedHandler.h.

Definition at line 124 of file SDFeedHandler.h.

Definition at line 124 of file SDFeedHandler.h.

Referenced by numReceptors().

Definition at line 127 of file SDFeedHandler.h.

Definition at line 119 of file SDFeedHandler.h.

Definition at line 127 of file SDFeedHandler.h.

Definition at line 131 of file SDFeedHandler.h.

Definition at line 130 of file SDFeedHandler.h.

Definition at line 129 of file SDFeedHandler.h.

Definition at line 129 of file SDFeedHandler.h.

Definition at line 128 of file SDFeedHandler.h.

Definition at line 128 of file SDFeedHandler.h.


The documentation for this class was generated from the following file: