Commit 254bb9b3 authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

[core][dataset] Use attribute transformation instead of magnification

parent a55d83d5
......@@ -26,7 +26,7 @@
__authors__ = ["J. Garriga"]
__license__ = "MIT"
__date__ = "01/06/2021"
__date__ = "04/06/2021"
import copy
import glob
......@@ -110,7 +110,7 @@ class Dataset():
self.running_data = None
self.moments_dims = {}
self.operations_state = numpy.zeros(len(Operation))
self._magnification = None
self._transformation = None
if not os.path.isdir(self.dir + "/" + treated):
try:
os.mkdir(self.dir + "/" + treated)
......@@ -165,12 +165,12 @@ class Dataset():
self.running_data.stop_operation(operation)
@property
def magnification(self):
return self._magnification
def transformation(self):
return self._transformation
@magnification.setter
def magnification(self, value):
self._magnification = value
@transformation.setter
def transformation(self, value):
self._transformation = value
@property
def dir(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