From f6e8be3a38f78c79587d8c0f07729c388c0f49b8 Mon Sep 17 00:00:00 2001 From: gribse Date: Thu, 1 Feb 2024 20:49:06 +0000 Subject: [PATCH] Update thermalPy.py typos --- thermalPy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thermalPy.py b/thermalPy.py index 1bbe4cb..572d807 100644 --- a/thermalPy.py +++ b/thermalPy.py @@ -18,7 +18,7 @@ print("------------------------------------------") print("Please input parameters (leave empty for default value)") h = float(input("h (default = 6.63e-34): ") or 6.63e-34) c = float(input("c (m/s) (default = 2.99792458e8): ") or 2.99792458e8) -k = float(input("h (default = 1.38e-23): ") or 1.38e-23) +k = float(input("k (default = 1.38e-23): ") or 1.38e-23) emiss = float(input("epsilon (default = 0.6): ") or 0.6) spixel = float(input("pixel surface (m^2)( default = 0.9e-9): ") or 0.9e-9) resolution = int(input("graph resolution (number of datapoints) (default = 100): ") or 100) @@ -26,7 +26,7 @@ rangeT = int(round(np.sqrt(resolution),0)) 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) +cqMin = float(input("camera min cq (default = 10% of cqMax): ") or cqMax*0.1) 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