vunits.convert.inertia_to_temp¶
-
vunits.convert.
inertia_to_temp
(inertia, units_in='kg m2', return_quantity=False, units_out='K')¶ Converts moment of inertia into rotational temperature
- Parameters
inertia (float) – Moment of inertia
units_in (str, optional) – Units corresponding to
inertia
. Default is ‘kg m2’.return_quantity (bool, optional) – If True, returns
Quantity
. Otherwise, returns float.units_out (str, optional) – Units corresponding to
temp
. Default is ‘K’.
- Returns
rot_temperature – Rotational temperature corresponding to
units_out
.- Return type
float or
Quantity
obj