dev/accum_rework #15

Merged
babintsev.lv merged 22 commits from dev/accum_rework into dev/design 2026-07-28 13:55:22 +03:00
Showing only changes of commit c7216e4e8e - Show all commits
+1 -1
View File
@@ -713,7 +713,7 @@ class MainWindow(QMainWindow):
(self.pulse_width * self.adc_dac_ratio) / self.window_size)
reference[0:actual_pulse_width] = [
self.pulse_height - 2 ** (self.adc_dw - 1) + 1, ] * (actual_pulse_width - 1)
(self.pulse_height / 2 ** (self.dac_dw - self.adc_dw)) - 2 ** (self.adc_dw - 1), ] * (actual_pulse_width - 1)
return reference