test pickingdialog and prepare figures for the poster

This commit is contained in:
sebastianw committed 2015-04-07 15:00:00 +02:00
1 parent 043c45e02c
commit d21798f633
5 files changed
+83 -12

No files matched your search

+1
View File
@@ -6,6 +6,7 @@
<file>icons/sicon.png</file> <file>icons/sicon.png</file>
<file>icons/pick.png</file> <file>icons/pick.png</file>
<file>icons/filter.png</file> <file>icons/filter.png</file>
<file>icons/zoom.png</file>
</qresource> </qresource>
<qresource prefix="/help"> <qresource prefix="/help">
<file>help/index.html</file> <file>help/index.html</file>
Executable
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

+4 -4
View File
@@ -2,16 +2,16 @@
# Resource object code # Resource object code
# #
# Created: Mi. Apr. 1 11:27:37 2015 # Created: Di. Apr. 7 09:18:41 2015
# by: The Resource Compiler for PySide (Qt v4.8.6) # by: The Resource Compiler for PySide (Qt v4.8.6)
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
from PySide import QtCore from PySide import QtCore
qt_resource_data = "\x00\x00\x02\xa2\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x000\x00\x00\x000\x08\x06\x00\x00\x00W\x02\xf9\x87\x00\x00\x02iIDATx^\xedYM\x8b\xc20\x10\x9d\x96\xbd(\xa8\xa8\x08\xa27\xaf\xfe\x01\xf5\xa8\xff\xdb\xbb\x07\xaf\x1e\x14\xc4\x83\x17\x11\x05\x11?@\xa1K\x02sI\x98}\xc9NYYHaH\xda\xa6\x9d\xf7\xe6\xcd\xb4i\x9a\x15EA\xffy\xcb?\xe8;\x11H\x04\x12\x81D \x11H\x04\x12\x81\xaf\x90A\xdb\xed\xb6\xe0~\x96e\xdc\x8a}n\xdd\xad(\x0a\xb7\x95\xfa\xb6\x1d\x0c\x06\x19\xc2\xc6s!\x08\xbeV\xab10\xdc\xca\x1b\x03\x84\xed\xf5z\x0d\x22\xf1\x15\x0a\xbe\xd3\xe9\xd0\x1fo\x86\x84\xc5 \x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0a\xa0|\x05\xb9.\xde+F\x81\xd2S(\xb6\x88\xd9\xc0X\x00\x1e\x16q\xfc\xcb\x8c\xfbN\x01\x03\xa7\x8a\x02\xc7\x0a\xe8\x9d\xb2!\xd0lj\xf0X\x01\xac\x84\xab\x80b\x9a\xa0\x98\x0b\x81\x05V\x9e\xc7\xbb\xceD\xd0\xf8\x9d\x80\xc9\x1c\x8fG\xf6]\xda\xf2z\xf8\xea\x9d>\xf2\xce\xf2:&\x00ID/A\xea\xd3F\xff\x83\x03[\xfaG\x96\x08|\x03\xf7\x03\x9fA\x22K\x9b\x82\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x12\x5c\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x80\x00\x00\x00\x80\x08\x06\x00\x00\x00\xc3>a\xcb\x00\x00\x00\x19tEXtSoftware\x00Adobe ImageReadyq\xc9e<\x00\x00\x11\xfeIDATx\xda\xec\x1dKl\x1b\xc7u\xf6GR\x9fFR\x92\xba@\x93\x149\x06=\x09\xf0\xa97\xe5\xd4\x18E\x13\xb5\xb7\xa4A \xdb)z(\x82\xc8I\x8a\xc4\xf2O\xb2\x1d\xc7\xf9\xb5v\x80\x06\x05\x1a\xa0v\xcf\x05J%=\xf4\xd0\x22\xd2%9\xa5\xa0zk\x03'rk\xd7N,QTD\xf1\xb3\xdcO\xdf\x9b\xcf\xee\x90\xa2\xa8\x0f?\xbb\x5c\xcd\x03\x06\xf3\xd9\xe5\xeep\xe6\xfd\xdf\xcc\xac\xe6\xfb>QppAS\x08\xa0\x10@\x8d\x82B\x00\x05\x0a\x01\x14(\x04P\xa0\x10@\x81B\x00\x05\x0a\x01\x14(\x04P\xa0\x10@\x81B\x00\x05\x0a\x01Z\xfdX\xd3\x82\xf2\xf0\xf3\xbf{\x0a\xb2q\xcd0\xc5E\x9e\xeb\xf5u\x05\xbb\x031/A\xee\xf1\xcc\xc5,W\xfc\xfd/\xe6\xc3[\xfdh\x10\xe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\xfd\xf3\xf0~\xf6\xe2\x80#\x00B\xdc.\x94\xc8{\x7f\xfd\x07q\x00\x91\xfc\xf2\xfad\xf1\x8f/\xcfG\xc2\x01\x98\xcc7\x08\x9d-\xdd\xa4\xf2^\xd3\x0d*\xef\xb1\x9d\xb1\x5c#d\xbd\xc1\xe45a\xe5z\xb3v\xf9\x9a<\x89MD\x82\xbe=b\xd0\xeeI\xef\x16r\x13\x07[\x97&D\x93&B\x93&\x82He-\x98\xa8\xc6z\xfd\xc4Q1\xa3\xfb\x12\x921d\xd2}\xc6\xee\x83\xb2\xc7\xde%\xae\xcbeZ\xf7\x10\x81 \xd7<**(\xd5\x1a\x16\xd1\xac\x0c\xfc/\xe4.\x83\xe3\xd0\x14\x19\x02\x04\xf0\xfe\xe2\xbf\xe8$X\x99A\xc6\x82Si\xc6\x9a-K\x12\x01Z \x02\xccF\x11`hA=\x14\x01\xa1hh&\x02(\x9bo\xf2\x9b\xf0\x9aTo!\x02\xdcF\x11\xe0ne\xc72\x8b\xaec\xe9\x92\x08\x90Y\xba\xd3\xeay^(\x02\xe8\xb5\xba\xe7\xbbu\xfd\xf2\x1c^\xaf\xd94w\xb8\x08`\x98\xd0\xfe\xbc\xb5\x8f\x00\x1aS\xf2\x00-\x19\xbb\x05N@s\xc4R\x9a\xf3:*\x83[r\xbd\xc5\xb5\xdd\xe6{\xff\x0d\x22\x80F\xc7\x8fQ\x5cP&\xbc\xecKezO\x8b\xeb\x9cj\xeb\xee\xf1wz\x9e\xcf9\x18\xe4z\x93\xfb\x83~\xe1\xf8i\xf4>\xce*(\xa7\xa5\xd7\xd1\xda\x02\xae@\x8c\xf6\xa6PW\xf6\xd6\xc1\x06S\x0dA\xdf\xb8lBwJ\x07]*\x8a\x03(\x0e\xd0\xae\xc7\x0a\xcd\x13\x94\xab.\x14A:y\x0e\xf1\x01Line truncated qt_resource_data = "\x00\x00\x02\xa2\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x000\x00\x00\x000\x08\x06\x00\x00\x00W\x02\xf9\x87\x00\x00\x02iIDATx^\xedYM\x8b\xc20\x10\x9d\x96\xbd(\xa8\xa8\x08\xa27\xaf\xfe\x01\xf5\xa8\xff\xdb\xbb\x07\xaf\x1e\x14\xc4\x83\x17\x11\x05\x11?@\xa1K\x02sI\x98}\xc9NYYHaH\xda\xa6\x9d\xf7\xe6\xcd\xb4i\x9a\x15EA\xffy\xcb?\xe8;\x11H\x04\x12\x81D \x11H\x04\x12\x81\xaf\x90A\xdb\xed\xb6\xe0~\x96e\xdc\x8a}n\xdd\xad(\x0a\xb7\x95\xfa\xb6\x1d\x0c\x06\x19\xc2\xc6s!\x08\xbeV\xab10\xdc\xca\x1b\x03\x84\xed\xf5z\x0d\x22\xf1\x15\x0a\xbe\xd3\xe9\xd0\x1fo\x86\x84\xc5 \x90\xc0\x04\x18|\xb5Z\xa5\xdb\xed\xc6\xd1\x95\x22\x1e\xa7\x80\xac\x881\x0e\x18+\xa1.b\x00\xde\xf6\xfd}6\xff\x9c2\x18\x98\x00p&\x163\x9b|/\x7f\xbc\x8aD\x1e\x10u\x09\xbcD\x0c\x19R\xd4%\xa8R \xc6Ih\x0a\xc5(PN\x0aE\xa4\x99\x00\x16\x8c\xf3M\xa9\x00\x96\x16\x83\xc3\xfb\xc0\x8fB\x01l\xb2\xb3\xe7\xf3I\xa7\xd3\x89\x0e\x87\x03m6\x1b:\x9f\xcf\xe6\x98\xa0(\x04\xadV\xc0u\x08#\xb7\xdf\xefi\xb9\x5c\xd2n\xb73\xe0-\x89\xf9|N\x8b\xc5\x82\xde\xef7V\xd2\xef\x97V\xc4\xc1\xe7\x1b\x8d\x06\x8d\xc7c6\x9aN\xa7\xf4z\xbd\x0c1\x10q\xbd\x02\xd8\xe2\xa3d\xdf\xe4\xc3\xe1\xd0\xa6\xd6\xe3\xf1\xd0\xdcKO \xf6\xbd\xc1\xd6n\xb7\xed\xb1\xfb\xfd\x0e\x80~\x80\x00\x00\xc4\xc0Y\x0d\x97\xf0\xe7\x09\x84,O\xaeV+\xaa\xd7\xebT\xa9T\xc0u\xda\x0f\x1a=\x11S\xb0&\xdf9\xf2\xf6\xc9t\xb9\x5ch2\x99(\x81\xeb\x15`\x00b\x14\x19\xf4z\xbd6f\xc1w\xbb]\x9a\xcdffj\x8e\xee\xa5P\x00\x8369\x0b\xcf\xf3ct4\x1a\xa1\xaf\xb1R\xd23\x07\xa0\x8d\x81\x889\xad|\xddO\xe3\x7f\xadH\xae\xccwD\x90-\xf0k\xac|\x05@\xeb\x81\x15#\xee\xefc%\xf55\xc0 \xf1\x18\xb0\x94\x22\xf4\xb1o\x9d\x02X\x0d?\xd2\xadV\x8b\xfa\xfd>\x1fg\x93\x22\x1e\x12}u\x0a\xb1\x05\x15_\xb3\xd9\xa4^\xaf\xc7\xe0D\x228\x85\xf4\x0a\xa0|\x05\xb9.\xde+F\x81\xd2S(\xb6\x88\xd9\xc0X\x00\x1e\x16q\xfc\xcb\x8c\xfbN\x01\x03\xa7\x8a\x02\xc7\x0a\xe8\x9d\xb2!\xd0lj\xf0X\x01\xac\x84\xab\x80b\x9a\xa0\x98\x0b\x81\x05V\x9e\xc7\xbb\xceD\xd0\xf8\x9d\x80\xc9\x1c\x8fG\xf6]\xda\xf2z\xf8\xea\x9d>\xf2\xce\xf2:&\x00ID/A\xea\xd3F\xff\x83\x03[\xfaG\x96\x08|\x03\xf7\x03\x9fA\x22K\x9b\x82\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x12\x5c\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x80\x00\x00\x00\x80\x08\x06\x00\x00\x00\xc3>a\xcb\x00\x00\x00\x19tEXtSoftware\x00Adobe ImageReadyq\xc9e<\x00\x00\x11\xfeIDATx\xda\xec\x1dKl\x1b\xc7u\xf6GR\x9fFR\x92\xba@\x93\x149\x06=\x09\xf0\xa97\xe5\xd4\x18E\x13\xb5\xb7\xa4A \xdb)z(\x82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1c^\xaf\xd94w\xb8\x08`\x98\xd0\xfe\xbc\xb5\x8f\x00\x1aS\xf2\x00-\x19\xbb\x05N@s\xc4R\x9a\xf3:*\x83[r\xbd\xc5\xb5\xdd\xe6{\xff\x0d\x22\x80F\xc7\x8fQ\x5cP&\xbc\xecKezO\x8b\xeb\x9cj\xeb\xee\xf1wz\x9e\xcf9\x18\xe4z\x93\xfb\x83~\xe1\xf8i\xf4>\xce*(\xa7\xa5\xd7\xd1\xda\x02\xae@\x8c\xf6\xa6PW\xf6\xd6\xc1\x06S\x0dA\xdf\xb8lBwJ\x07]*\x8a\x03(\x0e\xd0\xae\xc7\x0a\xcd\x13\x94\xab.\x14A:y\x0e\xf1\x01Line truncated
qt_resource_name = "\x00\x04\x00\x06\xec0\x00h\x00e\x00l\x00p\x00\x05\x00o\xa6S\x00i\x00c\x00o\x00n\x00s\x00\x09\x0aa\xba\xa7\x00p\x00i\x00c\x00o\x00n\x00.\x00p\x00n\x00g\x00\x0a\x0a\xc8\xf7'\x00f\x00i\x00l\x00t\x00e\x00r\x00.\x00p\x00n\x00g\x00\x08\x0f\x9eY\x87\x00p\x00i\x00c\x00k\x00.\x00p\x00n\x00g\x00\x0b\x0a*w\xe7\x00p\x00r\x00i\x00n\x00t\x00e\x00r\x00.\x00p\x00n\x00g\x00\x09\x0aa\xa4\xa7\x00s\x00i\x00c\x00o\x00n\x00.\x00p\x00n\x00g\x00\x09\x03g\xbf\x9f\x00p\x00y\x00l\x00o\x00t\x00.\x00i\x00c\x00o\x00\x0a\x0c\xba\xf2|\x00i\x00n\x00d\x00e\x00x\x00.\x00h\x00t\x00m\x00l" qt_resource_name = "\x00\x04\x00\x06\xec0\x00h\x00e\x00l\x00p\x00\x05\x00o\xa6S\x00i\x00c\x00o\x00n\x00s\x00\x09\x0aa\xba\xa7\x00p\x00i\x00c\x00o\x00n\x00.\x00p\x00n\x00g\x00\x0a\x0a\xc8\xf7'\x00f\x00i\x00l\x00t\x00e\x00r\x00.\x00p\x00n\x00g\x00\x08\x06`Gg\x00z\x00o\x00o\x00m\x00.\x00p\x00n\x00g\x00\x08\x0f\x9eY\x87\x00p\x00i\x00c\x00k\x00.\x00p\x00n\x00g\x00\x0b\x0a*w\xe7\x00p\x00r\x00i\x00n\x00t\x00e\x00r\x00.\x00p\x00n\x00g\x00\x09\x0aa\xa4\xa7\x00s\x00i\x00c\x00o\x00n\x00.\x00p\x00n\x00g\x00\x09\x03g\xbf\x9f\x00p\x00y\x00l\x00o\x00t\x00.\x00i\x00c\x00o\x00\x0a\x0c\xba\xf2|\x00i\x00n\x00d\x00e\x00x\x00.\x00h\x00t\x00m\x00l"
qt_resource_struct = "\x00\x00\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x09\x00\x00\x00\x0e\x00\x02\x00\x00\x00\x06\x00\x00\x00\x03\x00\x00\x00\x9a\x00\x00\x00\x00\x00\x01\x00\x00t\xcf\x00\x00\x00f\x00\x00\x00\x00\x00\x01\x00\x00nH\x00\x00\x00\x82\x00\x00\x00\x00\x00\x01\x00\x00q\xf5\x00\x00\x00\x1e\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00\x00\x00\x01\x00\x00\x02\xa6\x00\x00\x00P\x00\x00\x00\x00\x00\x01\x00\x00\x15\x06\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x0a\x00\x00\x00\xb2\x00\x00\x00\x00\x00\x01\x00\x00}\x91" qt_resource_struct = "\x00\x00\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x0a\x00\x00\x00\x0e\x00\x02\x00\x00\x00\x07\x00\x00\x00\x03\x00\x00\x00\xb0\x00\x00\x00\x00\x00\x01\x00\x00\x92\xa6\x00\x00\x00P\x00\x00\x00\x00\x00\x01\x00\x00\x15\x06\x00\x00\x00|\x00\x00\x00\x00\x00\x01\x00\x00\x8c\x1f\x00\x00\x00\x98\x00\x00\x00\x00\x00\x01\x00\x00\x8f\xcc\x00\x00\x00\x1e\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00\x00\x00\x01\x00\x00\x02\xa6\x00\x00\x00f\x00\x00\x00\x00\x00\x01\x00\x002\xdd\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\xc8\x00\x00\x00\x00\x00\x01\x00\x00\x9bh"
def qInitResources(): def qInitResources():
QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
+1 -1
View File
@@ -1 +1 @@
0.0.0-gbe0b 043c-dirty
+77 -7
View File
@@ -14,6 +14,7 @@ matplotlib.rcParams['backend.qt4'] = 'PySide'
from matplotlib.figure import Figure from matplotlib.figure import Figure
from matplotlib.backends.backend_qt4agg import FigureCanvas from matplotlib.backends.backend_qt4agg import FigureCanvas
from matplotlib.backends.backend_qt4agg import NavigationToolbar2QTAgg
from matplotlib.widgets import MultiCursor from matplotlib.widgets import MultiCursor
from PySide.QtGui import QAction, QApplication,QComboBox, QDateTimeEdit,\ from PySide.QtGui import QAction, QApplication,QComboBox, QDateTimeEdit,\
QDialog, QDialogButtonBox, QDoubleSpinBox, QGroupBox, QGridLayout,\ QDialog, QDialogButtonBox, QDoubleSpinBox, QGroupBox, QGridLayout,\
@@ -54,6 +55,7 @@ class MPLWidget(FigureCanvas):
self._parent = None self._parent = None
self.setParent(parent) self.setParent(parent)
self.figure = Figure() self.figure = Figure()
self.figure.set_facecolor((.92, .92, .92))
# attribute plotdict is an dictionary connecting position and a name # attribute plotdict is an dictionary connecting position and a name
self.plotdict = dict() self.plotdict = dict()
# create axes # create axes
@@ -262,20 +264,32 @@ class PickDlg(QDialog):
# plot data # plot data
self.getPlotWidget().plotWFData(wfdata=self.getWFData(), self.getPlotWidget().plotWFData(wfdata=self.getWFData(),
title=self.getStation()) title=self.getStation())
self.limits = {'xlims' : self.getPlotWidget().axes.get_xlim(),
'ylims' : self.getPlotWidget().axes.get_ylim()}
self.apd = self.getWFData() self.apd = self.getWFData()
# set plot labels # set plot labels
self.setPlotLabels() self.setPlotLabels()
# connect button press event to an action # connect button press event to an action
self.cid = self.getPlotWidget().mpl_connect('button_press_event', self.setIniPick) self.cidpress = self.connectPressEvent(self.setIniPick)
self.cidscroll = self.getPlotWidget().mpl_connect('scroll_event',
self.scrollZoom)
def setupUi(self): def setupUi(self):
# create matplotlib toolbar to inherit functionality
self.figToolBar = NavigationToolbar2QTAgg(self.getPlotWidget(), self)
self.figToolBar.hide()
# create icons # create icons
filter_icon = QIcon() filter_icon = QIcon()
filter_icon.addPixmap(QPixmap(':/icons/filter.png')) filter_icon.addPixmap(QPixmap(':/icons/filter.png'))
zoom_icon = QIcon()
zoom_icon.addPixmap(QPixmap(':/icons/zoom.png'))
# create actions # create actions
self.filterAction = createAction(parent=self, text='Filter', self.filterAction = createAction(parent=self, text='Filter',
slot=self.filterWFData, slot=self.filterWFData,
@@ -284,7 +298,14 @@ class PickDlg(QDialog):
' waveforms', ' waveforms',
checkable=True) checkable=True)
self.selectPhase = QComboBox() self.selectPhase = QComboBox()
self.selectPhase.addItems(['Pn', 'Pg', 'P1', 'P2']) self.selectPhase.addItems([None, 'Pn', 'Pg', 'P1', 'P2'])
self.zoomAction = createAction(parent=self, text='Zoom',
slot=self.zoom, icon=zoom_icon,
tip='Zoom into waveform',
checkable=True)
# layout the outermost appearance of the Pick Dialog # layout the outermost appearance of the Pick Dialog
_outerlayout = QVBoxLayout() _outerlayout = QVBoxLayout()
@@ -294,6 +315,7 @@ class PickDlg(QDialog):
_dialtoolbar.addAction(self.filterAction) _dialtoolbar.addAction(self.filterAction)
_dialtoolbar.addWidget(self.selectPhase) _dialtoolbar.addWidget(self.selectPhase)
#_dialtoolbar.addAction(self.zoomAction)
_innerlayout = QVBoxLayout() _innerlayout = QVBoxLayout()
@@ -308,9 +330,16 @@ class PickDlg(QDialog):
_outerlayout.addLayout(_innerlayout) _outerlayout.addLayout(_innerlayout)
self.setLayout(_outerlayout) self.setLayout(_outerlayout)
def reconnect(self, event_name, slot): def disconnectPressEvent(self):
self.getPlotWidget().mpl_disconnect(self.cid) self.getPlotWidget().mpl_disconnect(self.cidpress)
self.cid = self.getPlotWidget().mpl_connect(event_name, slot)
def connectPressEvent(self, slot):
widget = self.getPlotWidget()
self.cidpress = widget.mpl_connect('button_press_event', slot)
def reconnectPressEvent(self, slot):
self.disconnectPressEvent()
self.cidpress = self.connectPressEvent(slot)
def getComponents(self): def getComponents(self):
return self.components return self.components
@@ -356,6 +385,8 @@ class PickDlg(QDialog):
channel = self.getChannelID(round(gui_event.ydata)) channel = self.getChannelID(round(gui_event.ydata))
wfdata = self.selectWFData(channel) wfdata = self.selectWFData(channel)
self.getPlotWidget().mpl_disconnect(self.cidscroll)
ini_pick = gui_event.xdata ini_pick = gui_event.xdata
# calculate the resolution window width from SNR # calculate the resolution window width from SNR
@@ -371,7 +402,7 @@ class PickDlg(QDialog):
'VLRW' : 15. 'VLRW' : 15.
} }
result = getSNR(wfdata, (5, .5, 1), ini_pick) result = getSNR(wfdata, (10., 2., 1.5), ini_pick)
snr = result[0] snr = result[0]
noiselevel = result[2] * 1.5 noiselevel = result[2] * 1.5
@@ -400,7 +431,7 @@ class PickDlg(QDialog):
# reset labels # reset labels
self.setPlotLabels() self.setPlotLabels()
self.reconnect('button_press_event', self.setPick) self.reconnectPressEvent(self.setPick)
def setPick(self, gui_event): def setPick(self, gui_event):
pick = gui_event.xdata pick = gui_event.xdata
@@ -435,6 +466,45 @@ class PickDlg(QDialog):
# set channel labels # set channel labels
self.getPlotWidget().setYTickLabels(pos, labels) self.getPlotWidget().setYTickLabels(pos, labels)
def zoom(self):
if self.zoomAction.isChecked():
self.disconnectPressEvent()
self.figToolBar.zoom()
else:
self.connectPressEvent(self.setIniPick)
def scrollZoom(self, gui_event, factor=1.2):
widget = self.getPlotWidget()
curr_xlim = widget.axes.get_xlim()
curr_ylim = widget.axes.get_ylim()
if gui_event.button == 'up':
scale_factor = 1/factor
elif gui_event.button == 'down':
# deal with zoom out
scale_factor = factor
else:
# deal with something that should never happen
scale_factor = 1
print gui_event.button
act_width = (curr_xlim[1]-curr_xlim[0])*.5
act_height = (curr_ylim[1]-curr_ylim[0])*.5
new_width = act_width*scale_factor
new_height= act_height*scale_factor
new_xlim = [max(gui_event.xdata - new_width, self.limits['xlims'][0]),
min(gui_event.xdata + new_width, self.limits['xlims'][1])]
new_ylim = [max(gui_event.ydata - new_height, self.limits['ylims'][0]),
min(gui_event.ydata + new_height, self.limits['ylims'][1])]
widget.axes.set_xlim(new_xlim)
widget.axes.set_ylim(new_ylim)
widget.draw()
def apply(self): def apply(self):
picks = self.getPicks() picks = self.getPicks()
for pick in picks: for pick in picks: