1
0
forked from M-Labs/thermostat

ctrl_panel: Move postfilter into its own group

This commit is contained in:
atse 2024-08-01 15:49:45 +08:00
parent 205f5c0ae9
commit 3ed181403f
2 changed files with 12 additions and 4 deletions
pytec/pytec/gui/view

View File

@ -166,6 +166,6 @@ class CtrlPanel(QObject):
for postfilter_params in postfilter_data:
channel = postfilter_params["channel"]
with QSignalBlocker(self.params[channel]):
self.params[channel].child("thermistor", "rate").set_value_with_lock(
self.params[channel].child("postfilter", "rate").set_value_with_lock(
postfilter_params["rate"]
)

View File

@ -186,7 +186,7 @@
"title": "Thermistor Settings",
"expanded": true,
"type": "group",
"tip": "Settings of the connected thermistor\n- Parameters for the resistance to temperature conversion (with the B-Parameter equation)\n- Settings for the 50/60 Hz filter with the thermistor",
"tip": "Parameters for the resistance to temperature conversion with the B-Parameter equation",
"children": [
{
"name": "t0",
@ -247,10 +247,18 @@
],
"tip": "The Beta Parameter",
"lock": false
},
}
]
},
{
"name": "postfilter",
"title": "50/60 Hz filter settings",
"type": "group",
"tip": "Settings for the 50/60 Hz filter with the thermistor",
"children": [
{
"name": "rate",
"title": "50/60 Hz filter rejection",
"title": "Rejection",
"type": "list",
"value": 16.67,
"param": [