ó
Ê½÷Xc           @` s  d  Z  d d l m Z m Z m Z d g Z d d l m Z e d k rV e
 d ƒ ‚ n  d d l m Z d d l Z d Z d d l Td d	 l m Z m Z d d
 l m Z m Z d d l Te e j 7Z e d d d d g 7Z [ [ e j d ƒ y e Wn e k
 re Z n Xe r8d d l Z e j j d ƒ [ nâ y d d l m Z Wn# e
 k
 rqd Z  e
 e  ƒ ‚ n Xd d l! m" Z d d l# m$ Z% e% e ƒ d k  rÇd d l& Z& e& j' d e e( ƒ n  [% d d l) m* Z* d d l+ m, Z, d „  Z- e, ƒ  e- _. e- j. j- j  e- _  e e- _/ d S(   s“  
SciPy: A scientific computing package for Python
================================================

Documentation is available in the docstrings and
online at https://docs.scipy.org.

Contents
--------
SciPy imports all the functions from the NumPy namespace, and in
addition provides:

Subpackages
-----------
Using any of these subpackages requires an explicit import.  For example,
``import scipy.cluster``.

::

 cluster                      --- Vector Quantization / Kmeans
 fftpack                      --- Discrete Fourier Transform algorithms
 integrate                    --- Integration routines
 interpolate                  --- Interpolation Tools
 io                           --- Data input and output
 linalg                       --- Linear algebra routines
 linalg.blas                  --- Wrappers to BLAS library
 linalg.lapack                --- Wrappers to LAPACK library
 misc                         --- Various utilities that don't have
                                  another home.
 ndimage                      --- n-dimensional image package
 odr                          --- Orthogonal Distance Regression
 optimize                     --- Optimization Tools
 signal                       --- Signal Processing Tools
 sparse                       --- Sparse Matrices
 sparse.linalg                --- Sparse Linear Algebra
 sparse.linalg.dsolve         --- Linear Solvers
 sparse.linalg.dsolve.umfpack --- :Interface to the UMFPACK library:
                                  Conjugate Gradient Method (LOBPCG)
 sparse.linalg.eigen          --- Sparse Eigenvalue Solvers
 sparse.linalg.eigen.lobpcg   --- Locally Optimal Block Preconditioned
                                  Conjugate Gradient Method (LOBPCG)
 spatial                      --- Spatial data structures and algorithms
 special                      --- Special functions
 stats                        --- Statistical Functions

Utility tools
-------------
::

 test              --- Run scipy unittests
 show_config       --- Show scipy build configuration
 show_numpy_config --- Show numpy build configuration
 __version__       --- Scipy version string
 __numpy_version__ --- Numpy version string

i    (   t   divisiont   print_functiont   absolute_importt   test(   t   show_configs=   Cannot import scipy when running from numpy source directory.(   t   __version__N(   t   *(   t   randt   randn(   t   fftt   ifftR   R   R	   R
   t   linalgs%   Running from scipy source directory.
(   t   shows³   Error importing scipy: you cannot import scipy while
        being in scipy source directory; please exit the scipy source
        tree first, and relaunch your python intepreter.(   t   version(   t   NumpyVersions   1.8.2sS   Numpy 1.8.2 or above is recommended for this version of scipy (detected version %s)(   t   LowLevelCallable(   t   Testerc          O` s‘   d d  l  } d d g } | j j | j j t ƒ ƒ } g  | D] } | j j | | ƒ ^ q= } t | j d g  ƒ ƒ | | d <t j	 j |  | Ž  S(   Ni    t   _libt   _build_utilst
   extra_argv(
   t   ost   patht   abspatht   dirnamet   __file__t   joint   listt   getR   t   _tester(   t   at   kwR   t   underscore_modulest   base_dirt   namet   underscore_paths(    (    s-   /tmp/pip-build-7oUkmx/scipy/scipy/__init__.pyR   v   s    ( (0   t   __doc__t
   __future__R    R   R   t   __all__t   numpyR   t   show_numpy_configt   Nonet   ImportErrorR   t   __numpy_version__t   _numR   t   numpy.randomR   R   t	   numpy.fftR	   R
   t   numpy.lib.scimatht   removet   __SCIPY_SETUP__t	   NameErrort   Falset   syst   _syst   stderrt   writet   scipy.__config__R   t   msgt   scipy.versionR   t   scipy._lib._versionR   t   _NumpyVersiont   warningst   warnt   UserWarningt   scipy._lib._ccallbackR   t   numpy.testingR   R   R   t   __test__(    (    (    s-   /tmp/pip-build-7oUkmx/scipy/scipy/__init__.pyt   <module>8   sX   	


	
	