casacore
Public Member Functions | Private Member Functions | Private Attributes | List of all members

More...

#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 87 of file SDFeedHandler.h.

Constructor & Destructor Documentation

◆ SDFeedHandler() [1/3]

casacore::SDFeedHandler::SDFeedHandler ( )

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

◆ SDFeedHandler() [2/3]

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

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

◆ SDFeedHandler() [3/3]

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

copy ctor

◆ ~SDFeedHandler()

casacore::SDFeedHandler::~SDFeedHandler ( )
inline

Definition at line 99 of file SDFeedHandler.h.

References clearAll().

Member Function Documentation

◆ attach()

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

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

◆ clearAll()

void casacore::SDFeedHandler::clearAll ( )
private

cleanup everything

Referenced by ~SDFeedHandler().

◆ clearRow()

void casacore::SDFeedHandler::clearRow ( )
private

◆ feedId()

Int casacore::SDFeedHandler::feedId ( )
inline

get the current feed ID

Definition at line 114 of file SDFeedHandler.h.

References feedId_p.

◆ fill()

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

fill - a new row is added only when necessary

◆ initAll()

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

initialize everything

◆ initRow()

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

initialize things which depend on row

◆ numReceptors()

Int casacore::SDFeedHandler::numReceptors ( )
inline

the current NUM_RECEPTORS value

Definition at line 117 of file SDFeedHandler.h.

References nrecpt_p.

◆ operator=()

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

assignment operator, uses copy semantics

◆ resetRow()

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

reset internals given indicated row, use the same MS

◆ stokesToPolType()

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

get the polarization type from the stokes vector

Member Data Documentation

◆ beamIdField_p

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

Definition at line 127 of file SDFeedHandler.h.

◆ beamOffsetField_p

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

Definition at line 129 of file SDFeedHandler.h.

◆ feed1Field_p

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

fields which might be the result of saving via ms2sdfits

Definition at line 127 of file SDFeedHandler.h.

◆ feed2Field_p

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

Definition at line 127 of file SDFeedHandler.h.

◆ feedId_p

Int casacore::SDFeedHandler::feedId_p
private

Definition at line 124 of file SDFeedHandler.h.

Referenced by feedId().

◆ index_p

ColumnsIndex* casacore::SDFeedHandler::index_p
private

Definition at line 120 of file SDFeedHandler.h.

◆ intervalField_p

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

Definition at line 128 of file SDFeedHandler.h.

◆ msFeed_p

MSFeed* casacore::SDFeedHandler::msFeed_p
private

Definition at line 121 of file SDFeedHandler.h.

◆ msFeedCols_p

MSFeedColumns* casacore::SDFeedHandler::msFeedCols_p
private

Definition at line 122 of file SDFeedHandler.h.

◆ nextFeedId_p

Int casacore::SDFeedHandler::nextFeedId_p
private

Definition at line 124 of file SDFeedHandler.h.

◆ nrecpt_p

Int casacore::SDFeedHandler::nrecpt_p
private

Definition at line 124 of file SDFeedHandler.h.

Referenced by numReceptors().

◆ numReceptorsField_p

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

Definition at line 127 of file SDFeedHandler.h.

◆ numRecpKey_p

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

Definition at line 119 of file SDFeedHandler.h.

◆ phasedFeedIdField_p

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

Definition at line 127 of file SDFeedHandler.h.

◆ polarizationTypeField_p

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

Definition at line 131 of file SDFeedHandler.h.

◆ polResponseField_p

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

Definition at line 130 of file SDFeedHandler.h.

◆ positionField_p

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

Definition at line 129 of file SDFeedHandler.h.

◆ receptorAngleField_p

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

Definition at line 129 of file SDFeedHandler.h.

◆ scaReceptorAngleField_p

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

Definition at line 128 of file SDFeedHandler.h.

◆ timeField_p

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

Definition at line 128 of file SDFeedHandler.h.


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