
    xf              	          d Z ddlmZ e 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 ]i  Zej                  d	      r ee	e      Z eeej&                        r2 ee      r& eee      s  ee
j-                  e            e      Ze e       e<   k [	[dd
lmZmZ dZ
  ee
j-                  d            e      Z  ee
j-                  d            e      ZddlmZ   ed      e      ZddlmZ dZ
ej                  D ]:  Z eee      Z ee      r  ee
j-                  e            e      Ze e       e<   < [[
[[[	 e er!ddl!Z!e!jD                  jG                  d       [!y	 ddl$m%Z ddl(m)Z ddl*m+Z+ [+ddl,m-Z- dZ.dZ/ e-j`                  e       e-jb                  e.      k  s% e-j`                  e       e-jb                  e/      k\  r!ddl2Z2 e2jf                  de. de/ de de4       [-	 ddl5m6Z6 dd!l7m8Z8  e8e9      Z:[8g d"Z;e;g d#z   Zd$ Z<ddl=Z>d% Z?y# e $ r dZY w xY w# e$ rZ&dZ' ee'      e&dZ&[&ww xY w# e$ rZ&d Z' ee'      e&dZ&[&ww xY w)&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
 constants                    --- Physical and mathematical constants and units
 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
 misc                         --- Utilities that don't have another home.
 ndimage                      --- N-D image package
 odr                          --- Orthogonal Distance Regression
 optimize                     --- Optimization Tools
 signal                       --- Signal Processing Tools
 sparse                       --- Sparse Matrices
 spatial                      --- Spatial data structures and algorithms
 special                      --- Special functions
 stats                        --- Statistical Functions

Public API in the main SciPy namespace
--------------------------------------
::

 __version__       --- SciPy version string
 LowLevelCallable  --- Low-level callback function
 show_config       --- Show scipy build configuration
 test              --- Run scipy unittests

    )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.21.6z1.28.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.)PytestTester)cluster	constantsdatasetsfftfftpack	integrateinterpolateiolinalgmiscndimageodroptimizesignalsparsespatialspecialstats)r   testr   r   c                      t         S )N)__all__     0/usr/lib/python3/dist-packages/scipy/__init__.py__dir__r+      s    r)   c                     | t         v rt        j                  d|        S 	 t               |    S # t        $ r t        d|  d      w xY w)Nzscipy.z!Module 'scipy' has no attribute '')
submodules
_importlibimport_moduleglobalsKeyErrorAttributeError)names    r*   __getattr__r5      sZ    :++fTFO<<y& $7vQ? s	   / A)@__doc__numpyr   show_numpy_configImportErrorr   __numpy_version___lib.deprecationr   np_msgtypes_typesr'   _key
startswithgetattr_fun
isinstance
ModuleTypecallabletypeformatr1   numpy.randomr   r	   	numpy.fftr
   	numpy.libr   __SCIPY_SETUP__	NameErrorsysstderrwritescipy.__config__r   emsgscipy.versionr    r   
scipy._libr   np_minversionnp_maxversionparseVersionwarningswarnUserWarningscipy._lib._ccallbackr   scipy._lib._testutilsr   __name__r%   r.   r+   	importlibr/   r5   r(   r)   r*   <module>rb      s  /b 3
GI I 2 * 	  JJ Ds2tD$))*~jt4-{4;;t,-d3GIdO  $	''{4;;v&'-)DKK()%0 8{ 7 88<> 	,OO D7D!D~-{4;;t,-d3GIdO	
 $k
 JJ=>&8 5 $" MM'(?7??=+IIGMM+,0NN*=/!!2 316 "	# 	&: 3!DJ*   G #	m  O  &< #A%	&@  &) #A%	&sB   H- 8H: I -H76H7:I?I

II'I""I'