casa
$Rev:20696$
|
#include <SDFeedHandler.h>
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 () | |
SDFeedHandler & | operator= (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< Int > | numRecpKey_p |
ColumnsIndex * | index_p |
MSFeed * | msFeed_p |
MSFeedColumns * | msFeedCols_p |
Int | feedId_p |
Int | nextFeedId_p |
Int | nrecpt_p |
RORecordFieldPtr< Int > | feed1Field_p |
fields which might be the result of saving via ms2sdfits | |
RORecordFieldPtr< Int > | feed2Field_p |
RORecordFieldPtr< Int > | beamIdField_p |
RORecordFieldPtr< Int > | phasedFeedIdField_p |
RORecordFieldPtr< Int > | numReceptorsField_p |
RORecordFieldPtr< Double > | intervalField_p |
RORecordFieldPtr< Double > | timeField_p |
RORecordFieldPtr< Double > | scaReceptorAngleField_p |
RORecordFieldPtr< Array< Double > > | beamOffsetField_p |
RORecordFieldPtr< Array< Double > > | positionField_p |
RORecordFieldPtr< Array< Double > > | receptorAngleField_p |
RORecordFieldPtr< Array < Complex > > | polResponseField_p |
RORecordFieldPtr< String > | polarizationTypeField_p |
Internal or
Internal
<h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl>
Definition at line 87 of file SDFeedHandler.h.
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
casa::SDFeedHandler::SDFeedHandler | ( | const SDFeedHandler & | other | ) |
copy ctor
casa::SDFeedHandler::~SDFeedHandler | ( | ) | [inline] |
Definition at line 99 of file SDFeedHandler.h.
References clearAll().
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] |
Int casa::SDFeedHandler::feedId | ( | ) | [inline] |
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
Int casa::SDFeedHandler::numReceptors | ( | ) | [inline] |
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
Definition at line 127 of file SDFeedHandler.h.
Definition at line 129 of file SDFeedHandler.h.
RORecordFieldPtr<Int> casa::SDFeedHandler::feed1Field_p [private] |
fields which might be the result of saving via ms2sdfits
Definition at line 127 of file SDFeedHandler.h.
RORecordFieldPtr<Int> casa::SDFeedHandler::feed2Field_p [private] |
Definition at line 127 of file SDFeedHandler.h.
Int casa::SDFeedHandler::feedId_p [private] |
Definition at line 124 of file SDFeedHandler.h.
Referenced by feedId().
ColumnsIndex* casa::SDFeedHandler::index_p [private] |
Definition at line 120 of file SDFeedHandler.h.
Definition at line 128 of file SDFeedHandler.h.
MSFeed* casa::SDFeedHandler::msFeed_p [private] |
Definition at line 121 of file SDFeedHandler.h.
MSFeedColumns* casa::SDFeedHandler::msFeedCols_p [private] |
Definition at line 122 of file SDFeedHandler.h.
Int casa::SDFeedHandler::nextFeedId_p [private] |
Definition at line 124 of file SDFeedHandler.h.
Int casa::SDFeedHandler::nrecpt_p [private] |
Definition at line 124 of file SDFeedHandler.h.
Referenced by numReceptors().
Definition at line 127 of file SDFeedHandler.h.
RecordFieldPtr<Int> casa::SDFeedHandler::numRecpKey_p [private] |
Definition at line 119 of file SDFeedHandler.h.
Definition at line 127 of file SDFeedHandler.h.
Definition at line 131 of file SDFeedHandler.h.
RORecordFieldPtr<Array<Complex> > casa::SDFeedHandler::polResponseField_p [private] |
Definition at line 130 of file SDFeedHandler.h.
RORecordFieldPtr<Array<Double> > casa::SDFeedHandler::positionField_p [private] |
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.