summaryrefslogtreecommitdiff
path: root/numpy/numarray/nd_image.py
blob: 224d2ba23605d2a461ac4bdd9434b2873eb093b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from __future__ import division, absolute_import, print_function

try:
    from ndimage import *
except ImportError:
    try:
        from scipy.ndimage import *
    except ImportError:
        msg = \
"""The nd_image package is not installed

It can be downloaded by checking out the latest source from
http://svn.scipy.org/svn/scipy/trunk/Lib/ndimage or by downloading and
installing all of SciPy from http://www.scipy.org.
"""
        raise ImportError(msg)