forked from M-Labs/thermostat
Call it B not Beta
This commit is contained in:
parent
68ab3555cf
commit
6f0677bac6
|
@ -180,7 +180,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||||
'suffix': '°C', 'param': [('s-h', ch, 't0')]},
|
'suffix': '°C', 'param': [('s-h', ch, 't0')]},
|
||||||
{'name': 'R₀', 'type': 'float', 'value': 10000, 'step': 1, 'siPrefix': True, 'suffix': 'Ω',
|
{'name': 'R₀', 'type': 'float', 'value': 10000, 'step': 1, 'siPrefix': True, 'suffix': 'Ω',
|
||||||
'param': [('s-h', ch, 'r0')]},
|
'param': [('s-h', ch, 'r0')]},
|
||||||
{'name': 'β', 'type': 'float', 'value': 3950, 'step': 1, 'suffix': 'K', 'param': [('s-h', ch, 'b')]},
|
{'name': 'B', 'type': 'float', 'value': 3950, 'step': 1, 'suffix': 'K', 'param': [('s-h', ch, 'b')]},
|
||||||
]},
|
]},
|
||||||
{'name': 'Postfilter Config', 'expanded': False, 'type': 'group', 'children': [
|
{'name': 'Postfilter Config', 'expanded': False, 'type': 'group', 'children': [
|
||||||
{'name': 'Rate', 'type': 'float', 'value': 16.67, 'step': 0.01, 'suffix': 'Hz',
|
{'name': 'Rate', 'type': 'float', 'value': 16.67, 'step': 0.01, 'suffix': 'Hz',
|
||||||
|
@ -674,7 +674,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||||
with QSignalBlocker(self.params[channel]):
|
with QSignalBlocker(self.params[channel]):
|
||||||
self.params[channel].child("Thermistor Config", "T₀").setValue(sh_param["params"]["t0"] - 273.15)
|
self.params[channel].child("Thermistor Config", "T₀").setValue(sh_param["params"]["t0"] - 273.15)
|
||||||
self.params[channel].child("Thermistor Config", "R₀").setValue(sh_param["params"]["r0"])
|
self.params[channel].child("Thermistor Config", "R₀").setValue(sh_param["params"]["r0"])
|
||||||
self.params[channel].child("Thermistor Config", "β").setValue(sh_param["params"]["b"])
|
self.params[channel].child("Thermistor Config", "B").setValue(sh_param["params"]["b"])
|
||||||
|
|
||||||
@pyqtSlot(list)
|
@pyqtSlot(list)
|
||||||
def update_pwm(self, pwm_data):
|
def update_pwm(self, pwm_data):
|
||||||
|
|
Loading…
Reference in New Issue