{"schemaVersion":"1.0","record":{"label":"SciPy","description":"Open-source Python library providing scientific numerical algorithms on top of NumPy arrays.","aliases":[],"kind":"software","website":"https://scipy.org/","overview":"SciPy is a Python library of scientific numerical algorithms built around NumPy's array computing facilities. It covers tasks such as optimization, integration, interpolation, linear algebra, signal processing and statistics. It is a library within a larger Python workflow, not a complete desktop analysis environment with every editor and plotting tool included.","license":"BSD license; free commercial and noncommercial use under its terms","lifecycle":"active","example":false,"features":[{"name":"Scientific numerical methods","status":"supported","detail":"Python interfaces provide optimization, integration and other scientific algorithms.","useCase":"Numerical programming","platforms":["Runtime, platform and dependency dependent"],"region":"License eligibility, platform support, package dependencies and hosted-service terms apply.","evidence":[{"url":"https://scipy.org/","locator":"Scientific algorithms layered on NumPy, BSD license","retrievedAt":"2026-10-06T21:57:08Z","kind":"vendor"}]},{"name":"MAT-file reading","status":"limited","detail":"loadmat supports formats through 7.2; 7.3 needs separate HDF5 support.","useCase":"MATLAB data handoff","platforms":["Runtime, platform and dependency dependent"],"region":"License eligibility, platform support, package dependencies and hosted-service terms apply.","evidence":[{"url":"https://docs.scipy.org/doc/scipy/reference/generated/scipy.io.loadmat.html","locator":"v4/v6/v7 through7.2; 7.3 requires separate HDF5 support; shape/type options","retrievedAt":"2026-10-06T21:58:10Z","kind":"vendor"}]}],"alternatives":[],"slug":"scipy","draftAlternatives":[{"targetSlug":"matlab","status":"limited","detail":"Assessment: use SciPy with NumPy and separate visualization tools; rewrite language and array semantics rather than assuming M-file execution.","useCase":"Supported numerical algorithms in Python","platforms":["Runtime, platform and dependency dependent"],"region":"License eligibility, platform support, package dependencies and hosted-service terms apply.","evidence":[{"url":"https://scipy.org/","locator":"Scientific algorithms layered on NumPy, BSD license","retrievedAt":"2026-10-06T21:57:08Z","kind":"vendor"},{"url":"https://scipy.org/faq/","locator":"Numerical library, BSD license; plotting is external","retrievedAt":"2026-10-06T21:58:10Z","kind":"vendor"},{"url":"https://numpy.org/doc/stable/user/numpy-for-matlab-users.html","locator":"Indexing, multiplication, slicing/view differences; rough equivalents","retrievedAt":"2026-10-06T21:58:10Z","kind":"vendor"}]}],"evidence":[{"url":"https://scipy.org/","locator":"Scientific algorithms layered on NumPy, BSD license","retrievedAt":"2026-10-06T21:57:08Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://scipy.org/","locator":"Scientific algorithms layered on NumPy, BSD license","retrievedAt":"2026-10-06T21:57:08Z","id":"scipy-home","title":"SciPy overview","kind":"vendor"},{"url":"https://scipy.org/faq/","locator":"Numerical library, BSD license; plotting is external","retrievedAt":"2026-10-06T21:58:10Z","id":"scipy-faq","title":"SciPy FAQ","kind":"vendor"},{"url":"https://numpy.org/doc/stable/user/numpy-for-matlab-users.html","locator":"Indexing, multiplication, slicing/view differences; rough equivalents","retrievedAt":"2026-10-06T21:58:10Z","id":"numpy-matlab","title":"NumPy for MATLAB users","kind":"vendor"},{"url":"https://docs.scipy.org/doc/scipy/reference/generated/scipy.io.loadmat.html","locator":"v4/v6/v7 through7.2; 7.3 requires separate HDF5 support; shape/type options","retrievedAt":"2026-10-06T21:58:10Z","id":"scipy-mat","title":"SciPy loadmat","kind":"vendor"},{"url":"https://www.mathworks.com/products/matlab.html","locator":"Numerical programming, plots, toolbox ecosystem and Simulink integration","retrievedAt":"2026-10-06T21:57:08Z","id":"matlab-home","title":"MATLAB overview","kind":"vendor"}],"overviewCitations":["scipy-home"],"licenseCitations":["scipy-home","scipy-faq"],"sections":[{"id":"scope","heading":"Algorithms and surrounding tools","paragraphs":[{"id":"library","content":[{"text":"SciPy supplies numerical methods and specialized structures such as sparse matrices. Computationally intensive routines often use compiled implementations underneath Python interfaces. Plotting lies outside SciPy's scope and normally uses a separate compatible library. A workflow replacing an integrated numerical application consequently needs to account for the Python environment, array library, plots and interactive tools as separate components."}],"citations":["scipy-home","scipy-faq"]}]},{"id":"migration","heading":"Migrating MATLAB-style calculations","paragraphs":[{"id":"arrays","content":[{"text":"The NumPy guide for MATLAB users documents important semantic differences. Python indexing begins at zero, ordinary array multiplication is elementwise rather than matrix multiplication, and slicing can return a view into existing data. Translating a formula character by character can therefore change its meaning or mutate data unexpectedly. Porting should compare array shapes, operators and copy behavior as well as the selected SciPy algorithm."}],"citations":["numpy-matlab"]}]},{"id":"data","heading":"MAT-file interoperability","paragraphs":[{"id":"mat","content":[{"text":"SciPy's loadmat supports the documented older MAT-file versions through 7.2. MATLAB Version 7.3 requires an HDF5 library outside that interface. Options also influence array dimensions, structure representation and data types. Reading variables provides a data handoff; it does not execute the MATLAB code or reconstruct the toolboxes and application state associated with them."}],"citations":["scipy-mat"]}]},{"id":"licensing","heading":"Availability and licensing","paragraphs":[{"id":"terms","content":[{"text":"SciPy is distributed under a BSD license and can be used for commercial or noncommercial work within those terms. It depends on a compatible Python and numerical-library environment. Commercial support is available separately from providers identified by the project, so free source availability and a supported organizational deployment are different procurement and maintenance questions."}],"citations":["scipy-faq"]}]},{"id":"alternatives","heading":"Substitution considerations","paragraphs":[{"id":"fit","content":[{"text":"SciPy together with NumPy and suitable plotting tools can substitute for "},{"text":"MATLAB","targetSlug":"matlab"},{"text":" for supported numerical algorithms when a Python implementation is acceptable. This is a rewrite-oriented alternative, not an M-file interpreter. Source behavior, solver settings, output requirements and data interchange determine the actual scope; no general performance advantage or numerical identity is established by this article."}],"citations":["scipy-home","numpy-matlab","scipy-mat","matlab-home"]}]}]},"id":"Q595","revision":643,"updatedAt":"2026-10-12T23:38:44Z","sourceUrl":"https://substitutefor.net/entities/Q595?revision=643"}}