Docsity

Scipy: A Comprehensive Scientific Computation Library, Assignments of Mathematics

Partial preview of the text

Download Scipy: A Comprehensive Scientific Computation Library and more Assignments Mathematics in PDF only on Docsity!

Scipy

Why use scipy?

Contain various sub-packages which can be used to solve

common issues related to scientific computation

Easy to use and understand as well as fast computational

power

It can operate on an array of NumPy library

SciPy is the most used Scientific library only second to

GNU Scientific Library for C/C++ or Matlab's

What sub packages Scipy uses?

Scipy uses sub packages such as:

constants : physical constants and conversion factors

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)

What sub packages Scipy uses?

Scipy uses sub packages such as:

  • 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

Where Scipy is used?

2) Special Function package

  • scipy.special package contains numerous functions of mathematical physics.
  • SciPy special function includes:

Exponential

Linear Algebra with SciPy

Permutation and Combinations

Discrete Fourier Transform – scipy.fftpack

Optimization and Fit in SciPy – scipy.optimize

Nelder –Mead Algorithm

Image Processing with SciPy – scipy.ndimage

Integration with Scipy – Numerical Integration