summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <wjp@usecode.org>2016-04-25 11:53:56 +0200
committerWillem Jan Palenstijn <wjp@usecode.org>2016-04-25 11:53:56 +0200
commitaa89da16f3a031a6ec19b6b19df64e681468f2d6 (patch)
treeda3ce57b14dd1601fe60755bdd4749a8b67c05f4 /python
parent3afc1cf2bfd03255390d4a8862dfe8d9a7086a9f (diff)
parenta33b2a0e4e0663145fb0d4d67a9145948f90341a (diff)
downloadastra-aa89da16f3a031a6ec19b6b19df64e681468f2d6.tar.gz
astra-aa89da16f3a031a6ec19b6b19df64e681468f2d6.tar.bz2
astra-aa89da16f3a031a6ec19b6b19df64e681468f2d6.tar.xz
astra-aa89da16f3a031a6ec19b6b19df64e681468f2d6.zip
Merge pull request #50 from wjp/data3d_dimensions
Reverse output of astra.data3d.dimensions
Diffstat (limited to 'python')
-rw-r--r--python/astra/data3d_c.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/astra/data3d_c.pyx b/python/astra/data3d_c.pyx
index 207d9a5..811d1e4 100644
--- a/python/astra/data3d_c.pyx
+++ b/python/astra/data3d_c.pyx
@@ -264,7 +264,7 @@ def store(i,data):
def dimensions(i):
cdef CFloat32Data3D * pDataObject = getObject(i)
- return (pDataObject.getWidth(),pDataObject.getHeight(),pDataObject.getDepth())
+ return (pDataObject.getDepth(),pDataObject.getHeight(),pDataObject.getWidth())
def delete(ids):
try: