dev/sw #14

Merged
baulin.fa merged 8 commits from dev/sw into master 2026-06-19 13:20:59 +03:00
6 changed files with 1242 additions and 373 deletions
Showing only changes of commit c7216e4e8e - Show all commits

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