scipy.constants.K2F¶
- scipy.constants.K2F(*args, **kwds)[source]¶
K2F is deprecated! scipy.constants.K2F is deprecated in scipy 0.18.0. Use scipy.constants.convert_teperature instead. Note that the new function has a different signature.
Convert Kelvin to FahrenheitParameters: K : array_like
Kelvin temperature(s) to be converted.
Returns: F : float or array of floats
Equivalent Fahrenheit temperature(s).
Notes
Computes F = 1.8 * (K - zero_Celsius) + 32 where zero_Celsius = 273.15, i.e., (the absolute value of) temperature “absolute zero” as measured in Celsius.
Examples
>>> from scipy.constants import K2F >>> K2F(np.array([233.15, 313.15])) array([ -40., 104.])