Skip to content

Commit

Permalink
Merge pull request #194 from mvdoc/fix/oblique
Browse files Browse the repository at this point in the history
FIX _is_oblique
  • Loading branch information
effigies authored Mar 27, 2024
2 parents 72058d2 + 2eec8d9 commit 0027d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nitransforms/io/afni.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def _is_oblique(affine, thres=OBLIQUITY_THRESHOLD_DEG):
True
"""
return (obliquity(affine).min() * 180 / pi) > thres
return (obliquity(affine).max() * 180 / pi) > thres


def _afni_deobliqued_grid(oblique, shape):
Expand Down

0 comments on commit 0027d1b

Please sign in to comment.