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.constants import codata
>>> codata.value('elementary charge')
    1.602176487e-019

Previous topic

scipy.constants.nu2lambda

Next topic

scipy.constants.unit