Пример #1
0
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function, label='CodeGenerator')
     self.parameter_button.destroy()
     self.file_button = Button(self, text="Save as", command=self.get_file)
     self.file_button.place(x=60, y=20)
     self.get_file()
     self.file = False
Пример #2
0
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function, outputs=['Result'], label='Substract')
     self.parameter_button.place_forget()
     self.help_button.place_forget()
     self.scale1 = MyScale(self, from_=0, to=2, digits=3, name='scale1',
                           orient=HORIZONTAL, sliderlength=5, tickinterval=0, resolution=0.1,
                           length=50, width=5)
     self.scale1.place(x=30, y=50)
     self.scale2 = MyScale(self, from_=0, to=2, digits=3, name='scale2',
                           orient=HORIZONTAL, sliderlength=5, tickinterval=0, resolution=0.1,
                           length=50, width=5)
     self.scale2.place(x=90, y=50)
Пример #3
0
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function, outputs=["op1"], label="Make Cutouts")
Пример #4
0
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function, outputs=["op1"], label="Detect Spikes")
Пример #5
0
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function,
                        outputs=['op1'], label='Spike Sorting')
Пример #6
0
 def update(self):
     self.get_result(None)
     Draggable.update(self)
Пример #7
0
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function, outputs=['list'], label='List')
     self.result = find_function()
Пример #8
0
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function, outputs=('output1', 'output2'),
                        label='Duplicate')
Пример #9
0
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function)
     self.parameter = []
     self.figure = None
     self.label = Label(self, text="Plot")
     self.label.place(x=50, y=0)