Update thermalPy.py
typos
This commit is contained in:
parent
13a093e168
commit
f6e8be3a38
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ print("------------------------------------------")
|
||||||
print("Please input parameters (leave empty for default value)")
|
print("Please input parameters (leave empty for default value)")
|
||||||
h = float(input("h (default = 6.63e-34): ") or 6.63e-34)
|
h = float(input("h (default = 6.63e-34): ") or 6.63e-34)
|
||||||
c = float(input("c (m/s) (default = 2.99792458e8): ") or 2.99792458e8)
|
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)
|
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)
|
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)
|
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))
|
rangeTi = int(round(np.sqrt(resolution),0))
|
||||||
|
|
||||||
cqMax = float(input("camera max cq (default = 1.8e5): ") or 1.8e5)
|
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
|
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
|
Tmax = float(input("max temp° (°C) (default = 1500): ") or 1500)+273 #for Kelvin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue