29 #ifndef MS_SDANTENNAHANDLER_H
30 #define MS_SDANTENNAHANDLER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Containers/RecordField.h>
34 #include <casacore/casa/BasicSL/String.h>
35 #include <casacore/measures/Measures/MPosition.h>
36 #include <casacore/casa/Arrays/Array.h>
44 class MSAntennaColumns;
Read-Only access to an individual field from a Record.
RecordFieldPtr< Double > dishDiameterKey_p
void clearAll()
cleanup everything
const MPosition & telescopePosition()
get the telescope position
RecordFieldPtr< String > nameKey_p
Int siteLongFldNum_p
telescope position might be a double or float, just remember its location
Int antennaId()
get the current antenna ID
RORecordFieldPtr< String > telescopField_p
pointers to fields in record, only used if attached
SDAntennaHandler(const SDAntennaHandler &other)
copy ctor
SDAntennaHandler & operator=(const SDAntennaHandler &other)
assignment operator, uses copy semantics
SDAntennaHandler(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach this to a MS, mark the appropriate columns as handled given the indicated row
RecordFieldPtr< String > mountKey_p
void attach(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach to a MS, mark the appropriate columns as handled given the
RecordFieldPtr< Int > orbitIdKey_p
RORecordFieldPtr< Array< Double > > positionField_p
void clearRow()
cleanup things which depend on the row description being fixed
SDAntennaHandler()
default ctor is not attached to a MS and hence is useless until attached
RORecordFieldPtr< String > stationField_p
RORecordFieldPtr< Int > orbitIdField_p
RORecordFieldPtr< String > msNameField_p
void initAll(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
initialize everything
MSAntennaColumns * msAntCols_p
void addPhasedArrayIdColumn()
I expect these will never be used, nevertheless, put them here just in case I'm wrong.
String telescopeName()
get the telescope name
RORecordFieldPtr< Double > dishDiameterField_p
void fill(const Record &row)
fill - a new row is added only when necessary
RecordFieldPtr< Int > phasedIdKey_p
void resetRow(const Record &row)
reset internals given indicated row, use the same MS
RecordFieldPtr< Bool > flagRowKey_p
RORecordFieldPtr< Array< Double > > offsetField_p
RORecordFieldPtr< Int > phasedArrayIdField_p
void initRow(Vector< Bool > &handledCols, const Record &row)
initialize the things which depend on the row
RORecordFieldPtr< String > mountField_p
fields which might exist if this SDFITS was converted from an MS using ms2sdfits
RecordFieldPtr< String > stationKey_p
RORecordFieldPtr< Bool > flagRowField_p
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines