Skip to content

Commit 0027d1b

Browse files
authored
Merge pull request #194 from mvdoc/fix/oblique
FIX _is_oblique
2 parents 72058d2 + 2eec8d9 commit 0027d1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nitransforms/io/afni.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def _is_oblique(affine, thres=OBLIQUITY_THRESHOLD_DEG):
226226
True
227227
228228
"""
229-
return (obliquity(affine).min() * 180 / pi) > thres
229+
return (obliquity(affine).max() * 180 / pi) > thres
230230

231231

232232
def _afni_deobliqued_grid(oblique, shape):

0 commit comments

Comments
 (0)