Skip to content
Snippets Groups Projects
Commit 271b6193 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

No, the ImageWrapper.coverage method does not return uint32 - uncovered

regions are specified with nan (which can't be represented as uint32).
parent dbeda417
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment