vunits.convert.temp_to_freq¶
-
vunits.convert.
temp_to_freq
(temp, units_in='K', return_quantity=False, units_out='Hz')¶ Converts temperature to frequency
- Parameters
temp (float) – Temperature in K
units_in (str, optional) – Units corresponding to
temp
. Default is ‘K’.return_quantity (bool, optional) – If True, returns
Quantity
. Otherwise, returns float.units_out (str, optional) – Units corresponding to
freq
. Default is ‘Hz’.
- Returns
freq – Frequency corresponding to
units_out
.- Return type
float or
Quantity
obj