casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::SDFeedHandler Class Reference

#include <SDFeedHandler.h>

Public Member Functions

 SDFeedHandler ()
 default ctor is not attached to a MS and hence is useless until attached More...
 
 SDFeedHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach this to a MS - no columns are explicitly handled here More...
 
 SDFeedHandler (const SDFeedHandler &other)
 copy ctor More...
 
 ~SDFeedHandler ()
 
SDFeedHandleroperator= (const SDFeedHandler &other)
 assignment operator, uses copy semantics More...
 
void attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 attach to a MS, the handledCols and row arguments are ignored here More...
 
void resetRow (const Record &row)
 reset internals given indicated row, use the same MS More...
 
void fill (const Record &row, Int antennaId, Int spwinId, const Vector< Int > &stokes)
 fill - a new row is added only when necessary More...
 
Int feedId ()
 get the current feed ID More...
 
Int numReceptors ()
 the current NUM_RECEPTORS value More...
 

Private Member Functions

void stokesToPolType (const Vector< Int > &stokes, Vector< String > &polType)
 get the polarization type from the stokes vector More...
 
void clearAll ()
 cleanup everything More...
 
void clearRow ()
 
void initAll (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
 initialize everything More...
 
void initRow (Vector< Bool > &handledCols, const Record &row)
 initialize things which depend on row More...
 

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 More...
 
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

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 88 of file SDFeedHandler.h.

Constructor & Destructor Documentation

casacore::SDFeedHandler::SDFeedHandler ( )

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

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

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

casacore::SDFeedHandler::SDFeedHandler ( const SDFeedHandler other)

copy ctor

casacore::SDFeedHandler::~SDFeedHandler ( )
inline

Definition at line 100 of file SDFeedHandler.h.

References clearAll().

Member Function Documentation

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

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

void casacore::SDFeedHandler::clearAll ( )
private

cleanup everything

Referenced by ~SDFeedHandler().

void casacore::SDFeedHandler::clearRow ( )
private
Int casacore::SDFeedHandler::feedId ( )
inline

get the current feed ID

Definition at line 115 of file SDFeedHandler.h.

References feedId_p.

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

fill - a new row is added only when necessary

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

initialize everything

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

initialize things which depend on row

Int casacore::SDFeedHandler::numReceptors ( )
inline

the current NUM_RECEPTORS value

Definition at line 118 of file SDFeedHandler.h.

References nrecpt_p.

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

assignment operator, uses copy semantics

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

reset internals given indicated row, use the same MS

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

get the polarization type from the stokes vector

Member Data Documentation

RORecordFieldPtr<Int> casacore::SDFeedHandler::beamIdField_p
private

Definition at line 128 of file SDFeedHandler.h.

RORecordFieldPtr<Array<Double> > casacore::SDFeedHandler::beamOffsetField_p
private

Definition at line 130 of file SDFeedHandler.h.

RORecordFieldPtr<Int> casacore::SDFeedHandler::feed1Field_p
private

fields which might be the result of saving via ms2sdfits

Definition at line 128 of file SDFeedHandler.h.

RORecordFieldPtr<Int> casacore::SDFeedHandler::feed2Field_p
private

Definition at line 128 of file SDFeedHandler.h.

Int casacore::SDFeedHandler::feedId_p
private

Definition at line 125 of file SDFeedHandler.h.

Referenced by feedId().

ColumnsIndex* casacore::SDFeedHandler::index_p
private

Definition at line 121 of file SDFeedHandler.h.

RORecordFieldPtr<Double> casacore::SDFeedHandler::intervalField_p
private

Definition at line 129 of file SDFeedHandler.h.

MSFeed* casacore::SDFeedHandler::msFeed_p
private

Definition at line 122 of file SDFeedHandler.h.

MSFeedColumns* casacore::SDFeedHandler::msFeedCols_p
private

Definition at line 123 of file SDFeedHandler.h.

Int casacore::SDFeedHandler::nextFeedId_p
private

Definition at line 125 of file SDFeedHandler.h.

Int casacore::SDFeedHandler::nrecpt_p
private

Definition at line 125 of file SDFeedHandler.h.

Referenced by numReceptors().

RORecordFieldPtr<Int> casacore::SDFeedHandler::numReceptorsField_p
private

Definition at line 128 of file SDFeedHandler.h.

RecordFieldPtr<Int> casacore::SDFeedHandler::numRecpKey_p
private

Definition at line 120 of file SDFeedHandler.h.

RORecordFieldPtr<Int> casacore::SDFeedHandler::phasedFeedIdField_p
private

Definition at line 128 of file SDFeedHandler.h.

RORecordFieldPtr<String> casacore::SDFeedHandler::polarizationTypeField_p
private

Definition at line 132 of file SDFeedHandler.h.

RORecordFieldPtr<Array<Complex> > casacore::SDFeedHandler::polResponseField_p
private

Definition at line 131 of file SDFeedHandler.h.

RORecordFieldPtr<Array<Double> > casacore::SDFeedHandler::positionField_p
private

Definition at line 130 of file SDFeedHandler.h.

RORecordFieldPtr<Array<Double> > casacore::SDFeedHandler::receptorAngleField_p
private

Definition at line 130 of file SDFeedHandler.h.

RORecordFieldPtr<Double> casacore::SDFeedHandler::scaReceptorAngleField_p
private

Definition at line 129 of file SDFeedHandler.h.

RORecordFieldPtr<Double> casacore::SDFeedHandler::timeField_p
private

Definition at line 129 of file SDFeedHandler.h.


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