From c7a28047a183f75d7372d79832995322e7693077 Mon Sep 17 00:00:00 2001 From: gribse Date: Sun, 10 Dec 2023 12:58:35 +0000 Subject: [PATCH] celsius - kelvin fix --- thermalPy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thermalPy.py b/thermalPy.py index dde5c7c..1bbe4cb 100644 --- a/thermalPy.py +++ b/thermalPy.py @@ -28,8 +28,8 @@ rangeTi = int(round(np.sqrt(resolution),0)) cqMax = float(input("camera max cq (default = 1.8e5): ") or 1.8e5) cqMin = float(input("pixel surface (default = 10% of cqMax): ") or cqMax*0.1) -Tmin = float(input("min temp° (°C) (default = 500): ") or 500) -Tmax = float(input("max temp° (°C) (default = 1500): ") or 1500) +Tmin = float(input("min temp° (°C) (default = 500): ") or 500)+273 #for Kelvin +Tmax = float(input("max temp° (°C) (default = 1500): ") or 1500)+273 #for Kelvin Timin = float(input("min exposure time (µs) (default = 5): ") or 5) Timax = float(input("max exposure time (µs) (default = 50): ") or 50)