From ff6cfdf3a8c2ee41de6b19c40ce80b6253cc7c9f Mon Sep 17 00:00:00 2001 From: Oscar Esteban Date: Tue, 18 Apr 2023 11:23:39 +0200 Subject: [PATCH] Update sdcflows/transform.py Co-authored-by: Chris Markiewicz --- sdcflows/transform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdcflows/transform.py b/sdcflows/transform.py index 6b649013bc..2c132258f5 100644 --- a/sdcflows/transform.py +++ b/sdcflows/transform.py @@ -88,7 +88,7 @@ def fit(self, target_reference, affine=None, approx=True): # Project the reference's grid onto the fieldmap's target_reference = target_reference.__class__( target_reference.dataobj, - affine @ target_affine.T, + affine @ target_affine, target_reference.header, )