o
    5ήc                  
   @   s  d Z ddlZejdkrdZe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rAq9eeeZeeejrMq9eer_eees_eeeeZee e< q9[[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Z0dZ1e/2e
e/3e0k s!e/2e
e/3e1kr4ddl4Z4e45de0 de1 de
 e6 [/zdd l7m8Z8 W n eyQ Z( zd!Z)ee)e(dZ([(ww dd"l9m:Z: e:e;Z<[:g d#Z=e=g d$ Zd%d& Z>ddl?Z@d'd( ZAd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
 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

    N)      zYour Python version is too new. SciPy 1.9 supports Python 3.8-3.11; if you are trying to build from source for the most recent SciPy version you may hit this error as well. Please build from the `main` branch on GitHub instead.)show_configz=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.18.5z1.26.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fftfftpack	integrateinterpolateiolinalgmiscndimageodroptimizesignalsparsespatialspecialstats)r   testr   r   __numpy_version__c                   C   s   t S )N)__all__ r&   r&   5/tmp/pip-target-vg8gfxp4/lib/python/scipy/__init__.py__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   
r1   )B__doc__sysversion_info_msgRuntimeErrornumpyr   show_numpy_configImportErrorr   r$   _lib.deprecationr   nptypes_typesr%   _key
startswithgetattr_fun
isinstance
ModuleTypecallabletypeformatr-   numpy.randomr	   r
   	numpy.fftr   	numpy.libr   __SCIPY_SETUP__	NameError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+   r1   r&   r&   r&   r'   <module>   s    >







