Commit 14379866387ee97e354038cd20c88d622fe2ab45
1 parent
3e63cf17
updated amira output for structen SciPy functions
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
python/structen.py
@@ -226,7 +226,7 @@ def st2amira(filename, T): | @@ -226,7 +226,7 @@ def st2amira(filename, T): | ||
226 | A[..., 2] = T[..., 3] | 226 | A[..., 2] = T[..., 3] |
227 | 227 | ||
228 | #roll the tensor axis so that it is the leading component | 228 | #roll the tensor axis so that it is the leading component |
229 | - A = numpy.rollaxis(A, A.ndim - 1) | 229 | + #A = numpy.rollaxis(A, A.ndim - 1) |
230 | A.tofile(filename) | 230 | A.tofile(filename) |
231 | print("\n", A.shape) | 231 | print("\n", A.shape) |
232 | 232 |