Package esys :: Package escript :: Module timeseries
[hide private]
[frames] | no frames]

Module timeseries


Author: Lutz Gross, l.gross@uq.edu.au

Copyright: Copyright (c) 2003-2008 by University of Queensland Earth Systems Science Computational Center (ESSCC) http://www.uq.edu.au/esscc Primary Business: Queensland, Australia

License: Licensed under the Open Software License version 3.0 http://www.opensource.org/licenses/osl-3.0.php

Classes [hide private]
  Controler
Controls a set of TimeSeries.
  DataCatcher
Collects data into a time series.
  Exp
Computes exp(TimeSeries).
  Plotter
  Reader
Reads a list of input streams and creates a time series for each input stream but on the same Controler where the first column is used to create the time nodes.
  TimeSeries
Makes TimeSeriesBaseDataset look like a TimeSeries and introduces operations.
  TimeSeriesAdd
Adds two TimeSeries.
  TimeSeriesAddScalar
Adds a single value to a TimeSeries.
  TimeSeriesBase
The TimeSeriesBase class is the base class for all classes of the TimeSeries module.
  TimeSeriesBaseBuffer
An implementation of TimeSeriesBaseDataset which actually is storing data in a numarray buffer.
  TimeSeriesBaseDataset
Provides an interface for accessing a set of linearly ordered data.
  TimeSeriesControlerView
A TimeSeriesControlerView is attached to a Controler and moves forward in time by increasing the id of the last processed datum.
  TimeSeriesCumulativeSum
Cumulative sum of the time series values.
  TimeSeriesDiv
Divides two TimeSeries.
  TimeSeriesDivScalar
Divides a scalar by a TimeSeries.
  TimeSeriesFilter
A TimeSeriesFilter is a TimeSeries that is created through a TimeSeriesOperator.
  TimeSeriesMult
Multiplies two TimeSeries.
  TimeSeriesMultScalar
Multiplies a TimeSeries with a single (scalar) value.
  TimeSeriesOperator
A TimeSeriesOperator decribes an operation acting on a list of TimeSeries time_series_args.
  TimeSeriesPower
Raises one TimeSeries to the power of another TimeSeries.
  TimeSeriesPowerScalar
Raises a TimeSeries to the power of a scalar.
  TimeSeriesShift
Creates a shift of the time series, i.e.
  Writer
Writes the time series into an output stream ostream which must have the writeline method.
Functions [hide private]
 
differential(time_serie)
Calculates the derivative Dv of the time series v:
 
integral(time_serie)
Calculates the intagral Iv of the time series v using the trapezoidal rule:
 
leakySmooth(time_serie, l=0.99)
Leaky smoother:
 
smooth(time_serie, range=5)
Smoothes a time series using the previous and next range values at each time.
 
viewer(time_serie, seperator=',')
Creates a viewer for a time series.
Variables [hide private]
  DEFAULT_BUFFER_SIZE = 1000
  DEFAULT_FLOAT_TYPE = Float64
  __url__ = 'https://launchpad.net/escript-finley'
Function Details [hide private]

differential(time_serie)

 

Calculates the derivative Dv of the time series v:

Dv[n]=(v[n]-v[n-1])/(t[n]-t[n-1])

integral(time_serie)

 

Calculates the intagral Iv of the time series v using the trapezoidal rule:

Iv[n]=int_{t_0}^{t_n} v ~ sum_{0<i<=n} n (v[i]+v[i-1])/2*(t[i]-t[i-1])

leakySmooth(time_serie, l=0.99)

 

Leaky smoother:

s(t)=int_{t_0}^{t} v(r) l^{t-r} dr/ int_{t_0}^{t} l^{t-r} dr