Package topo :: Package misc :: Module traces
[hide private]
[frames] | no frames]

Module traces

source code

Object classes for recording and plotting time-series data.

This module defines a set of DataRecorder object types for recording time-series data, a set of Trace object types for specifying ways of generating 1D-vs-time traces from recorded data, and a TraceGroup object that will plot a set of traces on stacked, aligned axes.

$Id: traces.py 7967 2008-02-15 17:38:10Z jbednar $




Version: $Revision: 7967 $

Classes [hide private]
  DataRecorder
Record time-series data from a simulation.
  InMemoryRecorder
A data recorder that stores all recorded data in memory.
  Trace
A specification for generating 1D traces of data from recorded timeseries.
  IdentityTrace
A Trace that returns the data, unmodified.
  IndexTrace
A Trace that assumes that each data item is a sequence that can be indexed with a single integer, and traces the value of one indexed element.
  SheetPositionTrace
A trace that assumes that the data are sheet activity matrices, and traces the value of a given (x,y) position on the sheet.
  TraceGroup
A group of data traces to be plotted together.
  ActivityMovie
An object encapsulating a series of movie frames displaying the value of one or more matrix-valued time-series contained in a DataRecorder object.
Functions [hide private]
 
get_images(name, times, recorder, overlays=(0, 0, 0))
Get a time-sequence of matrix data from a DataRecorder variable and convert it to a sequence of images stored in Bitmap objects.
source code
Function Details [hide private]

get_images(name, times, recorder, overlays=(0, 0, 0))

source code 

Get a time-sequence of matrix data from a DataRecorder variable and convert it to a sequence of images stored in Bitmap objects.

Parameters: name is the name of the variable to be queried. times is a sequence of timepoints at which to query the variable. recorder is the data recorder. overlays is a tuple of matrices or scalars to be added to the red, green, and blue channels of the bitmaps respectively.