This is documentation for an old release of SciPy (version 0.17.1). Read this page in the documentation of the latest stable release (version 1.15.1).
scipy.constants.value¶
- scipy.constants.value(key)[source]¶
Value in physical_constants indexed by key
Parameters: key : Python string or unicode
Key in dictionary physical_constants
Returns: value : float
Value in physical_constants corresponding to key
See also
- codata
- Contains the description of physical_constants, which, as a dictionary literal object, does not itself possess a docstring.
Examples
>>> from scipy import constants >>> constants.value(u'elementary charge') 1.6021766208e-19