Files
scikit-image/skimage/util/__init__.py
T
Stefan van der Walt 132aa8bbd3 Add all_warnings context manager
The context manager searches for __warningregistry__ entries that
Python leaves all over the place, clearing them, thereby ensuring
that warnings will always be raised.  This is necessary for the test
suite to detect warnings even if they were raised before under
the "once" filter.
2014-04-27 02:08:33 +02:00

25 lines
656 B
Python

from .dtype import (img_as_float, img_as_int, img_as_uint, img_as_ubyte,
img_as_bool, dtype_limits)
from .shape import view_as_blocks, view_as_windows
from .noise import random_noise
from .arraypad import pad
from ._regular_grid import regular_grid
from .unique import unique_rows
from ._warnings import all_warnings
__all__ = ['img_as_float',
'img_as_int',
'img_as_uint',
'img_as_ubyte',
'img_as_bool',
'dtype_limits',
'view_as_blocks',
'view_as_windows',
'pad',
'random_noise',
'regular_grid',
'unique_rows']