U
    Gvf                     @   s  d Z ddlmZ edkr edddlmZ ddlmZ ddlZ	dZ
ddlZe	jD ]VZed	rbqRee	eZeeejrzqReereeesee
eeZee e< qR[	[dd
lmZmZ dZ
ee
deZee
deZddlmZ edeZddlmZ dZ
ejD ]6ZeeeZeer>ee
eeZee e< q[[
[[[ze W n e k
rx   dZY nX erddl!Z!e!j"#d [!nrzddl$m%Z W n2 ek
r Z& zdZ'ee'e&W 5 dZ&[&X Y nX ddl(m)Z ddl*m+Z+ [+ddl,m-Z- dZ.dZ/e-0ee-1e.k s8e-0ee-1e/kr`ddl2Z2e23de. de/ de de4 [-zddl5m6Z6 W n2 ek
r Z& zd Z'ee'e&W 5 dZ&[&X Y nX dd!l7m8Z8 e8e9Z:[8d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2gZ;e;d3d4d5d6d7g Zd8d9 Z<ddl=Z>d:d; Z?dS )<a(	  
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
 datasets                     --- Dataset methods
 fft                          --- Discrete Fourier transforms
 fftpack                      --- Legacy discrete Fourier transforms
 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-D image package
 odr                          --- Orthogonal Distance Regression
 optimize                     --- Optimization Tools
 signal                       --- Signal Processing Tools
 signal.windows               --- Window functions
 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

    )show_configNz=Cannot import SciPy when running from NumPy source directory.)__version__   )_deprecatedzQscipy.{0} is deprecated and will be removed in SciPy 2.0.0, use numpy.{0} instead_)randrandnzXscipy.{0} is deprecated and will be removed in SciPy 2.0.0, use numpy.random.{0} insteadr   r   )ifftzWscipy.ifft is deprecated and will be removed in SciPy 2.0.0, use scipy.fft.ifft instead)scimathz]scipy.{0} is deprecated and will be removed in SciPy 2.0.0, use numpy.lib.scimath.{0} insteadFz%Running from SciPy source directory.
)showzError importing SciPy: you cannot import SciPy while
        being in scipy source directory; please exit the SciPy source
        tree first and relaunch your Python interpreter.)version)_distributor_init)_pep440z1.19.5z1.27.0zA NumPy version >=z and <z9 is required for this version of SciPy (detected version ))LowLevelCallablezvThe `scipy` install you are using seems to be broken, (extension modules cannot be imported), please try reinstalling.)PytestTesterZclusterZdatasetsZfftZfftpackZ	integrateZinterpolateioZlinalgmiscZndimageZodroptimizesignalsparseZspatialspecialstatsr   testr   r   __numpy_version__c                   C   s   t S )N)__all__ r   r   2/tmp/pip-unpacked-wheel-96ln3f52/scipy/__init__.py__dir__   s    r   c                 C   sN   | t krtd|  S zt |  W S  tk
rH   td|  dY nX d S )Nzscipy.z!Module 'scipy' has no attribute '')
submodules
_importlibimport_moduleglobalsKeyErrorAttributeError)namer   r   r   __getattr__   s    
r'   )@__doc__Znumpyr   Zshow_numpy_configImportErrorr   r   Z_lib.deprecationr   np_msgtypes_typesr   _key
startswithgetattrZ_fun
isinstance
ModuleTypecallabletypeformatr#   Znumpy.randomr   r   Z	numpy.fftr	   Z	numpy.libr
   Z__SCIPY_SETUP__	NameErrorsysstderrwriteZscipy.__config__r   emsgZscipy.versionr    r   Z
scipy._libr   Znp_minversionZnp_maxversionparseVersionwarningswarnUserWarningZscipy._lib._ccallbackr   Zscipy._lib._testutilsr   __name__r   r    r   	importlibr!   r'   r   r   r   r   <module>   s   <






