scipy.constants.

#

scipy.constants.value(key)[source]#

物理常量字典中按键索引的值

参数:
keyPython 字符串

字典中的键 physical_constants

返回值:
valuefloat

physical_constants 中对应于 key 的值

示例

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