API Reference#
SciPy’s functionality is organized into submodules, whereas
the main namespace (scipy) only has a few utility functions.
In SciPy, most functions and classes are self-contained and are straightforward to use,
e.g.:
>>> from scipy.constants import speed_of_light
>>> from scipy.signal.windows import hann
...
>>> print(f"{speed_of_light} m/s is quite fast.")
299792458.0 m/s is quite fast.
>>> hann(7, sym=True) # 7 sample symmetric Hann window
array([0. , 0.25, 0.75, 1. , 0.75, 0.25, 0. ])
The remainder of this page contains the list of submodules, followed by the content of the main namespace. The design conventions for SciPy submodules are part of the Developer Documentation.
Submodules#
The public submodules have the following structure:
scipy Main namespace |
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
Main namespace (scipy)#
The main scipy namespace has very few objects in it by design. Only some
generical functionality related to testing, build info, and versioning, and one
class (LowLevelCallable), which didn’t fit into one of the submodules, is present:
|
Low-level callback function. |
|
Show libraries and system information on which SciPy was built and is being used |
Run tests for this namespace |
The sole public attribute is:
|
SciPy version string |