summaryrefslogtreecommitdiff
path: root/misc/py-thermocouples_reference/files/test.py
blob: d92aadd7ceb6d557699f71474e9fc7a8de588e2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
from thermocouples_reference import thermocouples

typeK = thermocouples['K']
print(f"typeK={typeK}")

t1 = typeK.emf_mVC(42, Tref=0)
print(f"t1={t1}")

t2 = typeK.emf_mVC([-3.14159, 42, 54], Tref=0)
print(f"t2={t2}")