Tellurium Plugins
Python Wrapper for Tellurium Plugins
 All Data Structures Functions Properties Groups Pages
Public Member Functions | Properties
DataSeries Class Reference

DataSeries class for handling roadrunner data types. More...

Inheritance diagram for DataSeries:

Public Member Functions

def __init__
 Constructor for DataSeries class. More...
 
def fromNumPy
 
def __del__
 
def getColumnHeaders
 Retrieve the column headers as a list. More...
 
def getElement
 Get a specific element from a dataseries. More...
 
def setElement
 Set a specific element. More...
 
def getWeight
 Get the weight for a specific data element. More...
 
def setWeight
 Set a specific element. More...
 
def readDataSeries
 Read a dataseries from a file. More...
 
def writeDataSeries
 Write a dataseries to a file. More...
 
def plot
 Plot a dataseries as a graph. More...
 
def plotBifurcationDiagram
 Plot a dataseries using Bifurcation additional data as input. More...
 

Properties

 data = property(__getHandle)
 
 toNumpy = property(__toNumpy)
 Return a numpy array from a data series. More...
 
 rows = property(__getNumberOfRows)
 Return the number of rows in the data series. More...
 
 cols = property(__getNumberOfColumns)
 Return the number of columns in the data series. More...
 

Detailed Description

DataSeries class for handling roadrunner data types.

Constructor & Destructor Documentation

def __init__ (   self,
  handle = None,
  myData = False 
)

Constructor for DataSeries class.

1 d = DataSeries()
2 d = DataSeries (rr)

Member Function Documentation

def getColumnHeaders (   self)

Retrieve the column headers as a list.

1 print d.getColumnHeaders()
def getElement (   self,
  row,
  col 
)

Get a specific element from a dataseries.

1 print d.getElement (1,2)
def getWeight (   self,
  row,
  col 
)

Get the weight for a specific data element.

1 print d.getWeight (1,2)
def plot (   self)

Plot a dataseries as a graph.

1 d.plot()
def plotBifurcationDiagram (   self,
  bfPoints,
  bfLabels 
)

Plot a dataseries using Bifurcation additional data as input.

1 d.plot()
def readDataSeries (   cls,
  fileName 
)

Read a dataseries from a file.

1 d.readDataSeries ("myDataSeries.txt")
def setElement (   self,
  row,
  col,
  value 
)

Set a specific element.

1 d.setElement (1,2, 3.1415)
def setWeight (   self,
  row,
  col,
  value 
)

Set a specific element.

1 d.setElement (1,2, 3.1415)
def writeDataSeries (   self,
  fileName 
)

Write a dataseries to a file.

1 d.writeDataSeries ("myDataSeries.txt")

Property Documentation

cols = property(__getNumberOfColumns)
static

Return the number of columns in the data series.

1 print d.cols
rows = property(__getNumberOfRows)
static

Return the number of rows in the data series.

1 print d.rows
toNumpy = property(__toNumpy)
static

Return a numpy array from a data series.

1 myarray = d.toNumpy

The documentation for this class was generated from the following file: