本文整理汇总了Python中pyqtgraph.mkQApp方法的典型用法代码示例。如果您正苦于以下问题:Python pyqtgraph.mkQApp方法的具体用法?Python pyqtgraph.mkQApp怎么用?Python pyqtgraph.mkQApp使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pyqtgraph
的用法示例。
在下文中一共展示了pyqtgraph.mkQApp方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: open_cataloguewindow
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def open_cataloguewindow():
dataio = DataIO(dirname=dirname)
catalogueconstructor = CatalogueConstructor(dataio=dataio)
app = pg.mkQApp()
win = CatalogueWindow(catalogueconstructor)
win.show()
app.exec_()
示例2: open_PeelerWindow
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def open_PeelerWindow():
dataio = DataIO(dirname=dirname)
initial_catalogue = dataio.load_catalogue(chan_grp=1)
app = pg.mkQApp()
win = PeelerWindow(dataio=dataio, catalogue=initial_catalogue)
win.show()
app.exec_()
示例3: open_PeelerWindow
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def open_PeelerWindow():
dataio = DataIO(dirname=dirname)
print(dataio)
initial_catalogue = dataio.load_catalogue(chan_grp=0)
app = pg.mkQApp()
win = PeelerWindow(dataio=dataio, catalogue=initial_catalogue)
win.show()
app.exec_()
示例4: setup_catalogue
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def setup_catalogue():
if os.path.exists('tridesclous_onlinepeeler'):
shutil.rmtree('tridesclous_onlinepeeler')
dataio = DataIO(dirname='tridesclous_onlinepeeler')
localdir, filenames, params = download_dataset(name='olfactory_bulb')
filenames = filenames[:1] #only first file
dataio.set_data_source(type='RawData', filenames=filenames, **params)
channel_group = {0:{'channels':[5, 6, 7, 8]}}
dataio.set_channel_groups(channel_group)
catalogueconstructor = CatalogueConstructor(dataio=dataio)
params = get_auto_params_for_catalogue(dataio, chan_grp=0)
apply_all_catalogue_steps(catalogueconstructor, params, verbose=True)
catalogueconstructor = CatalogueConstructor(dataio=dataio)
app = pg.mkQApp()
win = CatalogueWindow(catalogueconstructor)
win.show()
app.exec_()
示例5: open_catalogue_window
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def open_catalogue_window():
dataio = DataIO(dirname='test_peeler')
catalogueconstructor = CatalogueConstructor(dataio=dataio)
app = pg.mkQApp()
win = CatalogueWindow(catalogueconstructor)
win.show()
app.exec_()
示例6: open_PeelerWindow
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def open_PeelerWindow():
dataio = DataIO(dirname='test_peeler')
#~ dataio = DataIO(dirname='test_peeler2')
initial_catalogue = dataio.load_catalogue(chan_grp=0)
app = pg.mkQApp()
win = PeelerWindow(dataio=dataio, catalogue=initial_catalogue)
win.show()
app.exec_()
示例7: test_PeelerTraceViewer
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def test_PeelerTraceViewer():
controller = get_controller()
app = pg.mkQApp()
traceviewer = PeelerTraceViewer(controller=controller)
traceviewer.show()
traceviewer.resize(800,600)
if __name__ == '__main__':
app.exec_()
示例8: test_SpikeList
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def test_SpikeList():
controller = get_controller()
app = pg.mkQApp()
traceviewer = SpikeList(controller)
traceviewer.show()
traceviewer.resize(800,600)
if __name__ == '__main__':
app.exec_()
示例9: test_ClusterSpikeList
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def test_ClusterSpikeList():
controller = get_controller()
app = pg.mkQApp()
traceviewer = ClusterSpikeList(controller)
traceviewer.show()
traceviewer.resize(800,600)
if __name__ == '__main__':
app.exec_()
示例10: test_ISIViewer
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def test_ISIViewer():
controller = get_controller()
for k in controller.cluster_labels:
controller.cluster_visible[k] = False
for k in controller.cluster_labels[3:6]:
controller.cluster_visible[k] = True
#~ print(controller.cluster_visible)
app = pg.mkQApp()
isiviewer = ISIViewer(controller)
isiviewer.show()
isiviewer.refresh()
if __name__ == '__main__':
app.exec_()
示例11: test_CrossCorrelogramViewer
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def test_CrossCorrelogramViewer():
controller = get_controller()
for k in controller.cluster_labels:
controller.cluster_visible[k] = False
for k in controller.cluster_labels[3:6]:
controller.cluster_visible[k] = True
#~ print(controller.cluster_visible)
app = pg.mkQApp()
ccgviewer = CrossCorrelogramViewer(controller)
ccgviewer.show()
ccgviewer.refresh()
if __name__ == '__main__':
app.exec_()
示例12: test_PeelerWindow
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def test_PeelerWindow():
dataio = DataIO(dirname='test_peelerwindow')
initial_catalogue = dataio.load_catalogue(chan_grp=0)
app = pg.mkQApp()
win = PeelerWindow(dataio=dataio, catalogue=initial_catalogue)
win.show()
if __name__ == '__main__':
app.exec_()
示例13: test_MainWindow
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def test_MainWindow():
app = pg.mkQApp()
win = MainWindow()
win.show()
if __name__ == '__main__':
app.exec_()
示例14: test_InitializeDatasetWindow
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def test_InitializeDatasetWindow():
app = pg.mkQApp()
win = InitializeDatasetWindow()
win.show()
if __name__ == '__main__':
app.exec_()
示例15: open_mainwindow
# 需要导入模块: import pyqtgraph [as 别名]
# 或者: from pyqtgraph import mkQApp [as 别名]
def open_mainwindow():
app = pg.mkQApp()
win = tdc.MainWindow()
win.show()
app.exec_()