SciPy

scipy.constants.value

scipy.constants.value(key)[source]

Value in physical_constants indexed by key

Parameters
keyPython string or unicode

Key in dictionary physical_constants

Returns
valuefloat

Value in physical_constants corresponding to key

Examples

>>> from scipy import constants
>>> constants.value(u'elementary charge')
1.602176634e-19

Previous topic

Constants (scipy.constants)

Next topic

scipy.constants.unit