diff --git a/PythonServer/screens/ts2_helevpres.py b/PythonServer/screens/ts2_helevpres.py index c00dcc4167dedc3f4af3ff7e4656456d3a4cb8f6..2b0d45e8c59ae1bb4eeb618b965fa897a2f6d202 100755 --- a/PythonServer/screens/ts2_helevpres.py +++ b/PythonServer/screens/ts2_helevpres.py @@ -13,11 +13,11 @@ def p2t(p): # This formula uses the Table 3 of ITS-90 from NIST paper: https://www.nist.gov/system/files/documents/pml/div685/grp01/ITS-90_metrologia.pdf if not numpy.isreal(p): # If pressure is not a number return "N/A" - if p < 1.14734339635: # This formula is valid only for Temperature > 1.25 K + if p < 1.14734339634282: # This formula is valid only for Temperature > 1.25 K return "N/A" - if p > 1960.1653287485129335: # 'This formula is valid only for Temperature < 5 K' + if p > 1960.16532874851: # 'This formula is valid only for Temperature < 5 K' return "N/A" - if p <= 50.4181515759834: + if p <= 50.4181: P = p * 100 # From mbar to Pascal A = [ 1.392408,