forked from M-Labs/thermostat
ctrl_panel: Move postfilter into its own group
This commit is contained in:
parent
ae9bd1a859
commit
e160a6f514
|
@ -172,6 +172,6 @@ class CtrlPanel(QObject):
|
||||||
for postfilter_params in postfilter_data:
|
for postfilter_params in postfilter_data:
|
||||||
channel = postfilter_params["channel"]
|
channel = postfilter_params["channel"]
|
||||||
with QSignalBlocker(self.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"]
|
postfilter_params["rate"]
|
||||||
)
|
)
|
||||||
|
|
|
@ -186,7 +186,7 @@
|
||||||
"title": "Thermistor Settings",
|
"title": "Thermistor Settings",
|
||||||
"expanded": true,
|
"expanded": true,
|
||||||
"type": "group",
|
"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": [
|
"children": [
|
||||||
{
|
{
|
||||||
"name": "t0",
|
"name": "t0",
|
||||||
|
@ -247,7 +247,15 @@
|
||||||
],
|
],
|
||||||
"tip": "The Beta Parameter",
|
"tip": "The Beta Parameter",
|
||||||
"lock": false
|
"lock": false
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "postfilter",
|
||||||
|
"title": "ADC Settings",
|
||||||
|
"type": "group",
|
||||||
|
"tip": "Settings of the ADC on the SENS input",
|
||||||
|
"children": [
|
||||||
{
|
{
|
||||||
"name": "rate",
|
"name": "rate",
|
||||||
"title": "50/60 Hz Rejection Filter",
|
"title": "50/60 Hz Rejection Filter",
|
||||||
|
|
Loading…
Reference in New Issue