Merge branch 'mrd' into devel

This commit is contained in:
Max Zwiessele 2013-04-16 11:30:07 +01:00
commit 9b182eb3f8
8 changed files with 324 additions and 56 deletions

View file

@ -52,12 +52,14 @@ class kern(parameterised):
parameterised.__init__(self)
def plot_ARD(self, ax=pb.gca()):
def plot_ARD(self, ax=None):
"""
If an ARD kernel is present, it bar-plots the ARD parameters
"""
if ax is None:
ax = pb.gca()
for p in self.parts:
if hasattr(p, 'ARD') and p.ARD:
ax.set_title('ARD parameters, %s kernel' % p.name)