Go to the documentation of this file.
29 #ifndef MS_SDSPWINHANDLER_H
30 #define MS_SDSPWINHANDLER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/Vector.h>
34 #include <casacore/casa/Containers/RecordField.h>
35 #include <casacore/tables/Tables/TableColumn.h>
42 class MSSpectralWindow;
43 class MSSpWindowColumns;
114 Double originalFreqDelt,
Int freqRefType);
TableColumn ifConvChainCol_p
TableColumn idCol_p
the columns in the cache table
A class to provide easy access to MSSpectralWindow columns.
RORecordFieldPtr< Int > netSidebandField_p
Read/write access to a table column.
void attach(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
attach to a MS, the handledCols and row arguments are ignored here
uInt nextCacheRow_p
the next row number to use in the cached
TableColumn freqRefTypeCol_p
RecordFieldPtr< Int > freqGroupKey_p
RecordFieldPtr< Int > netSidebandKey_p
Index to one or more columns in a table.
void initRow(Vector< Bool > &handledCols, const Record &row)
initialize the stuff dependent on the row
RORecordFieldPtr< Bool > flagRowField_p
void initAll(MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row)
initialize everything
RORecordFieldPtr< Int > freqGroupField_p
Main interface class to a read/write table.
RecordFieldPtr< Int > freqRefTypeKey_p
void clearAll()
cleanup everything
A Table intended to hold a MeasurementSet SPECTRAL_WINDOW table.
RORecordFieldPtr< Int > spWinIdField_p
fields from a previous life as a MS
MSSpectralWindow * msSpWin_p
Int spWindowId()
get the current spWindow ID
MSSpWindowColumns * msSpWinCols_p
uInt cacheSize_p
the maximum number of rows in the cache - currently this is 1000
this file contains all the compiler specific defines
ColumnsIndex * index_p
the cache table is the one that is indexed
RecordFieldPtr< Int > nchanKey_p
RecordFieldPtr< Int > ifConvChainKey_p
Int bandwidField_p
fields possibly mined from the SDFITS row floating point fields that we can't be certain of their typ...
Table * theCache_p
temporary table to hold the fields we are indexing on, can't index on array column
Int rownr_p
the current row number in the SPECTRAL_WINDOW table, i.e.
A Table intended to hold astronomical data (a set of Measurements).
void resetRow(const Record &)
reset internals given indicated row, use the same MS; just resets the id pointer
SDSpWindowHandler & operator=(const SDSpWindowHandler &other)
assignment operator, uses copy semantics
Vector< Double > f0Cache_p
bool Bool
Define the standard types used by Casacore.
Vector< Double > fNCache_p
A hierarchical collection of named fields of various types.
Vector< Double > bwCache_p
void clearRow()
clean up items related to the row
TableColumn freqGroupCol_p
RORecordFieldPtr< Int > ifConvChainField_p
TableColumn netSidebandCol_p
void fill(const Record &row, const Vector< Double > &frequency, Double refFrequency, Double originalFreqDelt, Int freqRefType)
fill - a circular buffer of last 100 spectral windows is checked
RecordFieldPtr< Bool > flagRowKey_p
SDSpWindowHandler()
default ctor is not attached to a MS and hence is useless until attached