Пример #1
0
 def on_subtract(self):
     self.path = tk.filedialog.askopenfilename()
     self.data.apply_operation(read_ds_file(self.path), op='-')
     self.draw_on_canvas(clear=True)
Пример #2
0
 def open_time_dialog(self):
     self.path = tk.filedialog.askopenfilename()
     self.data.signals = [read_ds_file(self.path)]
     self.draw_on_canvas(clear=True)
Пример #3
0
 def on_append(self):
     self.path = tk.filedialog.askopenfilename()
     self.data.signals.append(read_ds_file(self.path))
     self.draw_on_canvas()
Пример #4
0
 def open_freq_dialog(self):
     self.data.signals = []
     self.path = tk.filedialog.askopenfilename()
     freq, amp, phase = read_ds_file(self.path)
     self.data.frequency = (freq, amp, phase)
     self.draw_multi_axes(freq, amp, phase)