Esempio n. 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
Esempio n. 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)
Esempio n. 3
0
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function, outputs=["op1"], label="Make Cutouts")
Esempio n. 4
0
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function, outputs=["op1"], label="Detect Spikes")
Esempio n. 5
0
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function,
                        outputs=['op1'], label='Spike Sorting')
Esempio n. 6
0
 def update(self):
     self.get_result(None)
     Draggable.update(self)
Esempio n. 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()
Esempio n. 8
0
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function, outputs=('output1', 'output2'),
                        label='Duplicate')
Esempio n. 9
0
File: plot.py Progetto: cgars/pyFind
 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)