| Home | Trees | Index | Help |
|---|
| Package esys :: Package escript :: Module timeseries :: Class TimeSeriesBaseBuffer |
|
TimeSeriesBase--+ |TimeSeriesBaseDataset--+ | TimeSeriesBaseBuffer
| Method Summary | |
|---|---|
__init__(self,
buffer_size,
numComponents,
type,
id_of_first_datum,
debug,
description)
| |
appends data to the buffer. | |
returns the size of the buffer | |
returns the identification number of the first avaiable datum (overwrites TimeSeriesBaseDataset method) | |
returns the identification number of the first datum (overwrites method from TimeSeriesBaseDataset) | |
returns the identification number of the last datum in the data set (overwrites method from TimeSeriesBaseDataset) | |
returns the identification number of the last datum which has been unused by all TimeSeries refering to the TimeSeriesBaseDataset (overwrites method from TimeSeriesBaseDataset) | |
returns the number of components of the data (overwrites TimeSeriesBaseDataset method) | |
returns the number of data currently in the buffer | |
returns the offset to access elements in the buffer (overwrites method from TimeSeriesBaseDataset) | |
returns True if the buffer will be full after num_new_data have been appended | |
updates the identification number of the last unused datum (overwrites TimeSeriesBaseDataset method) | |
| Inherited from TimeSeriesBaseDataset | |
returns the datum index | |
needed to handle negative indexing in slicing | |
return the buffer referenced by the TimeSeriesBaseDataset | |
returns the number of data (not all of them are accessible) | |
return the offset when referring to dataset elements | |
returns true if no data are appeneded to buffer | |
| Inherited from TimeSeriesBase | |
| |
returns true if debug mode is on | |
sets debug mode to flag | |
switch off degugging mode | |
switch on degugging mode | |
| |
| Method Details |
|---|
append(self, data)appends data to the buffer. If the buffer would be full the buffer is rearranged before the data are appended (overwrites TimeSeriesBaseDataset method) |
getBaseBufferSize(self)returns the size of the buffer |
getIdOfFirstAvailableDatum(self)returns the identification number of the first avaiable datum (overwrites TimeSeriesBaseDataset method) |
getIdOfFirstDatum(self)returns the identification number of the first datum (overwrites method from TimeSeriesBaseDataset) |
getIdOfLastDatum(self)returns the identification number of the last datum in the data set (overwrites method from TimeSeriesBaseDataset) |
getIdOfLastUnreferencedDatum(self)returns the identification number of the last datum which has been unused by all TimeSeries refering to the TimeSeriesBaseDataset (overwrites method from TimeSeriesBaseDataset) |
getNumComponents(self)returns the number of components of the data (overwrites TimeSeriesBaseDataset method) |
getNumDataInBaseBuffer(self)returns the number of data currently in the buffer |
getOffsetInBaseBuffer(self)returns the offset to access elements in the buffer (overwrites method from TimeSeriesBaseDataset) |
needsRearrangement(self, num_new_data=0)returns True if the buffer will be full after num_new_data have been appended |
updateIdOfLastUnreferencedDatum(self, last_unreferenced_datum)updates the identification number of the last unused datum (overwrites TimeSeriesBaseDataset method) |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Apr 27 11:16:26 2006 | http://epydoc.sf.net |