コード例 #1
0
ファイル: code_generator.py プロジェクト: cgars/pyFind
 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
ファイル: substract.py プロジェクト: cgars/pyFind
 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
ファイル: make_cutouts.py プロジェクト: cgars/pyFind
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function, outputs=["op1"], label="Make Cutouts")
コード例 #4
0
ファイル: detect_spikes.py プロジェクト: cgars/pyFind
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function, outputs=["op1"], label="Detect Spikes")
コード例 #5
0
ファイル: sort_spikes.py プロジェクト: cgars/pyFind
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function,
                        outputs=['op1'], label='Spike Sorting')
コード例 #6
0
ファイル: code_generator.py プロジェクト: cgars/pyFind
 def update(self):
     self.get_result(None)
     Draggable.update(self)
コード例 #7
0
ファイル: pyfind_range.py プロジェクト: cgars/pyFind
 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
ファイル: duplicate.py プロジェクト: cgars/pyFind
 def __init__(self, parent, this_function, find_function):
     Draggable.__init__(self, parent, this_function, find_function, outputs=('output1', 'output2'),
                        label='Duplicate')
コード例 #9
0
ファイル: plot.py プロジェクト: 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)