#include <SDSpWinHandler.h>
Public Member Functions | |
SDSpWindowHandler () | |
default ctor is not attached to a MS and hence is useless until attached | |
SDSpWindowHandler (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) | |
attach this to a MS, marking fields in row which are explicitly handled here | |
SDSpWindowHandler (const SDSpWindowHandler &other) | |
copy ctor | |
~SDSpWindowHandler () | |
SDSpWindowHandler & | operator= (const SDSpWindowHandler &other) |
assignment operator, uses copy semantics | |
void | attach (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
attach to a MS, the handledCols and row arguments are ignored here | |
void | resetRow (const Record &) |
reset internals given indicated row, use the same MS; just resets the id pointer | |
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 | |
Int | spWindowId () |
get the current spWindow ID | |
Private Member Functions | |
void | clearAll () |
cleanup everything | |
void | clearRow () |
clean up items related to the row | |
void | initAll (MeasurementSet &ms, Vector< Bool > &handledCols, const Record &row) |
initialize everything | |
void | initRow (Vector< Bool > &handledCols, const Record &row) |
initialize the stuff dependent on the row | |
Private Attributes | |
RecordFieldPtr< Int > | nchanKey_p |
RecordFieldPtr< Int > | freqRefTypeKey_p |
RecordFieldPtr< Int > | ifConvChainKey_p |
RecordFieldPtr< Int > | freqGroupKey_p |
RecordFieldPtr< Int > | netSidebandKey_p |
Vector< Double > | fNCache_p |
Vector< Double > | f0Cache_p |
Vector< Double > | bwCache_p |
Double * | fNCachePtr_p |
Double * | f0CachePtr_p |
Double * | bwCachePtr_p |
Bool | deleteItFN_p |
Bool | deleteItF0_p |
Bool | deleteItBw_p |
RecordFieldPtr< Bool > | flagRowKey_p |
ColumnsIndex * | index_p |
the cache table is the one that is indexed | |
Table * | theCache_p |
temporary table to hold the fields we are indexing on, can't index on array column | |
MSSpectralWindow * | msSpWin_p |
MSSpWindowColumns * | msSpWinCols_p |
TableColumn | idCol_p |
the columns in the cache table | |
TableColumn | nchanCol_p |
TableColumn | freqRefTypeCol_p |
TableColumn | freqresCol_p |
TableColumn | ifConvChainCol_p |
TableColumn | freqGroupCol_p |
TableColumn | netSidebandCol_p |
TableColumn | flagRowCol_p |
uInt | nextCacheRow_p |
the next row number to use in the cached | |
uInt | cacheSize_p |
the maximum number of rows in the cache - currently this is 1000 | |
Int | rownr_p |
the current row number in the SPECTRAL_WINDOW table, i.e. | |
Int | bandwidField_p |
fields possibly mined from the SDFITS row floating point fields that we can't be certain of their type | |
Int | freqresField_p |
RORecordFieldPtr< Int > | spWinIdField_p |
fields from a previous life as a MS | |
RORecordFieldPtr< Int > | ifConvChainField_p |
RORecordFieldPtr< Int > | freqGroupField_p |
RORecordFieldPtr< Int > | netSidebandField_p |
RORecordFieldPtr< Bool > | flagRowField_p |
Internal or
Internal
Definition at line 89 of file SDSpWinHandler.h.
casacore::SDSpWindowHandler::SDSpWindowHandler | ( | ) |
default ctor is not attached to a MS and hence is useless until attached
casacore::SDSpWindowHandler::SDSpWindowHandler | ( | MeasurementSet & | ms, | |
Vector< Bool > & | handledCols, | |||
const Record & | row | |||
) |
attach this to a MS, marking fields in row which are explicitly handled here
casacore::SDSpWindowHandler::SDSpWindowHandler | ( | const SDSpWindowHandler & | other | ) |
copy ctor
casacore::SDSpWindowHandler::~SDSpWindowHandler | ( | ) | [inline] |
Definition at line 101 of file SDSpWinHandler.h.
References clearAll().
void casacore::SDSpWindowHandler::attach | ( | MeasurementSet & | ms, | |
Vector< Bool > & | handledCols, | |||
const Record & | row | |||
) |
attach to a MS, the handledCols and row arguments are ignored here
void casacore::SDSpWindowHandler::clearAll | ( | ) | [private] |
cleanup everything
Referenced by ~SDSpWindowHandler().
void casacore::SDSpWindowHandler::clearRow | ( | ) | [private] |
clean up items related to the row
void casacore::SDSpWindowHandler::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
void casacore::SDSpWindowHandler::initAll | ( | MeasurementSet & | ms, | |
Vector< Bool > & | handledCols, | |||
const Record & | row | |||
) | [private] |
initialize everything
void casacore::SDSpWindowHandler::initRow | ( | Vector< Bool > & | handledCols, | |
const Record & | row | |||
) | [private] |
initialize the stuff dependent on the row
SDSpWindowHandler& casacore::SDSpWindowHandler::operator= | ( | const SDSpWindowHandler & | other | ) |
assignment operator, uses copy semantics
void casacore::SDSpWindowHandler::resetRow | ( | const Record & | ) |
reset internals given indicated row, use the same MS; just resets the id pointer
Int casacore::SDSpWindowHandler::spWindowId | ( | ) | [inline] |
fields possibly mined from the SDFITS row floating point fields that we can't be certain of their type
Definition at line 148 of file SDSpWinHandler.h.
Vector<Double> casacore::SDSpWindowHandler::bwCache_p [private] |
Definition at line 121 of file SDSpWinHandler.h.
Double * casacore::SDSpWindowHandler::bwCachePtr_p [private] |
Definition at line 122 of file SDSpWinHandler.h.
uInt casacore::SDSpWindowHandler::cacheSize_p [private] |
the maximum number of rows in the cache - currently this is 1000
Definition at line 141 of file SDSpWinHandler.h.
Definition at line 123 of file SDSpWinHandler.h.
Definition at line 123 of file SDSpWinHandler.h.
Definition at line 123 of file SDSpWinHandler.h.
Vector<Double> casacore::SDSpWindowHandler::f0Cache_p [private] |
Definition at line 121 of file SDSpWinHandler.h.
Double * casacore::SDSpWindowHandler::f0CachePtr_p [private] |
Definition at line 122 of file SDSpWinHandler.h.
Definition at line 133 of file SDSpWinHandler.h.
Definition at line 153 of file SDSpWinHandler.h.
Definition at line 124 of file SDSpWinHandler.h.
Vector<Double> casacore::SDSpWindowHandler::fNCache_p [private] |
Definition at line 121 of file SDSpWinHandler.h.
Double* casacore::SDSpWindowHandler::fNCachePtr_p [private] |
Definition at line 122 of file SDSpWinHandler.h.
Definition at line 133 of file SDSpWinHandler.h.
Definition at line 151 of file SDSpWinHandler.h.
Definition at line 119 of file SDSpWinHandler.h.
Definition at line 133 of file SDSpWinHandler.h.
Definition at line 119 of file SDSpWinHandler.h.
Definition at line 133 of file SDSpWinHandler.h.
Definition at line 148 of file SDSpWinHandler.h.
the columns in the cache table
Definition at line 133 of file SDSpWinHandler.h.
Definition at line 133 of file SDSpWinHandler.h.
Definition at line 151 of file SDSpWinHandler.h.
Definition at line 119 of file SDSpWinHandler.h.
ColumnsIndex* casacore::SDSpWindowHandler::index_p [private] |
the cache table is the one that is indexed
Definition at line 126 of file SDSpWinHandler.h.
Definition at line 129 of file SDSpWinHandler.h.
Definition at line 130 of file SDSpWinHandler.h.
Definition at line 133 of file SDSpWinHandler.h.
Definition at line 119 of file SDSpWinHandler.h.
Definition at line 133 of file SDSpWinHandler.h.
Definition at line 151 of file SDSpWinHandler.h.
Definition at line 119 of file SDSpWinHandler.h.
the next row number to use in the cached
Definition at line 138 of file SDSpWinHandler.h.
Int casacore::SDSpWindowHandler::rownr_p [private] |
the current row number in the SPECTRAL_WINDOW table, i.e.
the id
Definition at line 144 of file SDSpWinHandler.h.
Referenced by spWindowId().
fields from a previous life as a MS
Definition at line 151 of file SDSpWinHandler.h.
Table* casacore::SDSpWindowHandler::theCache_p [private] |
temporary table to hold the fields we are indexing on, can't index on array column
Definition at line 128 of file SDSpWinHandler.h.