diff --git a/fsl/data/imagewrapper.py b/fsl/data/imagewrapper.py index 54bc712898195eeb6dbec5ff60959b1219d8d4f9..2123a34d25acfade54c96853f5386ba6b52be78c 100644 --- a/fsl/data/imagewrapper.py +++ b/fsl/data/imagewrapper.py @@ -270,8 +270,11 @@ class ImageWrapper(notifier.Notifier): :returns: The coverage for the specified volume, as a ``numpy`` array of shape ``(nd, 2)``, where ``nd`` is the number of dimensions in the volume. + + .. note:: If the specified volume is not covered, the returned array + will contain ``np.nan`` values. """ - return np.array(self.__coverage[..., vol], dtype=np.uint32) + return np.array(self.__coverage[..., vol]) def loadData(self):