This is documentation for an old release of SciPy (version 0.19.1). Search for this page in the documentation of the latest stable release (version 1.14.1).
scipy.constants.F2K¶
-
scipy.constants.
F2K
(*args, **kwds)[source]¶ F2K
is deprecated! scipy.constants.F2K is deprecated in scipy 0.18.0. Use scipy.constants.convert_temperature instead. Note that the new function has a different signature.Convert Fahrenheit to KelvinParameters: F : array_like
Fahrenheit temperature(s) to be converted.
Returns: K : float or array of floats
Equivalent Kelvin temperature(s).
Notes
Computes
K = (F - 32)/1.8 + zero_Celsius
wherezero_Celsius
= 273.15, i.e., (the absolute value of) temperature “absolute zero” as measured in Celsius.Examples
>>> from scipy.constants import F2K >>> F2K(np.array([-40, 104])) array([ 233.15, 313.15])