From 343082efc58fdad6b1c52d83a7a89cf0cbdd6e7b Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Tue, 11 Feb 2025 12:24:33 +0000 Subject: [PATCH] BF: Mixed up affines --- fsl/data/image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fsl/data/image.py b/fsl/data/image.py index 354be148..4cd9d02a 100644 --- a/fsl/data/image.py +++ b/fsl/data/image.py @@ -472,8 +472,8 @@ class Nifti(notifier.Notifier, meta.Meta): voxToFSLMat = affine.concat(flip, voxToFSLMat) affines['voxel', 'voxel'] = np.eye(4) - affines['voxel', 'scaled'] = voxToFSLMat - affines['voxel', 'fsl'] = voxToScaledMat + affines['voxel', 'scaled'] = voxToScaledMat + affines['voxel', 'fsl'] = voxToFSLMat affines['voxel', 'world'] = voxToWorldMat affines['scaled', 'scaled'] = np.eye(4) -- GitLab