Commit d77f45fe authored by theos's avatar theos

Modified naming of vol to volume_total

parent 76de9882
......@@ -321,13 +321,14 @@ class Space(object):
return dof
@property
def vol(self):
collapsed_distances = [np.sum(x) for x in self.distances]
return reduce(lambda x, y: x * y, collapsed_distances)
def volume_total(self):
raise NotImplementedError(about._errors.cstring(
"ERROR: There is no generic volume for the Space base class."))
@property
def vol_split(self):
return self.distances
def volume_pixel(self):
raise NotImplementedError(about._errors.cstring(
"ERROR: There is no generic volume for the Space base class."))
@property
def meta_volume(self):
......
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