def METHOD_NAME(self):
    frequency = self.device_settings_widget.ui.spinBoxFreq.value()
    self.device.frequency = frequency
    self.scene_manager.scene.center_freq = frequency
    self.scene_manager.clear_path()
    self.scene_manager.clear_peak()