summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Wrappers/Python/ccpi/io/reader.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/Wrappers/Python/ccpi/io/reader.py b/Wrappers/Python/ccpi/io/reader.py
index 4f7e288..ca5b380 100644
--- a/Wrappers/Python/ccpi/io/reader.py
+++ b/Wrappers/Python/ccpi/io/reader.py
@@ -166,13 +166,9 @@ class NexusReader(object):
This method load the acquisition data and given dimension and returns an AcquisitionData Object
'''
data = self.loadProjection(dimensions)
- return AcquisitionData(data)
+ geometry = AcquisitionGeometry('parallel', '3D', self.getProjectionAngles())
+ return AcquisitionData(data, geometry=geometry)
- def getAcquisitionGeometry(self, dimensions=None):
- '''
- This method creates the acquisition geometry from a given dimension and return the created object
- '''
- return AcquisitionGeometry('parallel', '3D', self.getProjectionAngles())
class XTEKReader(object):
'''
@@ -292,10 +288,5 @@ class XTEKReader(object):
This method load the acquisition data and given dimension and returns an AcquisitionData Object
'''
data = self.loadProjection(dimensions)
- return AcquisitionData(data)
+ return AcquisitionData(data, geometry=self.geometry)
- def getAcquisitionGeometry(self, dimensions=None):
- '''
- This method creates the acquisition geometry from a given dimension and return the created object
- '''
- return self.geometry \ No newline at end of file