a
    «ˆ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 ]VZe d¡r‚qreeeƒZeeejƒršqreeƒr¾eeeƒs¾e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< �q4[![[[[ze" W n e#�y–   dZ"Y n0 e"�r¸ddlZej$ %d¡ [�nPzddl&m'Z W n4 e�yü Z( zdZ)ee)ƒe(‚W Y dZ([(n
dZ([(0 0 ddl*m+Z	 ddl,m-Z- [-ddl.m/Z/ dZ0dZ1e/ 2e
¡e/ 3e0¡k �sXe/ 2e
¡e/ 3e1¡k�r~ddl4Z4e4 5de0› de1› de
› �e6¡ [/zdd l7m8Z8 W n4 e�yÄ Z( zd!Z)ee)ƒe(‚W Y dZ([(n
dZ([(0 0 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)é   é   zãYour 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.
)Úshowz³Error 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)ZclusterZfftZfftpackZ	integrateZinterpolateÚioZlinalgÚmiscZndimageZodrÚoptimizeÚsignalÚsparseZspatialZspecialÚstats)r   Útestr   r   Ú__numpy_version__c                   C   s   t S )N)Ú__all__© r   r   úQ/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/scipy/__init__.pyÚ__dir__Ì   s    r   c                 C   sL   | t v rt d| › �¡S ztƒ |  W S  tyF   td| › d�ƒ‚Y n0 d S )Nzscipy.z!Module 'scipy' has no attribute 'ú')Ú
submodulesÚ
_importlibÚimport_moduleÚglobalsÚKeyErrorÚAttributeError)Únamer   r   r   Ú__getattr__Ñ   s    
ÿr'   )BÚ__doc__ÚsysÚversion_infoÚ_msgÚRuntimeErrorÚnumpyr   Zshow_numpy_configÚImportErrorr   r   Z_lib.deprecationr   ÚnpÚ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Ú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¨   >
ÿ


ÿ



 ÿþý 