Return the equivalent value of the specified unit in Pascals (e.g., “psi” returns 6894.757293168361).
Example
from scipy import constants print(constants.atm) #101325.0 |
Area:
Return the corresponding value of the specified unit in square meters (e.g., “hectare” returns 10000.0).
Example
from scipy import constants print(constants.hectare) #10000.0 |
Volume:
Return the equivalent value of the specified unit in cubic meters (e.g., “liter” returns 0.001).
Example
from scipy import constants print(constants.liter) #0.001 |
Speed:
Return the corresponding value of the specified unit in meters per second (e.g., “speed_of_sound” returns 340.5).
Example
from scipy import constants print(constants.kmh) #0.2777777777777778 |