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
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)
def __init__(self, parent, this_function, find_function): Draggable.__init__(self, parent, this_function, find_function, outputs=["op1"], label="Make Cutouts")
def __init__(self, parent, this_function, find_function): Draggable.__init__(self, parent, this_function, find_function, outputs=["op1"], label="Detect Spikes")
def __init__(self, parent, this_function, find_function): Draggable.__init__(self, parent, this_function, find_function, outputs=['op1'], label='Spike Sorting')
def update(self): self.get_result(None) Draggable.update(self)
def __init__(self, parent, this_function, find_function): Draggable.__init__(self, parent, this_function, find_function, outputs=['list'], label='List') self.result = find_function()
def __init__(self, parent, this_function, find_function): Draggable.__init__(self, parent, this_function, find_function, outputs=('output1', 'output2'), label='Duplicate')
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)