scipy.constants.
值#
- scipy.constants.value(key)[source]#
physical_constants 中由鍵 (key) 索引的值
- 參數:
- keyPython 字串
字典
physical_constants
中的鍵 (key)
- 回傳值:
- value浮點數
physical_constants
中對應於 key 的值
範例
>>> from scipy import constants >>> constants.value('elementary charge') 1.602176634e-19