Chapter 10. When NumPy is Not Enough – SciPy and Beyond

SciPy is the world famous Python open-source scientific computing library built on top of NumPy. It adds functionality such as numerical integration, optimization, statistics, and special functions.

In this chapter we will cover the following topics:

  • File I/O
  • Statistics
  • Signal processing
  • Optimization
  • Interpolation
  • Image and audio processing

MATLAB and Octave

MATLAB and its open source alternative Octave are popular mathematical programs. The scipy.io package has functions that let you load MATLAB or Octave matrices and arrays of numbers or strings in Python programs and vice versa. The loadmat function loads a .mat file. The savemat function saves a dictionary of names and arrays into a .mat file.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset