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