Return the equivalent value of the specified unit in Kelvin (e.g., “zero_Celsius” returns 273.15).
Example
from scipy import constants print(constants.zero_Celsius) #273.15 |
Energy:
Return the corresponding value of the specified unit in joules (e.g., “calorie” returns 4.184).
Example
from scipy import constants print(constants.eV) #1.6021766208e-19 |
Power:
Return the equivalent value of the specified unit in watts (e.g., “horsepower” returns 745.6998715822701).
Example
from scipy import constants print(constants.hp) #745.6998715822701 |
Force:
Return the corresponding value of the specified unit in newtons (e.g., “kilogram_force” returns 9.80665).
Example
from scipy import constants print(constants.dyn) #1e-05 |