ca.nengo.util
Interface TimeSeries

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable
All Known Subinterfaces:
TimeSeries1D
All Known Implementing Classes:
TimeSeries1DImpl, TimeSeriesImpl

public interface TimeSeries
extends java.io.Serializable, java.lang.Cloneable

A series of vector values at ordered points in time.

Author:
Bryan Tripp

Method Summary
 TimeSeries clone()
           
 int getDimension()
           
 java.lang.String[] getLabels()
           
 java.lang.String getName()
           
 float[] getTimes()
           
 Units[] getUnits()
           
 float[][] getValues()
           
 

Method Detail

getName

java.lang.String getName()
Returns:
Name of the TimeSeries

getTimes

float[] getTimes()
Returns:
Times for which values are available

getDimension

int getDimension()
Returns:
dimension of vector values

getValues

float[][] getValues()
Returns:
Values at getTimes(). Each value is a vector of size getDimension()

getUnits

Units[] getUnits()
Returns:
Units in which values in each dimension are expressed (length equals getDimension())

getLabels

java.lang.String[] getLabels()
Returns:
Name of each series (numbered by default)

clone

TimeSeries clone()
                 throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException