diff python/moving.py @ 30:418b41056e6c

after merge
author Nicolas Saunier <nico@confins.net>
date Sat, 13 Feb 2010 18:51:22 -0500
parents 9ae709a2e8d0
children 0d321c23d337
line wrap: on
line diff
--- 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