Commit a49e4aa3 authored by MoritzThomasHuebner's avatar MoritzThomasHuebner

Made `prior_volume` static

parent b8cd79e1
......@@ -221,7 +221,8 @@ class Result(dict):
return 1 / np.sqrt(np.abs(np.linalg.det(
1 / self.covariance_matrix)))
def prior_volume(self, priors):
@staticmethod
def prior_volume(priors):
""" The prior volume, given a set of priors """
return np.prod([priors[k].maximum - priors[k].minimum for k in priors])
......
Markdown is supported
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