Tutorial#

Note

most of the docstrings provided in this tutorial are tested with doctest and should work out of the box. However, you will need to import relevant modules. For instance:

>>> from openalea.stat_tool import *
>>> from pylab import savefig

Object types#

There are several types of object in the the stat_tool module, which are associated with an ASCII format as well as a set of methods. A full description of each of those objects and their methods are available in the Reference Guide.

In this tutorial we will show how to use some of them ( Histogram(), Convolution(), and Vectors()) together with their methods.

Because many methods are common to those different objects, this tutorial should be sufficient to allow you to declare and manipulate other objects such as Compound(), Distribution() and VectorDistance().