SciPy

This is documentation for an old release of SciPy (version 1.1.0). Read this page in the documentation of the latest stable release (version 1.15.1).

Miscellaneous routines (scipy.misc)

Various utilities that don’t have another home.

Note that Pillow (https://python-pillow.org/) is not a dependency of SciPy, but the image manipulation functions indicated in the list below are not available without it.

ascent() Get an 8-bit grayscale bit-depth, 512 x 512 derived image for easy use in demos
central_diff_weights(Np[, ndiv]) Return weights for an Np-point central derivative.
derivative(func, x0[, dx, n, args, order]) Find the n-th derivative of a function at a point.
face([gray]) Get a 1024 x 768, color image of a raccoon face.
electrocardiogram() Load an electrocardiogram as an example for a one-dimensional signal.

Deprecated functions:

bytescale(*args, **kwds) bytescale is deprecated! bytescale is deprecated in SciPy 1.0.0, and will be removed in 1.2.0.
fromimage(*args, **kwds) fromimage is deprecated! fromimage is deprecated in SciPy 1.0.0.
imfilter(*args, **kwds) imfilter is deprecated! imfilter is deprecated in SciPy 1.0.0, and will be removed in 1.2.0.
imread(*args, **kwds) imread is deprecated! imread is deprecated in SciPy 1.0.0, and will be removed in 1.2.0.
imresize(*args, **kwds) imresize is deprecated! imresize is deprecated in SciPy 1.0.0, and will be removed in 1.2.0.
imrotate(*args, **kwds) imrotate is deprecated! imrotate is deprecated in SciPy 1.0.0, and will be removed in 1.2.0.
imsave(*args, **kwds) imsave is deprecated! imsave is deprecated in SciPy 1.0.0, and will be removed in 1.2.0.
imshow(*args, **kwds) imshow is deprecated! imshow is deprecated in SciPy 1.0.0, and will be removed in 1.2.0.
toimage(*args, **kwds) toimage is deprecated! toimage is deprecated in SciPy 1.0.0, and will be removed in 1.2.0.

Deprecated aliases:

comb(*args, **kwds) comb is deprecated! Importing comb from scipy.misc is deprecated in scipy 1.0.0.
factorial(*args, **kwds) factorial is deprecated! Importing factorial from scipy.misc is deprecated in scipy 1.0.0.
factorial2(*args, **kwds) factorial2 is deprecated! Importing factorial2 from scipy.misc is deprecated in scipy 1.0.0.
factorialk(*args, **kwds) factorialk is deprecated! Importing factorialk from scipy.misc is deprecated in scipy 1.0.0.
logsumexp(*args, **kwds) logsumexp is deprecated! Importing logsumexp from scipy.misc is deprecated in scipy 1.0.0.
pade(*args, **kwds) pade is deprecated! Importing pade from scipy.misc is deprecated in scipy 1.0.0.
info(*args, **kwds) Get help information for a function, class, or module.
source(*args, **kwds) source is deprecated! Importing source from scipy.misc is deprecated in scipy 1.0.0.
who(*args, **kwds) who is deprecated! Importing who from scipy.misc is deprecated in scipy 1.0.0.