Skip to content

Commit

Permalink
Config updated
Browse files Browse the repository at this point in the history
  • Loading branch information
bilaljo committed Jan 29, 2024
1 parent df45848 commit e89bf05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions minipti/gui/controller/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ def __init__(self):
self._settings_table = model.processing.SettingsTable()
self.view = view.settings.SettingsWindow(self)
self.last_file_path = os.getcwd()
self.calculation_model.set_common_mode_noise_reduction(False)
self.view.measurement_configuration.measurement_options.common_mode_noise_rejection.setChecked(False)
if model.configuration.GUI.settings.pump:
self.view.pump_configuration.enable.setChecked(True)
self.fire_configuration_change()
Expand Down
2 changes: 1 addition & 1 deletion minipti/gui/view/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, settings_controller: controller.interface.Settings):
sub_layout.setLayout(QtWidgets.QHBoxLayout())
sub_layout.layout().addWidget(self.common_mode_noise_rejection)
self.common_mode_noise_rejection.stateChanged.connect(self.controller.update_common_mode_noise_reduction)
self.common_mode_noise_rejection.setChecked(True)
self.common_mode_noise_rejection.setChecked(False)
sub_layout.layout().addWidget(self.common_mode_noise_rejection_label)
self.layout().addWidget(sub_layout)
self.save_raw_data = qtwidgets.AnimatedToggle()
Expand Down
2 changes: 1 addition & 1 deletion minipti/hardware/configs/motherboard/valve.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Valve": {
"automatic_switch": true,
"automatic_switch": false,
"period": 13,
"duty_cycle": 18
}
Expand Down

0 comments on commit e89bf05

Please sign in to comment.