SciPy
![]() | |
![]() PSD of ECG using SciPy | |
Original author(s) | Travis Oliphant,Pearu Peterson, Eric Jones |
---|---|
Developer(s) | Community library project |
Initial release | Around 2001 |
Stable release | 1.11.1
/ 28 June 2023 |
Repository | |
Written in | Python,Fortran,C,C++[1] |
Operating system | Cross-platform |
Type | Technical computing |
License | BSD-new license |
Website | scipy![]() |
SciPy(pronounced/ˈsaɪpaɪ/"sigh pie"[2]) is afree and open-sourcePythonlibrary used forscientific computingand technical computing.[3]
SciPy contains modules foroptimization,linear algebra,integration,interpolation,special functions,FFT,signalandimage processing,ODEsolvers and other tasks common in science and engineering.
SciPy is also a family of conferences for users and developers of these tools: SciPy (in the United States), EuroSciPy (in Europe) and SciPy.in (in India).[4]Enthoughtoriginated the SciPy conference in the United States and continues to sponsor many of the international conferences as well as host the SciPy website.
The SciPy library is currently distributed under theBSD license,and its development is sponsored and supported by an open community of developers. It is also supported byNumFOCUS,a community foundation for supporting reproducible and accessible science.
Components
[edit]The SciPy package is at the core of Python's scientific computing capabilities. Available sub-packages include:
- cluster:hierarchical clustering,vector quantization,K-means
- constants:physical constantsand conversion factors
- fft:Discrete Fourier Transformalgorithms
- fftpack:Legacy interface for Discrete Fourier Transforms
- integrate:numerical integrationroutines
- interpolate:interpolation tools
- io:data input and output
- linalg:linear algebra routines
- misc:miscellaneous utilities (e.g. example images)
- ndimage:various functions for multi-dimensionalimage processing
- ODR:orthogonal distance regressionclasses and algorithms
- optimize:optimization algorithms includinglinear programming
- signal:signal processingtools
- sparse:sparse matricesand related algorithms
- spatial:algorithms for spatial structures such ask-d trees,nearest neighbors,convex hulls,etc.
- special:special functions
- stats:statisticalfunctions
- weave:tool for writingC/C++code as Python multiline strings (now deprecated in favor ofCython[5])
![](https://upload.wikimedia.org/wikipedia/commons/thumb/5/54/Scipy_source.png/220px-Scipy_source.png)
Data structures
[edit]The basic data structure used by SciPy is a multidimensionalarrayprovided by theNumPymodule. NumPy provides some functions for linear algebra,Fourier transforms,andrandom number generation,but not with the generality of the equivalent functions in SciPy. NumPy can also be used as an efficient multidimensional container of data with arbitrarydatatypes.This allows NumPy to seamlessly and speedily integrate with a wide variety ofdatabases.Older versions of SciPy used Numeric as an array type, which is now deprecated in favor of the newer NumPy array code.[6]
History
[edit]In the 1990s, Python was extended to include an array type for numerical computing called Numeric. (This package was eventually replaced byNumPy,which was written byTravis Oliphantin 2006 as a blending of Numeric and Numarray, with Numarray itself being started in 2001.) As of 2000, there was a growing number of extension modules and increasing interest in creating a complete environment for scientific and technical computing. In 2001, Travis Oliphant, Eric Jones, and Pearu Peterson merged code they had written and called the resulting package SciPy. The newly created package provided a standard collection of common numerical operations on top of the Numeric array data structure. Shortly thereafter, Fernando Pérez releasedIPython,an enhanced interactive shell widely used in the technical computing community, and John Hunter released the first version ofMatplotlib,the 2D plotting library for technical computing. Since then the SciPy environment has continued to grow with more packages and tools fortechnical computing.[7][8][9]
Scientific Python versus ScientificPython
[edit]In the scientific literature, SciPy is occasionally referred to as "Scientific Python (SciPy)". This is incorrect: the official name of the project is just "SciPy".[citation needed]
Furthermore, expanding "SciPy" as "Scientific Python" may cause confusion with "ScientificPython", a project led byKonrad Hinsenof Orléans University that was active between 1995[10]and 2014.[11]
"Scientific Python" is also used for the related ecosystem of tools.[12][13]
See also
[edit]- Comparison of numerical-analysis software
- List of numerical-analysis software
- Comparison of statistical packages
- SageMath
- HiGHS optimization solver
Notes
[edit]- ^SciPy Team."How can SciPy be fast if it is written in an interpreted language like Python?".Retrieved2022-04-11.
- ^https://scipy.org/"SciPy (pronounced" Sigh Pie ")"
- ^Pauli Virtanen; Ralf Gommers;Travis E. Oliphant;et al. (3 February 2020)."SciPy 1.0: fundamental algorithms for scientific computing in Python"(PDF).Nature Methods.17(3): 261–272.arXiv:1907.10121.doi:10.1038/S41592-019-0686-2.ISSN1548-7091.PMC7056644.PMID32015543.WikidataQ84573952.
{{cite journal}}
:|author35=
has generic name (help)CS1 maint: numeric names: authors list (link)(erratum) - ^"Upcoming SciPy Conferences 2023".SciPy Conferences.RetrievedMay 11,2023.
- ^"SciPy 0.15.0 Release Notes — SciPy v1.6.2 Reference Guide".docs.scipy.org.Retrieved2021-04-13.
- ^"NumPy Homepage".
- ^"History of SciPy".
- ^"Guide to NumPy"(PDF).
- ^"Python for Scientists and Engineers".
- ^"ScientificPython".Retrieved2019-02-21.
- ^"SourceSup: ScientificPython: Project Home".sourcesup.renater.fr.Retrieved2019-02-21.
- ^"SciPy Proceedings".proceedings.scipy.org.Retrieved2024-08-22.
showcase their latest Scientific Python projects
- ^"SciPy 2024".cfp.scipy.org.Retrieved2024-08-22.
The Scientific Python community maintains a large ecosystem of tools and libraries that enable scientific research and development
Further reading
[edit]- Nunez-Iglesias, Juan; van der Walt, Stéfan; Dashnow, Harriet (2017).Elegant SciPy: The Art of Scientific Python.O'Reilly.ISBN978-1-4919-2287-3.