Convert Celsius to Kelvin
Parameters : | C : float-like scalar or array-like
|
---|---|
Returns : | K : float or a numpy array of floats, corresponding to type of Parameters
|
Notes
Computes K = C + zero_Celsius where zero_Celsius = 273.15, i.e., (the absolute value of) temperature “absolute zero” as measured in Celsius.
Examples
>>> from scipy.constants.constants import C2K
>>> C2K(np.array([-40, 40.0]))
array([ 233.15, 313.15])