Added get and set attributes to the mode class

... so that we can deal with the parameters in a Neil friendly way.
This commit is contained in:
James Hensman 2012-12-07 15:39:47 -08:00
parent 50029ca4a7
commit 4fb28dcbd4
3 changed files with 27 additions and 2 deletions

View file

@ -29,7 +29,7 @@ def truncate_pad(string,width,align='m'):
else:
raise ValueError
class parameterised:
class parameterised(object):
def __init__(self):
"""
This is the base class for model and kernel. Mostly just handles tieing and constraining of parameters