From a31719c5be879700cc155e6b67ea3ea609a14709 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauld.mccarthy@gmail.com> Date: Fri, 17 Mar 2017 13:43:10 +0000 Subject: [PATCH] Warning in isNeurological docs --- fsl/data/image.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fsl/data/image.py b/fsl/data/image.py index ea537f80c..34e4aec45 100644 --- a/fsl/data/image.py +++ b/fsl/data/image.py @@ -493,6 +493,12 @@ class Nifti(notifier.Notifier): be in neurological orientation, otherwise it is assumed to be in radiological orientation. + ..warning:: This method will return ``True`` for images with an + unknown orientation (e.g. the ``sform_code`` and + ``qform_code`` are both set to ``0``). Therefore, you + must check the orientation via the :meth:`getXFormCode` + before trusting the result of this method. + See http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FLIRT/FAQ#What_is_the\ _format_of_the_matrix_used_by_FLIRT.2C_and_how_does_it_relate_to\ _the_transformation_parameters.3F -- GitLab