29 #ifndef MS_SDFEEDHANDLER_H
30 #define MS_SDFEEDHANDLER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/ArrayFwd.h>
34 #include <casacore/casa/Containers/RecordField.h>
void resetRow(const Record &row)
reset internals given indicated row, use the same MS
RecordFieldPtr< Int > numRecpKey_p
RORecordFieldPtr< Array< Complex > > polResponseField_p
SDFeedHandler(const SDFeedHandler &other)
copy ctor
RORecordFieldPtr< Double > scaReceptorAngleField_p
RORecordFieldPtr< String > polarizationTypeField_p
RORecordFieldPtr< Int > numReceptorsField_p
Int numReceptors()
the current NUM_RECEPTORS value
RORecordFieldPtr< Int > beamIdField_p
SDFeedHandler()
default ctor is not attached to a MS and hence is useless until attached
RORecordFieldPtr< Int > phasedFeedIdField_p
RORecordFieldPtr< Int > feed1Field_p
fields which might be the result of saving via ms2sdfits
RORecordFieldPtr< Array< Double > > beamOffsetField_p
RORecordFieldPtr< Array< Double > > receptorAngleField_p
MSFeedColumns * msFeedCols_p
RORecordFieldPtr< Double > timeField_p
RORecordFieldPtr< Int > feed2Field_p
Int feedId()
get the current feed ID
void initAll(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
initialize everything
SDFeedHandler(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach this to a MS - no columns are explicitly handled here
void stokesToPolType(const Vector< Int > &stokes, Vector< String > &polType)
get the polarization type from the stokes vector
RORecordFieldPtr< Array< Double > > positionField_p
RORecordFieldPtr< Double > intervalField_p
void fill(const Record &row, Int antennaId, Int spwinId, const Vector< Int > &stokes)
fill - a new row is added only when necessary
void attach(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach to a MS, the handledCols and row arguments are ignored here
SDFeedHandler & operator=(const SDFeedHandler &other)
assignment operator, uses copy semantics
void clearAll()
cleanup everything
void initRow(Vector< Bool > &handledCols, const Record &row)
initialize things which depend on row
this file contains all the compiler specific defines