Go to the documentation of this file.
29 #ifndef MS_SDPOINTINGHANDLER_H
30 #define MS_SDPOINTINGHANDLER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Containers/RecordField.h>
34 #include <casacore/measures/Measures/MDirection.h>
35 #include <casacore/casa/Arrays/Matrix.h>
42 class MSPointingColumns;
45 template <
class T>
class Vector;
void initRow(Vector< Bool > &handledCols, const Record &row)
initialize everythign which depends on row
Matrix< Double > directionPoly_p
RORecordFieldPtr< Double > timeField_p
RORecordFieldPtr< Double > intervalField_p
Vector< Double > directionRate_p
SDPointingHandler(const SDPointingHandler &other)
copy ctor
SDPointingHandler(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach this to a MS, mark fields row which are handled here
Int nrow()
convenience functions for use when filling the FIELD table, which is mostly just a clone of this tabl...
const Matrix< Double > & directionPoly()
Container for Measure frame.
MSPointing * msPointing_p
void initAll(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
initialize everything
void clearRow()
cleanup things which depend on the row
MDirection::Ref dirColRef_p
RORecordFieldPtr< String > nameField_p
RORecordFieldPtr< Array< Double > > pointingDirRateField_p
these might come from an MS table this can just come from an MS v1 table
A Table intended to hold a MeasurementSet POINTING table.
A Measure: astronomical direction.
this file contains all the compiler specific defines
void fill(const Record &row, Int antennaId, Double time, const Vector< Double > &timeRange, const MDirection &direction, const MeasFrame &frame)
fill - a new row is added when a) the name changes b) the time changes such that it would be outside ...
MSPointingColumns * msPointingCols_p
void attach(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach to a MS, mark fields in row which are handled here
A Table intended to hold astronomical data (a set of Measurements).
Read-Only access to an individual field from a Record.
RORecordFieldPtr< String > objectField_p
String: the storage and methods of handling collections of characters.
SDPointingHandler & operator=(const SDPointingHandler &other)
assignment operator, uses copy semantics
virtual uInt getType() const
Return the type of the reference Caution: the following should really be (and should be interpreted ...
RORecordFieldPtr< Bool > trackingField_p
A hierarchical collection of named fields of various types.
SDPointingHandler()
default ctor is not attached to a MS and hence is useless until attached
A class to provide easy access to MSPointing columns.
void clearAll()
cleanup everything
void resetRow(const Record &)
reset internals given indicated row, use the same MS