The conversions.py module#

Summary#

celsius_to_kelvin

Convert celsius to kelvin.

kelvin_to_celsius

Convert degrees kelvin to celsius.

Description#

Unit conversion constants and functions.

Module detail#

conversions.celsius_to_kelvin(celsius: float) float#

Convert celsius to kelvin.

Parameters:
celsius: float

Degrees celsius.

Returns:
float

Equivalent degrees in kelvin.

conversions.kelvin_to_celsius(kelvin)#

Convert degrees kelvin to celsius.

Parameters:
kelvin: float

Degrees kelvin.

Returns:
float

Equivalent degrees in celsius.

conversions.MM_TO_METER = 0.001#
conversions.METER_TO_MM = 1000#