# HG changeset patch # User Nicolas Saunier # Date 1266105082 18000 # Node ID 418b41056e6c0d160004b1ad39756b2eda3a9d4b # Parent ca8e716cc231b6d9ed09b7b5e68270113df9a5f2 after merge diff -r ca8e716cc231 -r 418b41056e6c python/moving.py --- a/python/moving.py Sat Jan 30 21:43:07 2010 -0500 +++ b/python/moving.py Sat Feb 13 18:51:22 2010 -0500 @@ -258,8 +258,13 @@ # need for a class representing the indicators, their units, how to print them in graphs... class TemporalIndicator: '''Class for temporal indicators - i.e. indicators that take a value at specific instants''' - pass + i.e. indicators that take a value at specific instants + + it should have more information like name, unit''' + + def __init__(self, name, values = {}): + self.name = name + self.values = values if __name__ == "__main__": import doctest