From bea6c462731923525349b3624f85f283a780ff7e Mon Sep 17 00:00:00 2001 From: Kyle Shores Date: Fri, 4 Oct 2024 11:43:50 -0500 Subject: [PATCH] adding doc strings --- src/acom_music_box/utils.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/acom_music_box/utils.py b/src/acom_music_box/utils.py index b778fba7..b2734eb0 100644 --- a/src/acom_music_box/utils.py +++ b/src/acom_music_box/utils.py @@ -116,5 +116,11 @@ def convert_concentration(data, key, temperature, pressure): def calculate_air_density(temperature, pressure): """ Calculate the air density in moles/m^3. + + Args: + temperature (float): The temperature in Kelvin. + pressure (float): The pressure in Pascals. + Returns: + float: The air density in moles/m^3. """ return pressure / (GAS_CONSTANT * temperature)