SciPy

scipy.constants.C2F

scipy.constants.C2F(*args, **kwds)[source]

C2F is deprecated! scipy.constants.C2F is deprecated in scipy 0.18.0. Use scipy.constants.convert_teperature instead. Note that the new function has a different signature.

Convert Celsius to Fahrenheit
Parameters:

C : array_like

Celsius temperature(s) to be converted.

Returns:

F : float or array of floats

Equivalent Fahrenheit temperature(s).

Notes

Computes F = 1.8 * C + 32.

Examples

>>> from scipy.constants import C2F
>>> C2F(np.array([-40, 40.0]))
array([ -40.,  104.])

Previous topic

scipy.constants.F2C

Next topic

scipy.constants.F2K