请输入您要查询的百科知识:

 

词条 SciPy
释义

  1. Python Scientific Computing Environment

  2. The SciPy Library/Package

  3. Data structures

  4. History

  5. See also

  6. Notes

  7. Further reading

  8. External links

{{short description|Python library}}{{Distinguish|ScientificPython}}{{Infobox software
| name = SciPy
| logo = Scipylogo.png
| logo size = 200px
| screenshot = Psd scipy.png
| caption = PSD of ECG using SciPy
| author = Travis Oliphant, Pearu Peterson, Eric Jones
| developer = Community library project
| released = Around {{Start date|2001}}
| latest release version = 1.2.1
| latest release date = {{Start date and age|2019|2|9|df=yes}}[1]
| latest preview version = 1.2.0rc2
| latest preview date = {{start date and age|2018|12|05|df=yes}}[1]
| programming language = Python, Fortran, C, C++[2]
| operating system = Cross-platform
| genre = Technical computing
| license = BSD-new license
}}

SciPy (pronounced /ˈsaɪpaɪ'/ "Sigh Pie"[3]) is a free and open-source Python library used for scientific computing and technical computing.

SciPy contains modules for optimization, linear algebra, integration, interpolation, special functions, FFT, signal and image processing, ODE solvers and other tasks common in science and engineering.

SciPy builds on the NumPy array object and is part of the NumPy stack which includes tools like Matplotlib, pandas and SymPy, and an expanding set of scientific computing libraries. This NumPy stack has similar users to other applications such as MATLAB, GNU Octave, and Scilab. The NumPy stack is also sometimes referred to as the SciPy stack.[4]

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).[5] Enthought originated 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 the BSD license, and its development is sponsored and supported by an open community of developers. It is also supported by NumFOCUS, a community foundation for supporting reproducible and accessible science.

Python Scientific Computing Environment

A typical Python Scientific Computing Environment includes many dedicated software tools.

The SciPy Library/Package

The SciPy package of key algorithms and functions core to Python's scientific computing capabilities. Available sub-packages include:

  • constants: physical constants and conversion factors (since version 0.7.0[6])
  • cluster: hierarchical clustering, vector quantization, K-means
  • fftpack: Discrete Fourier Transform algorithms
  • integrate: numerical integration routines
  • interpolate: interpolation tools
  • io: data input and output
  • lib: Python wrappers to external libraries
  • linalg: linear algebra routines
  • misc: miscellaneous utilities (e.g. image reading/writing)
  • ndimage: various functions for multi-dimensional image processing
  • optimize: optimization algorithms including linear programming
  • signal: signal processing tools
  • sparse: sparse matrix and related algorithms
  • spatial: KD-trees, nearest neighbors, distance functions
  • special: special functions
  • stats: statistical functions
  • weave: tool for writing C/C++ code as Python multiline strings

Data structures

The basic data structure used by SciPy is a multidimensional array provided by the NumPy module. NumPy provides some functions for linear algebra, Fourier transforms, and random 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 arbitrary datatypes. This allows NumPy to seamlessly and speedily integrate with a wide variety of databases. Older versions of SciPy used Numeric as an array type, which is now deprecated in favor of the newer NumPy array code.[7]

History

In the 1990s, Python was extended to include an array type for numerical computing called Numeric (This package was eventually replaced by Travis Oliphant who wrote NumPy in 2006 as a blending of Numeric and Numarray which had been 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 released IPython, an enhanced interactive shell widely used in the technical computing community, and John Hunter released the first version of Matplotlib, the 2D plotting library for technical computing. Since then the SciPy environment has continued to grow with more packages and tools for technical computing.[8][9][10]

See also

{{Portal|Free and open-source software}}
  • Comparison of numerical analysis software
  • List of numerical analysis software
  • Comparison of statistical packages
  • SageMath

Notes

1. ^{{cite web|url=https://github.com/scipy/scipy/releases|title=Releases - scipy/scipy|via=GitHub|accessdate=9 February 2019}}
2. ^{{cite web | title = How can SciPy be fast if it is written in an interpreted language like Python? | author = SciPy Team | url = https://www.scipy.org/scipylib/faq.html#how-can-scipy-be-fast-if-it-is-written-in-an-interpreted-language-like-python | accessdate = 2013-12-23}}
3. ^https://scipy.org/ "SciPy (pronounced "Sigh Pie")"
4. ^{{cite web|url=https://www.scipy.org/about.html|title=Scientific Computing Tools for Python|publisher=SciPy.org}}
5. ^{{cite web|url=https://conference.scipy.org/index.html|title=SciPy Conferences}}
6. ^{{cite web|url=http://sourceforge.net/project/shownotes.php?release_id=660191&group_id=27747|title=SciPy: Scientific Library for Python|publisher=SourceForge}}
7. ^{{cite web|url=http://www.numpy.org/|title=NumPy Homepage}}
8. ^{{cite web|url=https://wiki.scipy.org/History_of_SciPy|title=History of SciPy}}
9. ^{{cite web|url=http://csc.ucdavis.edu/~chaos/courses/nlp/Software/NumPyBook.pdf|title=Guide to NumPy}}
10. ^{{cite web|url=http://www.computer.org/csdl/mags/cs/2011/02/mcs2011020009.html|title=Python for Scientists and Engineers}}

Further reading

  • {{cite book |first=Juan |last=Nunez-Iglesias |first2=Stéfan |last2=van der Walt |first3=Harriet |last3=Dashnow |title=Elegant SciPy: The Art of Scientific Python |location= |publisher=O'Reilly |year=2017 |isbn=978-1-4919-2287-3 }}

External links

  • {{official website}}
{{SciPy ecosystem}}{{DEFAULTSORT:Scipy}}

7 : Cross-platform software|Free science software|Numerical analysis software for Linux|Numerical analysis software for MacOS|Numerical analysis software for Windows|Numerical programming languages|Python scientific libraries

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/13 9:41:43