This is documentation for an old release of SciPy (version 0.8.). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.constants.C2F

scipy.constants.C2F(C)

Convert Celsius to Fahrenheit

Parameters :

C : float-like scalar or array-like

Celsius temperature(s) to be converted

Returns :

F : float or a numpy array of floats, corresponding to type of Parameters

Equivalent Fahrenheit temperature(s)

Notes

Computes F = 1.8 * C + 32

Examples

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

Previous topic

scipy.constants.F2C

Next topic

scipy.constants.F2K

This Page