Skip to main content

SciPy

SciPy is a free and open-source Python library used f or 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 task s common in science and engineering.More..


History:

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.

Travis Oliphant


Example:

 import numpy as np
 from scipy import io as sio
 array = np.ones((4, 4))
 sio.savemat('example.mat', {'ar': array})
 data = sio.loadmat(‘example.mat', struct_as_record=True)
 data['ar']