From 26acb239dc65d2fb4154baf29081bd7e5c12c2b5 Mon Sep 17 00:00:00 2001 From: dario Date: Sat, 30 Dec 2023 12:53:53 +0100 Subject: [PATCH] Renamed altitude model --- spatz/models/pressure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spatz/models/pressure.py b/spatz/models/pressure.py index 020dc0c..ff87499 100644 --- a/spatz/models/pressure.py +++ b/spatz/models/pressure.py @@ -9,7 +9,7 @@ class PressUnit: hPa = 1 -class Altimeter: +class AltitudeModel: def __init__(self, press_b: float = 1013.25, alt_b: float = 0, unit: PressUnit = PressUnit.hPa): """A simple model for estimating the altitude based on pressure measurements. A reference height and the corresponding pressure value can be provided for a more precise model.