o
    &&i                  
   @   s  d Z dd Ze  [ddlmZ edu 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 ]+Zedr9q1ee
eZeeejrEq1eerWeeesWe	eeeZee e< q1[
[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 ]ZeeeZeere	eeeZee e< q[[[[[	ze  W n e!y   dZ Y nw e rddl"Z"e"j#$d ["dS zddl%m&Z W n ey Z' zdZ(ee(e'dZ'['ww ddl)m*Z ddl+m,Z, [,ddl-m.Z. dZ/dZ0e.1ee.2e/k se.1ee.2e0kr-ddl3Z3e34de/ de0 de d e5 [.zdd!l6m7Z7 W n eyJ Z' zd"Z(ee(e'dZ'['ww dd#l8m9Z9 e9e:Z;[9g d$Z<e<g d% Zd&d' 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
 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

c                  C   sH   dd l } | j| j| jt| jd}| j|r"| | d S d S )N    z
scipy.libs)	ospathabspathjoindirname__file__pardirisdiradd_dll_directory)r   Zlibs_dir r   9C:\wamp64\www\opt\env\Lib\site-packages\scipy/__init__.py_delvewheel_init_patch_1_3_84   s
   "r   r   )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)Zcluster	constantsZdatasetsZfftZfftpackZ	integrateZinterpolateioZlinalgmiscZndimageZodroptimizesignalsparseZspatialZspecialstats)r   testr   r   c                   C   s   t S )N)__all__r   r   r   r   __dir__   s   r'   c                 C   sD   | t v rtd|  S zt |  W S  ty!   td|  dw )Nzscipy.z!Module 'scipy' has no attribute '')
submodules
_importlibimport_moduleglobalsKeyErrorAttributeError)namer   r   r   __getattr__   s   
r0   )A__doc__r   numpyr   Zshow_numpy_configImportErrorr   Z__numpy_version__Z_lib.deprecationr   npZ_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*   r0   r   r   r   r   <module>   s    3






