File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 14
14
* ``img.shape`` (shape of data as read with ``np.array(img.dataobj)``
15
15
* ``img.get_fdata()`` (returns floating point data as read with
16
16
``np.array(img.dataobj)`` and the cast to float);
17
- * ``img.uncache()`` (``img.get_fdata()`` and ``img.get_data()`` (deprecated) are
18
- allowed to cache the result of the array creation. If they do, this call empties
19
- that cache. Implement this as a no-op if ``get_fdata()``, ``get_data`` do not
20
- cache.
17
+ * ``img.uncache()`` (``img.get_fdata()`` (recommended) and ``img.get_data()``
18
+ (deprecated) are allowed to cache the result of the array creation. If they
19
+ do, this call empties that cache. Implement this as a no-op if
20
+ ``get_fdata()``, ``get_data()`` do not cache.)
21
21
* ``img[something]`` generates an informative TypeError
22
22
* ``img.in_memory`` is True for an array image, and for a proxy image that is
23
23
cached, but False otherwise.
You can’t perform that action at this time.
0 commit comments