28 #ifndef MS_MSFEEDCOLUMNS_H
29 #define MS_MSFEEDCOLUMNS_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/casa/BasicSL/Complex.h>
33 #include <casacore/measures/Measures/MDirection.h>
34 #include <casacore/measures/Measures/MEpoch.h>
35 #include <casacore/measures/Measures/MPosition.h>
36 #include <casacore/measures/Measures/MCDirection.h>
37 #include <casacore/measures/Measures/MCEpoch.h>
38 #include <casacore/measures/Measures/MCPosition.h>
39 #include <casacore/measures/TableMeasures/ArrayMeasColumn.h>
40 #include <casacore/measures/TableMeasures/ArrayQuantColumn.h>
41 #include <casacore/measures/TableMeasures/ScalarMeasColumn.h>
42 #include <casacore/measures/TableMeasures/ScalarQuantColumn.h>
43 #include <casacore/tables/Tables/ArrayColumn.h>
44 #include <casacore/tables/Tables/ScalarColumn.h>
45 #include <casacore/casa/BasicSL/String.h>
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
Types
Types of known MPositions Warning: The order defines the order in the translation matrix FromTo in t...
ScalarColumn< Double > focusLength_p
MSFeedColumns(const MSFeedColumns &)
MSFeedColumns(const MSFeed &msFeed)
Create a columns object that accesses the data in the specified Table.
ArrayMeasColumn< MDirection > beamOffsetMeas_p
ScalarColumn< Double > & focusLength()
Access to optional columns.
ArrayColumn< Double > beamOffset_p
const ArrayColumn< String > & polarizationType() const
const ArrayQuantColumn< Double > & beamOffsetQuant() const
ScalarColumn< Int > & beamId()
ArrayQuantColumn< Double > & beamOffsetQuant()
ArrayColumn< Double > & beamOffset()
const ArrayQuantColumn< Double > & receptorAngleQuant() const
ScalarQuantColumn< Double > focusLengthQuant_p
ArrayQuantColumn< Double > & receptorAngleQuant()
ScalarMeasColumn< MEpoch > & timeMeas()
ArrayColumn< Double > & position()
ScalarMeasColumn< MEpoch > timeMeas_p
ScalarQuantColumn< Double > timeQuant_p
void setEpochRef(MEpoch::Types ref, Bool tableMustBeEmpty=True)
set the epoch type for the TIME column.
void attach(const MSFeed &msFeed)
ScalarColumn< Int > & feedId()
ScalarColumn< Int > beamId_p
const ScalarMeasColumn< MEpoch > & timeMeas() const
rownr_t nrow() const
Convenience function that returns the number of rows in any of the columns.
const ArrayColumn< Double > & position() const
const ArrayColumn< Double > & receptorAngle() const
ArrayColumn< String > & polarizationType()
const ArrayQuantColumn< Double > & positionQuant() const
ScalarQuantColumn< Double > intervalQuant_p
ArrayColumn< Double > & receptorAngle()
const ScalarColumn< Double > & interval() const
ArrayColumn< Double > position_p
ArrayQuantColumn< Double > positionQuant_p
MSFeedColumns & operator=(const MSFeedColumns &)
ScalarMeasColumn< MPosition > positionMeas_p
void attachOptionalCols(const MSFeed &msFeed)
ScalarColumn< Int > & phasedFeedId()
ScalarColumn< Int > spectralWindowId_p
const ArrayMeasColumn< MDirection > & beamOffsetMeas() const
ScalarColumn< Double > & time()
const ScalarQuantColumn< Double > & focusLengthQuant() const
const ScalarMeasColumn< MPosition > & positionMeas() const
const ArrayColumn< Double > & beamOffset() const
const ArrayColumn< Complex > & polResponse() const
ArrayColumn< Complex > & polResponse()
ArrayQuantColumn< Double > beamOffsetQuant_p
const ScalarColumn< Int > & beamId() const
const ScalarQuantColumn< Double > & intervalQuant() const
ArrayColumn< String > polarizationType_p
ScalarColumn< Int > antennaId_p
const ScalarColumn< Double > & time() const
ScalarColumn< Double > & interval()
Int64 matchFeed(Quantum< Double > &newTimeQ, Quantum< Double > &newIntervalQ, Int antId, Int feedId, Int spwId, const Quantum< Double > &timeQ, const Quantum< Double > &intervalQ, Int numReceptor, const Array< Quantum< Double > > &beamOffsetQ, const Array< String > &polType, const Array< Complex > &polResp, const Array< Quantum< Double > > &positionQ, const Array< Quantum< Double > > &receptorAngleQ, const RowNumbers &ignoreRows, const Quantum< Double > &focusLengthQ=Quantum< Double >())
Returns the last row that contains a feed with the specified values.
const ScalarColumn< Int > & feedId() const
ArrayQuantColumn< Double > receptorAngleQuant_p
ScalarColumn< Double > time_p
const ScalarColumn< Int > & spectralWindowId() const
ArrayQuantColumn< Double > & positionQuant()
~MSFeedColumns()
The desctructor does nothing special.
ScalarQuantColumn< Double > & intervalQuant()
ScalarColumn< Int > numReceptors_p
ArrayMeasColumn< MDirection > & beamOffsetMeas()
ArrayColumn< Double > receptorAngle_p
ScalarQuantColumn< Double > & focusLengthQuant()
const ScalarColumn< Int > & numReceptors() const
ScalarColumn< Int > & numReceptors()
ArrayColumn< Complex > polResponse_p
ScalarColumn< Int > phasedFeedId_p
const ScalarColumn< Double > & focusLength() const
Const access to optional columns.
ScalarMeasColumn< MPosition > & positionMeas()
void setPositionRef(MPosition::Types ref)
set the position type for the POSITION column.
const ScalarColumn< Int > & antennaId() const
Const access to required columns.
const ScalarQuantColumn< Double > & timeQuant() const
ScalarColumn< Int > feedId_p
ScalarColumn< Int > & antennaId()
Access to required columns.
ScalarColumn< Double > interval_p
void setDirectionRef(MDirection::Types ref)
set the direction type for the BEAM_OFFSET column.
ScalarQuantColumn< Double > & timeQuant()
ScalarColumn< Int > & spectralWindowId()
const ScalarColumn< Int > & phasedFeedId() const
rownr_t nrow() const
Get the number of rows in the column.
this file contains all the compiler specific defines
MSFeedColumns ROMSFeedColumns
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.