Commit f0405fb2 authored by Peters, Wouter's avatar Peters, Wouter
Browse files

modified the baseclasses to have simpler init functions, and new observation object

parent 3e3e50f5
......@@ -14,6 +14,9 @@ import sys
import logging
import datetime
identifier = 'Optimizer baseclass'
version = '0.0'
################### Begin Class Optimizer ###################
class Optimizer(object):
......@@ -24,7 +27,14 @@ class Optimizer(object):
and efficiency.
"""
def __init__(self, dims):
def __init__(self):
self.Identifier = identifier
self.Version = version
msg = '%s object initialized'%self.Identifier ; logging.debug(msg)
msg = '%s version: %s'%(self.Identifier,self.Version) ; logging.info(msg)
def Initialize(self, dims):
self.nlag = dims[0]
self.nmembers = dims[1]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment