##// END OF EJS Templates
Bug fixed in SchainGUI: figures were not been loaded
Miguel Valdez -
r583:e5ed8fbe1d1e
parent child
Show More

The requested changes are too big and content was truncated. Show full diff

@@ -0,0 +1,23
1 Prerequisites:
2
3 -numpy 1.8.0
4 -
5
6 Signal Chain Installation:
7
8 1. Install numpy, matplotlib, TKAgg
9 2. Install digital_rf_hdf5 module (developed by Haystack Observatory) if you will use USRP data
10 3. untar schainpy-x.x.x.tar.gz
11 4. cd schainpy-x.x.x
12 5. execute:
13 [hostname]$ sudo pyhon setup.py install
14 6. testing gui:
15 [hostname]$ schainGUI (enter)
16
17 If you want to use serialization and zerorpc you will need to install the next packages:
18
19 1. zerorpc
20 [hostname]$ sudo port install zerorpc
21
22 2. cPickle, msgpack and msgpack_numpy
23 [hostname]$ sudo port install cPickle msgpack mspack_numpy No newline at end of file
@@ -0,0 +1,15
1 import os, sys
2
3 def get_path ():
4 """Borrowed from wxglade.py"""
5 try:
6 root = __file__
7 if os.path.islink (root):
8 root = os.path.realpath (root)
9
10 return os.path.dirname (os.path.abspath (root))
11 except:
12 print "I'm sorry, but something is wrong."
13 print "There is no __file__ variable. Please contact the author."
14 return ""
15 No newline at end of file
1 NO CONTENT: file renamed from schainpy/gui/figure/.bash_logout to schainpy/gui/figures/.bash_logout
NO CONTENT: file renamed from schainpy/gui/figure/.bash_logout to schainpy/gui/figures/.bash_logout
1 NO CONTENT: file renamed from schainpy/gui/figure/Crear.jpg to schainpy/gui/figures/Crear.jpg
NO CONTENT: file renamed from schainpy/gui/figure/Crear.jpg to schainpy/gui/figures/Crear.jpg
1 NO CONTENT: file renamed from schainpy/gui/figure/Open Sign.jpg to schainpy/gui/figures/Open Sign.jpg
NO CONTENT: file renamed from schainpy/gui/figure/Open Sign.jpg to schainpy/gui/figures/Open Sign.jpg
1 NO CONTENT: file renamed from schainpy/gui/figure/__init__.py to schainpy/gui/figures/__init__.py
NO CONTENT: file renamed from schainpy/gui/figure/__init__.py to schainpy/gui/figures/__init__.py
1 NO CONTENT: file renamed from schainpy/gui/figure/add_PU.gif to schainpy/gui/figures/add_PU.gif
NO CONTENT: file renamed from schainpy/gui/figure/add_PU.gif to schainpy/gui/figures/add_PU.gif
1 NO CONTENT: file renamed from schainpy/gui/figure/adn.jpg to schainpy/gui/figures/adn.jpg
NO CONTENT: file renamed from schainpy/gui/figure/adn.jpg to schainpy/gui/figures/adn.jpg
1 NO CONTENT: file renamed from schainpy/gui/figure/guardar.jpeg to schainpy/gui/figures/guardar.jpeg
NO CONTENT: file renamed from schainpy/gui/figure/guardar.jpeg to schainpy/gui/figures/guardar.jpeg
1 NO CONTENT: file renamed from schainpy/gui/figure/open.gif to schainpy/gui/figures/open.gif
NO CONTENT: file renamed from schainpy/gui/figure/open.gif to schainpy/gui/figures/open.gif
1 NO CONTENT: file renamed from schainpy/gui/figure/open.png to schainpy/gui/figures/open.png
NO CONTENT: file renamed from schainpy/gui/figure/open.png to schainpy/gui/figures/open.png
1 NO CONTENT: file renamed from schainpy/gui/figure/pause.png to schainpy/gui/figures/pause.png
NO CONTENT: file renamed from schainpy/gui/figure/pause.png to schainpy/gui/figures/pause.png
1 NO CONTENT: file renamed from schainpy/gui/figure/pausered.png to schainpy/gui/figures/pausered.png
NO CONTENT: file renamed from schainpy/gui/figure/pausered.png to schainpy/gui/figures/pausered.png
1 NO CONTENT: file renamed from schainpy/gui/figure/play.jpg to schainpy/gui/figures/play.jpg
NO CONTENT: file renamed from schainpy/gui/figure/play.jpg to schainpy/gui/figures/play.jpg
1 NO CONTENT: file renamed from schainpy/gui/figure/project.gif to schainpy/gui/figures/project.gif
NO CONTENT: file renamed from schainpy/gui/figure/project.gif to schainpy/gui/figures/project.gif
1 NO CONTENT: file renamed from schainpy/gui/figure/saveicon.jpeg to schainpy/gui/figures/saveicon.jpeg
NO CONTENT: file renamed from schainpy/gui/figure/saveicon.jpeg to schainpy/gui/figures/saveicon.jpeg
1 NO CONTENT: file renamed from schainpy/gui/figure/startServer.png to schainpy/gui/figures/startServer.png
NO CONTENT: file renamed from schainpy/gui/figure/startServer.png to schainpy/gui/figures/startServer.png
1 NO CONTENT: file renamed from schainpy/gui/figure/stop.jpg to schainpy/gui/figures/stop.jpg
NO CONTENT: file renamed from schainpy/gui/figure/stop.jpg to schainpy/gui/figures/stop.jpg
1 NO CONTENT: file renamed from schainpy/gui/figure/stopServer.png to schainpy/gui/figures/stopServer.png
NO CONTENT: file renamed from schainpy/gui/figure/stopServer.png to schainpy/gui/figures/stopServer.png
1 NO CONTENT: file renamed from schainpy/gui/figure/w.jpg to schainpy/gui/figures/w.jpg
NO CONTENT: file renamed from schainpy/gui/figure/w.jpg to schainpy/gui/figures/w.jpg
1 NO CONTENT: file renamed from schainpy/gui/schaingui.py to schainpy/gui/schainGUI
NO CONTENT: file renamed from schainpy/gui/schaingui.py to schainpy/gui/schainGUI
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
@@ -1,42 +1,46
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2
2
3 """
3 """
4 Module implementing InitWindow.
4 Module implementing InitWindow.
5 """
5 """
6 import os
6
7
7 from PyQt4.QtGui import QDialog
8 from PyQt4.QtGui import QDialog
8 from PyQt4.QtCore import pyqtSignature
9 from PyQt4.QtCore import pyqtSignature
9 from PyQt4 import QtCore
10 from PyQt4 import QtCore
10 from PyQt4 import QtGui
11 from PyQt4 import QtGui
11
12
12 from schainpy.gui.viewer.ui_initwindow import Ui_InitWindow
13 from schainpy.gui.viewer.ui_initwindow import Ui_InitWindow
14 from schainpy.gui.figures import tools
15
16 FIGURES_PATH = tools.get_path()
13
17
14 class InitWindow(QDialog, Ui_InitWindow):
18 class InitWindow(QDialog, Ui_InitWindow):
15 """
19 """
16 Class documentation goes here.
20 Class documentation goes here.
17 """
21 """
18 def __init__(self, parent = None):
22 def __init__(self, parent = None):
19 """
23 """
20 Constructor
24 Constructor
21 """
25 """
22 QDialog.__init__(self, parent)
26 QDialog.__init__(self, parent)
23 self.setupUi(self)
27 self.setupUi(self)
24 self.setWindowTitle("ROJ-Signal Chain")
28 self.setWindowTitle("ROJ-Signal Chain")
25 self.setWindowIcon(QtGui.QIcon("schainpy/gui/figure/adn.jpg"))
29 self.setWindowIcon(QtGui.QIcon( os.path.join(FIGURES_PATH,"adn.jpg") ))
26
30
27 @pyqtSignature("")
31 @pyqtSignature("")
28 def on_ExitBtn_clicked(self):
32 def on_ExitBtn_clicked(self):
29 """
33 """
30 Exit cierra la ventana de Bienvenida
34 Exit cierra la ventana de Bienvenida
31 """
35 """
32 self.close()
36 self.close()
33
37
34 @pyqtSignature("")
38 @pyqtSignature("")
35 def on_ContinueBtn_clicked(self):
39 def on_ContinueBtn_clicked(self):
36 """
40 """
37 Continue cierra la ventana de Bienvenida, a este evento se le complementa con la accion
41 Continue cierra la ventana de Bienvenida, a este evento se le complementa con la accion
38 conectar con la ventana de configuracion de Workspace
42 conectar con la ventana de configuracion de Workspace
39 """
43 """
40 # TODO: not implemented yet
44 # TODO: not implemented yet
41 #raise NotImplementedError
45 #raise NotImplementedError
42 self.accept()
46 self.accept()
@@ -1,67 +1,70
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2 import os
2 import os
3 from os.path import expanduser
3 from os.path import expanduser
4
4
5 from PyQt4.QtGui import QDialog
5 from PyQt4.QtGui import QDialog
6 from PyQt4.QtCore import pyqtSignature
6 from PyQt4.QtCore import pyqtSignature
7 from PyQt4.QtCore import pyqtSignal
7 from PyQt4.QtCore import pyqtSignal
8 from PyQt4 import QtGui, QtCore
8 from PyQt4 import QtGui, QtCore
9
9
10 from schainpy.gui.viewer.ui_workspace import Ui_Workspace
10 from schainpy.gui.viewer.ui_workspace import Ui_Workspace
11 from schainpy.gui.figures import tools
12
13 FIGURES_PATH = tools.get_path()
11
14
12 class Workspace(QDialog, Ui_Workspace):
15 class Workspace(QDialog, Ui_Workspace):
13 """
16 """
14 Class documentation goes here.
17 Class documentation goes here.
15 """
18 """
16
19
17 def __init__(self, parent = None):
20 def __init__(self, parent = None):
18 """
21 """
19 Constructor
22 Constructor
20 """
23 """
21 QDialog.__init__(self, parent)
24 QDialog.__init__(self, parent)
22 self.dirList=[]
25 self.dirList=[]
23 self.setupUi(self)
26 self.setupUi(self)
24 self.setWindowTitle("ROJ-Signal Chain")
27 self.setWindowTitle("ROJ-Signal Chain")
25 self.setWindowIcon(QtGui.QIcon("schainpy/gui/figure/adn.jpg"))
28 self.setWindowIcon(QtGui.QIcon( os.path.join(FIGURES_PATH,"adn.jpg") ))
26 #*####### DIRECTORIO DE TRABAJO #########*#
29 #*####### DIRECTORIO DE TRABAJO #########*#
27 #self.dirCmbBox.setItemText(0, QtGui.QApplication.translate("MainWindow", "C:\WorkSpaceGui", None, QtGui.QApplication.UnicodeUTF8))
30 #self.dirCmbBox.setItemText(0, QtGui.QApplication.translate("MainWindow", "C:\WorkSpaceGui", None, QtGui.QApplication.UnicodeUTF8))
28 home=expanduser("~")
31 home=expanduser("~")
29 self.dir=os.path.join(home,'schain_workspace')
32 self.dir=os.path.join(home,'schain_workspace')
30 if not os.path.exists(self.dir):
33 if not os.path.exists(self.dir):
31 os.makedirs(self.dir)
34 os.makedirs(self.dir)
32 self.dirComBox.addItem(self.dir)
35 self.dirComBox.addItem(self.dir)
33 self.i=0
36 self.i=0
34
37
35
38
36 @pyqtSignature("")
39 @pyqtSignature("")
37 def on_dirToolPath_clicked(self):
40 def on_dirToolPath_clicked(self):
38 """
41 """
39 Slot documentation goes here.
42 Slot documentation goes here.
40 """
43 """
41 self.i +=1
44 self.i +=1
42 self.dirBrowse = str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly))
45 self.dirBrowse = str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly))
43 self.dirComBox.addItem(self.dirBrowse)
46 self.dirComBox.addItem(self.dirBrowse)
44 self.dirComBox.setCurrentIndex(self.i)
47 self.dirComBox.setCurrentIndex(self.i)
45
48
46
49
47
50
48 @pyqtSignature("")
51 @pyqtSignature("")
49 def on_dirOkBtn_clicked(self):
52 def on_dirOkBtn_clicked(self):
50 """
53 """
51 VISTA DE INTERFAZ GRÁFICA
54 VISTA DE INTERFAZ GRÁFICA
52 """
55 """
53 self.accept()
56 self.accept()
54 # self.close()
57 # self.close()
55 #
58 #
56 @pyqtSignature("")
59 @pyqtSignature("")
57 def on_dirCancelBtn_clicked(self):
60 def on_dirCancelBtn_clicked(self):
58 """
61 """
59 Cerrar
62 Cerrar
60 """
63 """
61 self.close()
64 self.close()
62
65
63
66
64
67
65
68
66
69
67 No newline at end of file
70
@@ -1,88 +1,93
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2
2
3 # Form implementation generated from reading ui file '/home/roj-idl71/SignalChain/initwindowv2.ui'
3 # Form implementation generated from reading ui file '/home/roj-idl71/SignalChain/initwindowv2.ui'
4 #
4 #
5 # Created: Wed Mar 6 15:32:39 2013
5 # Created: Wed Mar 6 15:32:39 2013
6 # by: PyQt4 UI code generator 4.8.6
6 # by: PyQt4 UI code generator 4.8.6
7 #
7 #
8 # WARNING! All changes made in this file will be lost!
8 # WARNING! All changes made in this file will be lost!
9
9
10 from PyQt4 import QtCore, QtGui
10 from PyQt4 import QtCore, QtGui
11
11
12 try:
12 try:
13 _fromUtf8 = QtCore.QString.fromUtf8
13 _fromUtf8 = QtCore.QString.fromUtf8
14 except AttributeError:
14 except AttributeError:
15 _fromUtf8 = lambda s: s
15 _fromUtf8 = lambda s: s
16
16
17 import os
18 from schainpy.gui.figures import tools
19
20 FIGURES_PATH = tools.get_path()
21
17 class Ui_InitWindow(object):
22 class Ui_InitWindow(object):
18 def setupUi(self, Dialog):
23 def setupUi(self, Dialog):
19 Dialog.setObjectName(_fromUtf8("Dialog"))
24 Dialog.setObjectName(_fromUtf8("Dialog"))
20 Dialog.resize(652, 496)
25 Dialog.resize(652, 496)
21 Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
26 Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
22 self.gridLayout = QtGui.QGridLayout(Dialog)
27 self.gridLayout = QtGui.QGridLayout(Dialog)
23 self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
28 self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
24 self.verticalLayout_3 = QtGui.QVBoxLayout()
29 self.verticalLayout_3 = QtGui.QVBoxLayout()
25 self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
30 self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
26 self.verticalLayout_4 = QtGui.QVBoxLayout()
31 self.verticalLayout_4 = QtGui.QVBoxLayout()
27 self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
32 self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
28 self.label_3 = QtGui.QLabel(Dialog)
33 self.label_3 = QtGui.QLabel(Dialog)
29 font = QtGui.QFont()
34 font = QtGui.QFont()
30 font.setFamily(_fromUtf8("Cambria"))
35 font.setFamily(_fromUtf8("Cambria"))
31 font.setPointSize(22)
36 font.setPointSize(22)
32 font.setBold(False)
37 font.setBold(False)
33 font.setWeight(50)
38 font.setWeight(50)
34 self.label_3.setFont(font)
39 self.label_3.setFont(font)
35 self.label_3.setText(QtGui.QApplication.translate("Dialog", "Signal Chain - Ver. 1.0", None, QtGui.QApplication.UnicodeUTF8))
40 self.label_3.setText(QtGui.QApplication.translate("Dialog", "Signal Chain - Ver. 1.0", None, QtGui.QApplication.UnicodeUTF8))
36 self.label_3.setObjectName(_fromUtf8("label_3"))
41 self.label_3.setObjectName(_fromUtf8("label_3"))
37 self.verticalLayout_4.addWidget(self.label_3)
42 self.verticalLayout_4.addWidget(self.label_3)
38 self.line_2 = QtGui.QFrame(Dialog)
43 self.line_2 = QtGui.QFrame(Dialog)
39 self.line_2.setFrameShape(QtGui.QFrame.HLine)
44 self.line_2.setFrameShape(QtGui.QFrame.HLine)
40 self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
45 self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
41 self.line_2.setObjectName(_fromUtf8("line_2"))
46 self.line_2.setObjectName(_fromUtf8("line_2"))
42 self.verticalLayout_4.addWidget(self.line_2)
47 self.verticalLayout_4.addWidget(self.line_2)
43 self.label_4 = QtGui.QLabel(Dialog)
48 self.label_4 = QtGui.QLabel(Dialog)
44 self.label_4.setText(_fromUtf8(""))
49 self.label_4.setText(_fromUtf8(""))
45 self.label_4.setPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/w.jpg")))
50 self.label_4.setPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"w.jpg") )))
46 self.label_4.setScaledContents(True)
51 self.label_4.setScaledContents(True)
47 self.label_4.setObjectName(_fromUtf8("label_4"))
52 self.label_4.setObjectName(_fromUtf8("label_4"))
48 self.verticalLayout_4.addWidget(self.label_4)
53 self.verticalLayout_4.addWidget(self.label_4)
49 self.verticalLayout_3.addLayout(self.verticalLayout_4)
54 self.verticalLayout_3.addLayout(self.verticalLayout_4)
50 self.horizontalLayout_3 = QtGui.QHBoxLayout()
55 self.horizontalLayout_3 = QtGui.QHBoxLayout()
51 self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
56 self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
52 self.horizontalLayout_4 = QtGui.QHBoxLayout()
57 self.horizontalLayout_4 = QtGui.QHBoxLayout()
53 self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
58 self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
54 spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
59 spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
55 self.horizontalLayout_4.addItem(spacerItem)
60 self.horizontalLayout_4.addItem(spacerItem)
56 self.ExitBtn = QtGui.QPushButton(Dialog)
61 self.ExitBtn = QtGui.QPushButton(Dialog)
57 self.ExitBtn.setText(QtGui.QApplication.translate("Dialog", "Exit", None, QtGui.QApplication.UnicodeUTF8))
62 self.ExitBtn.setText(QtGui.QApplication.translate("Dialog", "Exit", None, QtGui.QApplication.UnicodeUTF8))
58 self.ExitBtn.setObjectName(_fromUtf8("ExitBtn"))
63 self.ExitBtn.setObjectName(_fromUtf8("ExitBtn"))
59 self.horizontalLayout_4.addWidget(self.ExitBtn)
64 self.horizontalLayout_4.addWidget(self.ExitBtn)
60 self.ContinueBtn = QtGui.QPushButton(Dialog)
65 self.ContinueBtn = QtGui.QPushButton(Dialog)
61 self.ContinueBtn.setText(QtGui.QApplication.translate("Dialog", "Continue", None, QtGui.QApplication.UnicodeUTF8))
66 self.ContinueBtn.setText(QtGui.QApplication.translate("Dialog", "Continue", None, QtGui.QApplication.UnicodeUTF8))
62 self.ContinueBtn.setObjectName(_fromUtf8("ContinueBtn"))
67 self.ContinueBtn.setObjectName(_fromUtf8("ContinueBtn"))
63 self.horizontalLayout_4.addWidget(self.ContinueBtn)
68 self.horizontalLayout_4.addWidget(self.ContinueBtn)
64 spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
69 spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
65 self.horizontalLayout_4.addItem(spacerItem1)
70 self.horizontalLayout_4.addItem(spacerItem1)
66 self.horizontalLayout_3.addLayout(self.horizontalLayout_4)
71 self.horizontalLayout_3.addLayout(self.horizontalLayout_4)
67 self.verticalLayout_3.addLayout(self.horizontalLayout_3)
72 self.verticalLayout_3.addLayout(self.horizontalLayout_3)
68 self.gridLayout.addLayout(self.verticalLayout_3, 0, 0, 1, 1)
73 self.gridLayout.addLayout(self.verticalLayout_3, 0, 0, 1, 1)
69
74
70 self.retranslateUi(Dialog)
75 self.retranslateUi(Dialog)
71 QtCore.QMetaObject.connectSlotsByName(Dialog)
76 QtCore.QMetaObject.connectSlotsByName(Dialog)
72
77
73 def retranslateUi(self, Dialog):
78 def retranslateUi(self, Dialog):
74 pass
79 pass
75
80
76
81
77 if __name__ == "__main__":
82 if __name__ == "__main__":
78 import sys
83 import sys
79 app = QtGui.QApplication(sys.argv)
84 app = QtGui.QApplication(sys.argv)
80 Dialog = QtGui.QDialog()
85 Dialog = QtGui.QDialog()
81 ui = Ui_InitWindow()
86 ui = Ui_InitWindow()
82 ui.setupUi(Dialog)
87 ui.setupUi(Dialog)
83 Dialog.show()
88 Dialog.show()
84 sys.exit(app.exec_())
89 sys.exit(app.exec_())
85
90
86
91
87
92
88
93
@@ -1,1532 +1,1537
1 # -*- coding: utf-8 -*-
1 # -*- coding: utf-8 -*-
2
2
3 # Form implementation generated from reading ui file '/home/alex/ui/MainWindow_21_02_13_v49.ui'
3 # Form implementation generated from reading ui file '/home/alex/ui/MainWindow_21_02_13_v49.ui'
4 #
4 #
5 # Created: Mon Mar 24 13:28:36 2014
5 # Created: Mon Mar 24 13:28:36 2014
6 # by: PyQt4 UI code generator 4.10
6 # by: PyQt4 UI code generator 4.10
7 #
7 #
8 # WARNING! All changes made in this file will be lost!
8 # WARNING! All changes made in this file will be lost!
9
9
10 from PyQt4 import QtCore, QtGui
10 from PyQt4 import QtCore, QtGui
11 from windows import *
11 from windows import *
12
12
13 try:
13 try:
14 _fromUtf8 = QtCore.QString.fromUtf8
14 _fromUtf8 = QtCore.QString.fromUtf8
15 except AttributeError:
15 except AttributeError:
16 def _fromUtf8(s):
16 def _fromUtf8(s):
17 return s
17 return s
18
18
19 try:
19 try:
20 _encoding = QtGui.QApplication.UnicodeUTF8
20 _encoding = QtGui.QApplication.UnicodeUTF8
21 def _translate(context, text, disambig):
21 def _translate(context, text, disambig):
22 return QtGui.QApplication.translate(context, text, disambig, _encoding)
22 return QtGui.QApplication.translate(context, text, disambig, _encoding)
23 except AttributeError:
23 except AttributeError:
24 def _translate(context, text, disambig):
24 def _translate(context, text, disambig):
25 return QtGui.QApplication.translate(context, text, disambig)
25 return QtGui.QApplication.translate(context, text, disambig)
26
26
27 import os
28 from schainpy.gui.figures import tools
29
30 FIGURES_PATH = tools.get_path()
31
27 class Ui_MainWindow(object):
32 class Ui_MainWindow(object):
28
33
29 def setupUi(self, MainWindow):
34 def setupUi(self, MainWindow):
30
35
31 MainWindow.setObjectName(_fromUtf8("MainWindow"))
36 MainWindow.setObjectName(_fromUtf8("MainWindow"))
32 MainWindow.resize(1203, 711)
37 MainWindow.resize(1203, 711)
33
38
34 self.centralWidget = QtGui.QWidget(MainWindow)
39 self.centralWidget = QtGui.QWidget(MainWindow)
35 self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
40 self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
36 self.gridLayout_16 = QtGui.QGridLayout(self.centralWidget)
41 self.gridLayout_16 = QtGui.QGridLayout(self.centralWidget)
37 self.gridLayout_16.setObjectName(_fromUtf8("gridLayout_16"))
42 self.gridLayout_16.setObjectName(_fromUtf8("gridLayout_16"))
38 self.splitter_2 = QtGui.QSplitter(self.centralWidget)
43 self.splitter_2 = QtGui.QSplitter(self.centralWidget)
39 self.splitter_2.setOrientation(QtCore.Qt.Horizontal)
44 self.splitter_2.setOrientation(QtCore.Qt.Horizontal)
40 self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
45 self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
41 self.projectExplorerTree = QtGui.QTreeView(self.splitter_2)
46 self.projectExplorerTree = QtGui.QTreeView(self.splitter_2)
42 self.projectExplorerTree.setObjectName(_fromUtf8("projectExplorerTree"))
47 self.projectExplorerTree.setObjectName(_fromUtf8("projectExplorerTree"))
43 self.splitter = QtGui.QSplitter(self.splitter_2)
48 self.splitter = QtGui.QSplitter(self.splitter_2)
44 self.splitter.setOrientation(QtCore.Qt.Vertical)
49 self.splitter.setOrientation(QtCore.Qt.Vertical)
45 self.splitter.setObjectName(_fromUtf8("splitter"))
50 self.splitter.setObjectName(_fromUtf8("splitter"))
46 self.tabWidgetProject = QtGui.QTabWidget(self.splitter)
51 self.tabWidgetProject = QtGui.QTabWidget(self.splitter)
47 self.tabWidgetProject.setMinimumSize(QtCore.QSize(0, 278))
52 self.tabWidgetProject.setMinimumSize(QtCore.QSize(0, 278))
48 self.tabWidgetProject.setMaximumSize(QtCore.QSize(16777215, 16777215))
53 self.tabWidgetProject.setMaximumSize(QtCore.QSize(16777215, 16777215))
49 self.tabWidgetProject.setObjectName(_fromUtf8("tabWidgetProject"))
54 self.tabWidgetProject.setObjectName(_fromUtf8("tabWidgetProject"))
50
55
51
56
52 self.tabProject = QtGui.QWidget()
57 self.tabProject = QtGui.QWidget()
53 self.tabProject.setObjectName(_fromUtf8("tabProject"))
58 self.tabProject.setObjectName(_fromUtf8("tabProject"))
54 self.gridLayout_15 = QtGui.QGridLayout(self.tabProject)
59 self.gridLayout_15 = QtGui.QGridLayout(self.tabProject)
55 self.gridLayout_15.setObjectName(_fromUtf8("gridLayout_15"))
60 self.gridLayout_15.setObjectName(_fromUtf8("gridLayout_15"))
56 self.frame = QtGui.QFrame(self.tabProject)
61 self.frame = QtGui.QFrame(self.tabProject)
57 self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
62 self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
58 self.frame.setFrameShadow(QtGui.QFrame.Raised)
63 self.frame.setFrameShadow(QtGui.QFrame.Raised)
59 self.frame.setObjectName(_fromUtf8("frame"))
64 self.frame.setObjectName(_fromUtf8("frame"))
60 self.gridLayout_2 = QtGui.QGridLayout(self.frame)
65 self.gridLayout_2 = QtGui.QGridLayout(self.frame)
61 self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
66 self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
62
67
63 self.label = QtGui.QLabel(self.frame)
68 self.label = QtGui.QLabel(self.frame)
64 self.label.setObjectName(_fromUtf8("label"))
69 self.label.setObjectName(_fromUtf8("label"))
65 self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
70 self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
66 self.proName = QtGui.QLineEdit(self.frame)
71 self.proName = QtGui.QLineEdit(self.frame)
67 self.proName.setObjectName(_fromUtf8("proName"))
72 self.proName.setObjectName(_fromUtf8("proName"))
68 self.gridLayout_2.addWidget(self.proName, 0, 1, 1, 8)
73 self.gridLayout_2.addWidget(self.proName, 0, 1, 1, 8)
69 self.label_11 = QtGui.QLabel(self.frame)
74 self.label_11 = QtGui.QLabel(self.frame)
70 self.label_11.setObjectName(_fromUtf8("label_11"))
75 self.label_11.setObjectName(_fromUtf8("label_11"))
71 self.gridLayout_2.addWidget(self.label_11, 1, 0, 1, 1)
76 self.gridLayout_2.addWidget(self.label_11, 1, 0, 1, 1)
72 self.proComDataType = QtGui.QComboBox(self.frame)
77 self.proComDataType = QtGui.QComboBox(self.frame)
73 self.proComDataType.setObjectName(_fromUtf8("proComDataType"))
78 self.proComDataType.setObjectName(_fromUtf8("proComDataType"))
74 self.proComDataType.addItem(_fromUtf8(""))
79 self.proComDataType.addItem(_fromUtf8(""))
75 self.proComDataType.addItem(_fromUtf8(""))
80 self.proComDataType.addItem(_fromUtf8(""))
76 self.proComDataType.addItem(_fromUtf8(""))
81 self.proComDataType.addItem(_fromUtf8(""))
77 self.gridLayout_2.addWidget(self.proComDataType, 1, 1, 1, 5)
82 self.gridLayout_2.addWidget(self.proComDataType, 1, 1, 1, 5)
78 self.proDataType = QtGui.QLineEdit(self.frame)
83 self.proDataType = QtGui.QLineEdit(self.frame)
79 self.proDataType.setObjectName(_fromUtf8("proDataType"))
84 self.proDataType.setObjectName(_fromUtf8("proDataType"))
80 self.gridLayout_2.addWidget(self.proDataType, 1, 6, 1, 3)
85 self.gridLayout_2.addWidget(self.proDataType, 1, 6, 1, 3)
81 self.label_15 = QtGui.QLabel(self.frame)
86 self.label_15 = QtGui.QLabel(self.frame)
82 self.label_15.setObjectName(_fromUtf8("label_15"))
87 self.label_15.setObjectName(_fromUtf8("label_15"))
83 self.gridLayout_2.addWidget(self.label_15, 2, 0, 1, 1)
88 self.gridLayout_2.addWidget(self.label_15, 2, 0, 1, 1)
84 self.proToolPath = QtGui.QToolButton(self.frame)
89 self.proToolPath = QtGui.QToolButton(self.frame)
85 self.proToolPath.setObjectName(_fromUtf8("proToolPath"))
90 self.proToolPath.setObjectName(_fromUtf8("proToolPath"))
86 self.gridLayout_2.addWidget(self.proToolPath, 2, 1, 1, 1)
91 self.gridLayout_2.addWidget(self.proToolPath, 2, 1, 1, 1)
87 self.proDataPath = QtGui.QLineEdit(self.frame)
92 self.proDataPath = QtGui.QLineEdit(self.frame)
88 self.proDataPath.setObjectName(_fromUtf8("proDataPath"))
93 self.proDataPath.setObjectName(_fromUtf8("proDataPath"))
89 self.gridLayout_2.addWidget(self.proDataPath, 2, 2, 1, 7)
94 self.gridLayout_2.addWidget(self.proDataPath, 2, 2, 1, 7)
90 self.label_23 = QtGui.QLabel(self.frame)
95 self.label_23 = QtGui.QLabel(self.frame)
91 self.label_23.setObjectName(_fromUtf8("label_23"))
96 self.label_23.setObjectName(_fromUtf8("label_23"))
92 self.gridLayout_2.addWidget(self.label_23, 3, 0, 1, 1)
97 self.gridLayout_2.addWidget(self.label_23, 3, 0, 1, 1)
93 self.proComReadMode = QtGui.QComboBox(self.frame)
98 self.proComReadMode = QtGui.QComboBox(self.frame)
94 self.proComReadMode.setObjectName(_fromUtf8("proComReadMode"))
99 self.proComReadMode.setObjectName(_fromUtf8("proComReadMode"))
95 self.proComReadMode.addItem(_fromUtf8(""))
100 self.proComReadMode.addItem(_fromUtf8(""))
96 self.proComReadMode.addItem(_fromUtf8(""))
101 self.proComReadMode.addItem(_fromUtf8(""))
97 self.gridLayout_2.addWidget(self.proComReadMode, 3, 1, 1, 2)
102 self.gridLayout_2.addWidget(self.proComReadMode, 3, 1, 1, 2)
98 self.label_33 = QtGui.QLabel(self.frame)
103 self.label_33 = QtGui.QLabel(self.frame)
99 self.label_33.setObjectName(_fromUtf8("label_33"))
104 self.label_33.setObjectName(_fromUtf8("label_33"))
100 self.gridLayout_2.addWidget(self.label_33, 3, 5, 1, 2)
105 self.gridLayout_2.addWidget(self.label_33, 3, 5, 1, 2)
101 self.proDelay = QtGui.QLineEdit(self.frame)
106 self.proDelay = QtGui.QLineEdit(self.frame)
102 self.proDelay.setObjectName(_fromUtf8("proDelay"))
107 self.proDelay.setObjectName(_fromUtf8("proDelay"))
103 self.gridLayout_2.addWidget(self.proDelay, 3, 8, 1, 1)
108 self.gridLayout_2.addWidget(self.proDelay, 3, 8, 1, 1)
104 self.label_32 = QtGui.QLabel(self.frame)
109 self.label_32 = QtGui.QLabel(self.frame)
105 self.label_32.setObjectName(_fromUtf8("label_32"))
110 self.label_32.setObjectName(_fromUtf8("label_32"))
106 self.gridLayout_2.addWidget(self.label_32, 4, 0, 1, 1)
111 self.gridLayout_2.addWidget(self.label_32, 4, 0, 1, 1)
107 self.proComWalk = QtGui.QComboBox(self.frame)
112 self.proComWalk = QtGui.QComboBox(self.frame)
108 self.proComWalk.setObjectName(_fromUtf8("proComWalk"))
113 self.proComWalk.setObjectName(_fromUtf8("proComWalk"))
109 self.proComWalk.addItem(_fromUtf8(""))
114 self.proComWalk.addItem(_fromUtf8(""))
110 self.proComWalk.addItem(_fromUtf8(""))
115 self.proComWalk.addItem(_fromUtf8(""))
111 self.gridLayout_2.addWidget(self.proComWalk, 4, 1, 1, 8)
116 self.gridLayout_2.addWidget(self.proComWalk, 4, 1, 1, 8)
112 self.proLoadButton = QtGui.QPushButton(self.frame)
117 self.proLoadButton = QtGui.QPushButton(self.frame)
113 self.proLoadButton.setObjectName(_fromUtf8("proLoadButton"))
118 self.proLoadButton.setObjectName(_fromUtf8("proLoadButton"))
114 self.gridLayout_2.addWidget(self.proLoadButton, 5, 0, 1, 9)
119 self.gridLayout_2.addWidget(self.proLoadButton, 5, 0, 1, 9)
115 self.label_10 = QtGui.QLabel(self.frame)
120 self.label_10 = QtGui.QLabel(self.frame)
116 self.label_10.setObjectName(_fromUtf8("label_10"))
121 self.label_10.setObjectName(_fromUtf8("label_10"))
117 self.gridLayout_2.addWidget(self.label_10, 3, 3, 1, 1)
122 self.gridLayout_2.addWidget(self.label_10, 3, 3, 1, 1)
118 self.proSet = QtGui.QLineEdit(self.frame)
123 self.proSet = QtGui.QLineEdit(self.frame)
119 self.proSet.setObjectName(_fromUtf8("proSet"))
124 self.proSet.setObjectName(_fromUtf8("proSet"))
120 self.gridLayout_2.addWidget(self.proSet, 3, 4, 1, 1)
125 self.gridLayout_2.addWidget(self.proSet, 3, 4, 1, 1)
121 self.gridLayout_15.addWidget(self.frame, 0, 0, 1, 1)
126 self.gridLayout_15.addWidget(self.frame, 0, 0, 1, 1)
122 self.frame_2 = QtGui.QFrame(self.tabProject)
127 self.frame_2 = QtGui.QFrame(self.tabProject)
123 self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel)
128 self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel)
124 self.frame_2.setFrameShadow(QtGui.QFrame.Raised)
129 self.frame_2.setFrameShadow(QtGui.QFrame.Raised)
125 self.frame_2.setObjectName(_fromUtf8("frame_2"))
130 self.frame_2.setObjectName(_fromUtf8("frame_2"))
126 self.gridLayout_10 = QtGui.QGridLayout(self.frame_2)
131 self.gridLayout_10 = QtGui.QGridLayout(self.frame_2)
127 self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10"))
132 self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10"))
128 self.label_27 = QtGui.QLabel(self.frame_2)
133 self.label_27 = QtGui.QLabel(self.frame_2)
129 self.label_27.setObjectName(_fromUtf8("label_27"))
134 self.label_27.setObjectName(_fromUtf8("label_27"))
130 self.gridLayout_10.addWidget(self.label_27, 0, 0, 1, 1)
135 self.gridLayout_10.addWidget(self.label_27, 0, 0, 1, 1)
131 self.proComStartDate = QtGui.QComboBox(self.frame_2)
136 self.proComStartDate = QtGui.QComboBox(self.frame_2)
132 self.proComStartDate.setObjectName(_fromUtf8("proComStartDate"))
137 self.proComStartDate.setObjectName(_fromUtf8("proComStartDate"))
133 self.gridLayout_10.addWidget(self.proComStartDate, 0, 1, 1, 1)
138 self.gridLayout_10.addWidget(self.proComStartDate, 0, 1, 1, 1)
134 self.label_28 = QtGui.QLabel(self.frame_2)
139 self.label_28 = QtGui.QLabel(self.frame_2)
135 self.label_28.setObjectName(_fromUtf8("label_28"))
140 self.label_28.setObjectName(_fromUtf8("label_28"))
136 self.gridLayout_10.addWidget(self.label_28, 1, 0, 1, 1)
141 self.gridLayout_10.addWidget(self.label_28, 1, 0, 1, 1)
137 self.proComEndDate = QtGui.QComboBox(self.frame_2)
142 self.proComEndDate = QtGui.QComboBox(self.frame_2)
138 self.proComEndDate.setObjectName(_fromUtf8("proComEndDate"))
143 self.proComEndDate.setObjectName(_fromUtf8("proComEndDate"))
139 self.gridLayout_10.addWidget(self.proComEndDate, 1, 1, 1, 1)
144 self.gridLayout_10.addWidget(self.proComEndDate, 1, 1, 1, 1)
140 self.label_2 = QtGui.QLabel(self.frame_2)
145 self.label_2 = QtGui.QLabel(self.frame_2)
141 self.label_2.setObjectName(_fromUtf8("label_2"))
146 self.label_2.setObjectName(_fromUtf8("label_2"))
142 self.gridLayout_10.addWidget(self.label_2, 2, 0, 1, 1)
147 self.gridLayout_10.addWidget(self.label_2, 2, 0, 1, 1)
143 self.proStartTime = QtGui.QTimeEdit(self.frame_2)
148 self.proStartTime = QtGui.QTimeEdit(self.frame_2)
144 self.proStartTime.setObjectName(_fromUtf8("proStartTime"))
149 self.proStartTime.setObjectName(_fromUtf8("proStartTime"))
145 self.gridLayout_10.addWidget(self.proStartTime, 2, 1, 1, 1)
150 self.gridLayout_10.addWidget(self.proStartTime, 2, 1, 1, 1)
146 self.label_3 = QtGui.QLabel(self.frame_2)
151 self.label_3 = QtGui.QLabel(self.frame_2)
147 self.label_3.setObjectName(_fromUtf8("label_3"))
152 self.label_3.setObjectName(_fromUtf8("label_3"))
148 self.gridLayout_10.addWidget(self.label_3, 3, 0, 1, 1)
153 self.gridLayout_10.addWidget(self.label_3, 3, 0, 1, 1)
149 self.proEndTime = QtGui.QTimeEdit(self.frame_2)
154 self.proEndTime = QtGui.QTimeEdit(self.frame_2)
150 self.proEndTime.setObjectName(_fromUtf8("proEndTime"))
155 self.proEndTime.setObjectName(_fromUtf8("proEndTime"))
151 self.gridLayout_10.addWidget(self.proEndTime, 3, 1, 1, 1)
156 self.gridLayout_10.addWidget(self.proEndTime, 3, 1, 1, 1)
152 self.label_30 = QtGui.QLabel(self.frame_2)
157 self.label_30 = QtGui.QLabel(self.frame_2)
153 self.label_30.setObjectName(_fromUtf8("label_30"))
158 self.label_30.setObjectName(_fromUtf8("label_30"))
154 self.gridLayout_10.addWidget(self.label_30, 4, 0, 1, 1)
159 self.gridLayout_10.addWidget(self.label_30, 4, 0, 1, 1)
155 self.proDescription = QtGui.QTextEdit(self.frame_2)
160 self.proDescription = QtGui.QTextEdit(self.frame_2)
156 self.proDescription.setObjectName(_fromUtf8("proDescription"))
161 self.proDescription.setObjectName(_fromUtf8("proDescription"))
157 self.gridLayout_10.addWidget(self.proDescription, 4, 1, 1, 1)
162 self.gridLayout_10.addWidget(self.proDescription, 4, 1, 1, 1)
158 self.gridLayout_15.addWidget(self.frame_2, 1, 0, 1, 1)
163 self.gridLayout_15.addWidget(self.frame_2, 1, 0, 1, 1)
159 self.frame_3 = QtGui.QFrame(self.tabProject)
164 self.frame_3 = QtGui.QFrame(self.tabProject)
160 self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel)
165 self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel)
161 self.frame_3.setFrameShadow(QtGui.QFrame.Raised)
166 self.frame_3.setFrameShadow(QtGui.QFrame.Raised)
162 self.frame_3.setObjectName(_fromUtf8("frame_3"))
167 self.frame_3.setObjectName(_fromUtf8("frame_3"))
163 self.gridLayout_14 = QtGui.QGridLayout(self.frame_3)
168 self.gridLayout_14 = QtGui.QGridLayout(self.frame_3)
164 self.gridLayout_14.setObjectName(_fromUtf8("gridLayout_14"))
169 self.gridLayout_14.setObjectName(_fromUtf8("gridLayout_14"))
165 self.proOk = QtGui.QPushButton(self.frame_3)
170 self.proOk = QtGui.QPushButton(self.frame_3)
166 self.proOk.setObjectName(_fromUtf8("proOk"))
171 self.proOk.setObjectName(_fromUtf8("proOk"))
167 self.gridLayout_14.addWidget(self.proOk, 0, 0, 1, 1)
172 self.gridLayout_14.addWidget(self.proOk, 0, 0, 1, 1)
168 self.proClear = QtGui.QPushButton(self.frame_3)
173 self.proClear = QtGui.QPushButton(self.frame_3)
169 self.proClear.setObjectName(_fromUtf8("proClear"))
174 self.proClear.setObjectName(_fromUtf8("proClear"))
170 self.gridLayout_14.addWidget(self.proClear, 0, 1, 1, 1)
175 self.gridLayout_14.addWidget(self.proClear, 0, 1, 1, 1)
171 self.gridLayout_15.addWidget(self.frame_3, 2, 0, 1, 1)
176 self.gridLayout_15.addWidget(self.frame_3, 2, 0, 1, 1)
172 self.tabWidgetProject.addTab(self.tabProject, _fromUtf8(""))
177 self.tabWidgetProject.addTab(self.tabProject, _fromUtf8(""))
173 self.tabVoltage = QtGui.QWidget()
178 self.tabVoltage = QtGui.QWidget()
174 self.tabVoltage.setObjectName(_fromUtf8("tabVoltage"))
179 self.tabVoltage.setObjectName(_fromUtf8("tabVoltage"))
175 self.gridLayout_3 = QtGui.QGridLayout(self.tabVoltage)
180 self.gridLayout_3 = QtGui.QGridLayout(self.tabVoltage)
176 self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
181 self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
177 self.frame_4 = QtGui.QFrame(self.tabVoltage)
182 self.frame_4 = QtGui.QFrame(self.tabVoltage)
178 self.frame_4.setFrameShape(QtGui.QFrame.StyledPanel)
183 self.frame_4.setFrameShape(QtGui.QFrame.StyledPanel)
179 self.frame_4.setFrameShadow(QtGui.QFrame.Raised)
184 self.frame_4.setFrameShadow(QtGui.QFrame.Raised)
180 self.frame_4.setObjectName(_fromUtf8("frame_4"))
185 self.frame_4.setObjectName(_fromUtf8("frame_4"))
181 self.gridLayout_17 = QtGui.QGridLayout(self.frame_4)
186 self.gridLayout_17 = QtGui.QGridLayout(self.frame_4)
182 self.gridLayout_17.setObjectName(_fromUtf8("gridLayout_17"))
187 self.gridLayout_17.setObjectName(_fromUtf8("gridLayout_17"))
183 self.volOpOk = QtGui.QPushButton(self.frame_4)
188 self.volOpOk = QtGui.QPushButton(self.frame_4)
184 self.volOpOk.setObjectName(_fromUtf8("volOpOk"))
189 self.volOpOk.setObjectName(_fromUtf8("volOpOk"))
185 self.gridLayout_17.addWidget(self.volOpOk, 0, 0, 1, 1)
190 self.gridLayout_17.addWidget(self.volOpOk, 0, 0, 1, 1)
186 self.volGraphClear = QtGui.QPushButton(self.frame_4)
191 self.volGraphClear = QtGui.QPushButton(self.frame_4)
187 self.volGraphClear.setObjectName(_fromUtf8("volGraphClear"))
192 self.volGraphClear.setObjectName(_fromUtf8("volGraphClear"))
188 self.gridLayout_17.addWidget(self.volGraphClear, 0, 1, 1, 1)
193 self.gridLayout_17.addWidget(self.volGraphClear, 0, 1, 1, 1)
189 self.gridLayout_3.addWidget(self.frame_4, 1, 1, 1, 1)
194 self.gridLayout_3.addWidget(self.frame_4, 1, 1, 1, 1)
190 self.tabWidgetVoltage = QtGui.QTabWidget(self.tabVoltage)
195 self.tabWidgetVoltage = QtGui.QTabWidget(self.tabVoltage)
191 self.tabWidgetVoltage.setObjectName(_fromUtf8("tabWidgetVoltage"))
196 self.tabWidgetVoltage.setObjectName(_fromUtf8("tabWidgetVoltage"))
192 self.tabopVoltage = QtGui.QWidget()
197 self.tabopVoltage = QtGui.QWidget()
193 self.tabopVoltage.setObjectName(_fromUtf8("tabopVoltage"))
198 self.tabopVoltage.setObjectName(_fromUtf8("tabopVoltage"))
194 self.gridLayout = QtGui.QGridLayout(self.tabopVoltage)
199 self.gridLayout = QtGui.QGridLayout(self.tabopVoltage)
195 self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
200 self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
196 self.volOpHeights = QtGui.QLineEdit(self.tabopVoltage)
201 self.volOpHeights = QtGui.QLineEdit(self.tabopVoltage)
197 self.volOpHeights.setObjectName(_fromUtf8("volOpHeights"))
202 self.volOpHeights.setObjectName(_fromUtf8("volOpHeights"))
198 self.gridLayout.addWidget(self.volOpHeights, 4, 4, 1, 1)
203 self.gridLayout.addWidget(self.volOpHeights, 4, 4, 1, 1)
199 self.volOpComHeights = QtGui.QComboBox(self.tabopVoltage)
204 self.volOpComHeights = QtGui.QComboBox(self.tabopVoltage)
200 self.volOpComHeights.setObjectName(_fromUtf8("volOpComHeights"))
205 self.volOpComHeights.setObjectName(_fromUtf8("volOpComHeights"))
201 self.volOpComHeights.addItem(_fromUtf8(""))
206 self.volOpComHeights.addItem(_fromUtf8(""))
202 self.volOpComHeights.addItem(_fromUtf8(""))
207 self.volOpComHeights.addItem(_fromUtf8(""))
203 self.gridLayout.addWidget(self.volOpComHeights, 4, 0, 1, 3)
208 self.gridLayout.addWidget(self.volOpComHeights, 4, 0, 1, 3)
204 self.volOpComChannels = QtGui.QComboBox(self.tabopVoltage)
209 self.volOpComChannels = QtGui.QComboBox(self.tabopVoltage)
205 self.volOpComChannels.setObjectName(_fromUtf8("volOpComChannels"))
210 self.volOpComChannels.setObjectName(_fromUtf8("volOpComChannels"))
206 self.volOpComChannels.addItem(_fromUtf8(""))
211 self.volOpComChannels.addItem(_fromUtf8(""))
207 self.volOpComChannels.addItem(_fromUtf8(""))
212 self.volOpComChannels.addItem(_fromUtf8(""))
208 self.gridLayout.addWidget(self.volOpComChannels, 2, 0, 1, 3)
213 self.gridLayout.addWidget(self.volOpComChannels, 2, 0, 1, 3)
209 self.volOpCebProfile = QtGui.QCheckBox(self.tabopVoltage)
214 self.volOpCebProfile = QtGui.QCheckBox(self.tabopVoltage)
210 self.volOpCebProfile.setObjectName(_fromUtf8("volOpCebProfile"))
215 self.volOpCebProfile.setObjectName(_fromUtf8("volOpCebProfile"))
211 self.gridLayout.addWidget(self.volOpCebProfile, 6, 0, 1, 3)
216 self.gridLayout.addWidget(self.volOpCebProfile, 6, 0, 1, 3)
212 self.volOpComProfile = QtGui.QComboBox(self.tabopVoltage)
217 self.volOpComProfile = QtGui.QComboBox(self.tabopVoltage)
213 self.volOpComProfile.setObjectName(_fromUtf8("volOpComProfile"))
218 self.volOpComProfile.setObjectName(_fromUtf8("volOpComProfile"))
214 self.volOpComProfile.addItem(_fromUtf8(""))
219 self.volOpComProfile.addItem(_fromUtf8(""))
215 self.volOpComProfile.addItem(_fromUtf8(""))
220 self.volOpComProfile.addItem(_fromUtf8(""))
216 self.gridLayout.addWidget(self.volOpComProfile, 7, 0, 1, 3)
221 self.gridLayout.addWidget(self.volOpComProfile, 7, 0, 1, 3)
217 self.volOpCebDecodification = QtGui.QCheckBox(self.tabopVoltage)
222 self.volOpCebDecodification = QtGui.QCheckBox(self.tabopVoltage)
218 self.volOpCebDecodification.setObjectName(_fromUtf8("volOpCebDecodification"))
223 self.volOpCebDecodification.setObjectName(_fromUtf8("volOpCebDecodification"))
219 self.gridLayout.addWidget(self.volOpCebDecodification, 8, 0, 1, 3)
224 self.gridLayout.addWidget(self.volOpCebDecodification, 8, 0, 1, 3)
220 self.volOpCebCohInt = QtGui.QCheckBox(self.tabopVoltage)
225 self.volOpCebCohInt = QtGui.QCheckBox(self.tabopVoltage)
221 self.volOpCebCohInt.setObjectName(_fromUtf8("volOpCebCohInt"))
226 self.volOpCebCohInt.setObjectName(_fromUtf8("volOpCebCohInt"))
222 self.gridLayout.addWidget(self.volOpCebCohInt, 11, 0, 1, 3)
227 self.gridLayout.addWidget(self.volOpCebCohInt, 11, 0, 1, 3)
223 self.volOpProfile = QtGui.QLineEdit(self.tabopVoltage)
228 self.volOpProfile = QtGui.QLineEdit(self.tabopVoltage)
224 self.volOpProfile.setObjectName(_fromUtf8("volOpProfile"))
229 self.volOpProfile.setObjectName(_fromUtf8("volOpProfile"))
225 self.gridLayout.addWidget(self.volOpProfile, 7, 4, 1, 1)
230 self.gridLayout.addWidget(self.volOpProfile, 7, 4, 1, 1)
226 self.volOpFilter = QtGui.QLineEdit(self.tabopVoltage)
231 self.volOpFilter = QtGui.QLineEdit(self.tabopVoltage)
227 self.volOpFilter.setObjectName(_fromUtf8("volOpFilter"))
232 self.volOpFilter.setObjectName(_fromUtf8("volOpFilter"))
228 self.gridLayout.addWidget(self.volOpFilter, 5, 4, 1, 1)
233 self.gridLayout.addWidget(self.volOpFilter, 5, 4, 1, 1)
229 spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
234 spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
230 self.gridLayout.addItem(spacerItem, 6, 4, 1, 1)
235 self.gridLayout.addItem(spacerItem, 6, 4, 1, 1)
231 spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
236 spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
232 self.gridLayout.addItem(spacerItem1, 8, 4, 1, 1)
237 self.gridLayout.addItem(spacerItem1, 8, 4, 1, 1)
233 spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
238 spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
234 self.gridLayout.addItem(spacerItem2, 3, 4, 1, 1)
239 self.gridLayout.addItem(spacerItem2, 3, 4, 1, 1)
235 self.volOpChannel = QtGui.QLineEdit(self.tabopVoltage)
240 self.volOpChannel = QtGui.QLineEdit(self.tabopVoltage)
236 self.volOpChannel.setObjectName(_fromUtf8("volOpChannel"))
241 self.volOpChannel.setObjectName(_fromUtf8("volOpChannel"))
237 self.gridLayout.addWidget(self.volOpChannel, 2, 4, 1, 1)
242 self.gridLayout.addWidget(self.volOpChannel, 2, 4, 1, 1)
238 self.label_4 = QtGui.QLabel(self.tabopVoltage)
243 self.label_4 = QtGui.QLabel(self.tabopVoltage)
239 self.label_4.setObjectName(_fromUtf8("label_4"))
244 self.label_4.setObjectName(_fromUtf8("label_4"))
240 self.gridLayout.addWidget(self.label_4, 9, 2, 1, 1)
245 self.gridLayout.addWidget(self.label_4, 9, 2, 1, 1)
241 self.volOpCebChannels = QtGui.QCheckBox(self.tabopVoltage)
246 self.volOpCebChannels = QtGui.QCheckBox(self.tabopVoltage)
242 self.volOpCebChannels.setObjectName(_fromUtf8("volOpCebChannels"))
247 self.volOpCebChannels.setObjectName(_fromUtf8("volOpCebChannels"))
243 self.gridLayout.addWidget(self.volOpCebChannels, 1, 0, 1, 3)
248 self.gridLayout.addWidget(self.volOpCebChannels, 1, 0, 1, 3)
244 self.volOpCebHeights = QtGui.QCheckBox(self.tabopVoltage)
249 self.volOpCebHeights = QtGui.QCheckBox(self.tabopVoltage)
245 self.volOpCebHeights.setObjectName(_fromUtf8("volOpCebHeights"))
250 self.volOpCebHeights.setObjectName(_fromUtf8("volOpCebHeights"))
246 self.gridLayout.addWidget(self.volOpCebHeights, 3, 0, 1, 3)
251 self.gridLayout.addWidget(self.volOpCebHeights, 3, 0, 1, 3)
247 self.volOpCebFilter = QtGui.QCheckBox(self.tabopVoltage)
252 self.volOpCebFilter = QtGui.QCheckBox(self.tabopVoltage)
248 self.volOpCebFilter.setObjectName(_fromUtf8("volOpCebFilter"))
253 self.volOpCebFilter.setObjectName(_fromUtf8("volOpCebFilter"))
249 self.gridLayout.addWidget(self.volOpCebFilter, 5, 0, 1, 3)
254 self.gridLayout.addWidget(self.volOpCebFilter, 5, 0, 1, 3)
250 self.volOpRadarfrequency = QtGui.QLineEdit(self.tabopVoltage)
255 self.volOpRadarfrequency = QtGui.QLineEdit(self.tabopVoltage)
251 self.volOpRadarfrequency.setObjectName(_fromUtf8("volOpRadarfrequency"))
256 self.volOpRadarfrequency.setObjectName(_fromUtf8("volOpRadarfrequency"))
252 self.gridLayout.addWidget(self.volOpRadarfrequency, 0, 4, 1, 1)
257 self.gridLayout.addWidget(self.volOpRadarfrequency, 0, 4, 1, 1)
253 self.volOpCebRadarfrequency = QtGui.QCheckBox(self.tabopVoltage)
258 self.volOpCebRadarfrequency = QtGui.QCheckBox(self.tabopVoltage)
254 self.volOpCebRadarfrequency.setObjectName(_fromUtf8("volOpCebRadarfrequency"))
259 self.volOpCebRadarfrequency.setObjectName(_fromUtf8("volOpCebRadarfrequency"))
255 self.gridLayout.addWidget(self.volOpCebRadarfrequency, 0, 0, 1, 3)
260 self.gridLayout.addWidget(self.volOpCebRadarfrequency, 0, 0, 1, 3)
256 self.label_5 = QtGui.QLabel(self.tabopVoltage)
261 self.label_5 = QtGui.QLabel(self.tabopVoltage)
257 self.label_5.setObjectName(_fromUtf8("label_5"))
262 self.label_5.setObjectName(_fromUtf8("label_5"))
258 self.gridLayout.addWidget(self.label_5, 10, 2, 1, 1)
263 self.gridLayout.addWidget(self.label_5, 10, 2, 1, 1)
259 spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
264 spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
260 self.gridLayout.addItem(spacerItem3, 1, 4, 1, 1)
265 self.gridLayout.addItem(spacerItem3, 1, 4, 1, 1)
261 self.volOpCohInt = QtGui.QLineEdit(self.tabopVoltage)
266 self.volOpCohInt = QtGui.QLineEdit(self.tabopVoltage)
262 self.volOpCohInt.setObjectName(_fromUtf8("volOpCohInt"))
267 self.volOpCohInt.setObjectName(_fromUtf8("volOpCohInt"))
263 self.gridLayout.addWidget(self.volOpCohInt, 11, 4, 1, 1)
268 self.gridLayout.addWidget(self.volOpCohInt, 11, 4, 1, 1)
264 self.volOpComCode = QtGui.QComboBox(self.tabopVoltage)
269 self.volOpComCode = QtGui.QComboBox(self.tabopVoltage)
265 self.volOpComCode.setObjectName(_fromUtf8("volOpComCode"))
270 self.volOpComCode.setObjectName(_fromUtf8("volOpComCode"))
266 self.volOpComCode.addItem(_fromUtf8(""))
271 self.volOpComCode.addItem(_fromUtf8(""))
267 self.volOpComCode.addItem(_fromUtf8(""))
272 self.volOpComCode.addItem(_fromUtf8(""))
268 self.volOpComCode.addItem(_fromUtf8(""))
273 self.volOpComCode.addItem(_fromUtf8(""))
269 self.volOpComCode.addItem(_fromUtf8(""))
274 self.volOpComCode.addItem(_fromUtf8(""))
270 self.volOpComCode.addItem(_fromUtf8(""))
275 self.volOpComCode.addItem(_fromUtf8(""))
271 self.volOpComCode.addItem(_fromUtf8(""))
276 self.volOpComCode.addItem(_fromUtf8(""))
272 self.volOpComCode.addItem(_fromUtf8(""))
277 self.volOpComCode.addItem(_fromUtf8(""))
273 self.volOpComCode.addItem(_fromUtf8(""))
278 self.volOpComCode.addItem(_fromUtf8(""))
274 self.volOpComCode.addItem(_fromUtf8(""))
279 self.volOpComCode.addItem(_fromUtf8(""))
275 self.volOpComCode.addItem(_fromUtf8(""))
280 self.volOpComCode.addItem(_fromUtf8(""))
276 self.volOpComCode.addItem(_fromUtf8(""))
281 self.volOpComCode.addItem(_fromUtf8(""))
277 self.volOpComCode.addItem(_fromUtf8(""))
282 self.volOpComCode.addItem(_fromUtf8(""))
278 self.volOpComCode.addItem(_fromUtf8(""))
283 self.volOpComCode.addItem(_fromUtf8(""))
279 self.gridLayout.addWidget(self.volOpComCode, 9, 4, 1, 1)
284 self.gridLayout.addWidget(self.volOpComCode, 9, 4, 1, 1)
280 self.volOpComMode = QtGui.QComboBox(self.tabopVoltage)
285 self.volOpComMode = QtGui.QComboBox(self.tabopVoltage)
281 self.volOpComMode.setObjectName(_fromUtf8("volOpComMode"))
286 self.volOpComMode.setObjectName(_fromUtf8("volOpComMode"))
282 self.volOpComMode.addItem(_fromUtf8(""))
287 self.volOpComMode.addItem(_fromUtf8(""))
283 self.volOpComMode.addItem(_fromUtf8(""))
288 self.volOpComMode.addItem(_fromUtf8(""))
284 self.gridLayout.addWidget(self.volOpComMode, 10, 4, 1, 1)
289 self.gridLayout.addWidget(self.volOpComMode, 10, 4, 1, 1)
285 self.tabWidgetVoltage.addTab(self.tabopVoltage, _fromUtf8(""))
290 self.tabWidgetVoltage.addTab(self.tabopVoltage, _fromUtf8(""))
286 self.tabgraphVoltage = QtGui.QWidget()
291 self.tabgraphVoltage = QtGui.QWidget()
287 self.tabgraphVoltage.setObjectName(_fromUtf8("tabgraphVoltage"))
292 self.tabgraphVoltage.setObjectName(_fromUtf8("tabgraphVoltage"))
288 self.gridLayout_6 = QtGui.QGridLayout(self.tabgraphVoltage)
293 self.gridLayout_6 = QtGui.QGridLayout(self.tabgraphVoltage)
289 self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
294 self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
290 spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
295 spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
291 self.gridLayout_6.addItem(spacerItem4, 12, 3, 1, 1)
296 self.gridLayout_6.addItem(spacerItem4, 12, 3, 1, 1)
292 self.volGraphfreqrange = QtGui.QLineEdit(self.tabgraphVoltage)
297 self.volGraphfreqrange = QtGui.QLineEdit(self.tabgraphVoltage)
293 self.volGraphfreqrange.setObjectName(_fromUtf8("volGraphfreqrange"))
298 self.volGraphfreqrange.setObjectName(_fromUtf8("volGraphfreqrange"))
294 self.gridLayout_6.addWidget(self.volGraphfreqrange, 9, 1, 1, 6)
299 self.gridLayout_6.addWidget(self.volGraphfreqrange, 9, 1, 1, 6)
295 self.volGraphPrefix = QtGui.QLineEdit(self.tabgraphVoltage)
300 self.volGraphPrefix = QtGui.QLineEdit(self.tabgraphVoltage)
296 self.volGraphPrefix.setObjectName(_fromUtf8("volGraphPrefix"))
301 self.volGraphPrefix.setObjectName(_fromUtf8("volGraphPrefix"))
297 self.gridLayout_6.addWidget(self.volGraphPrefix, 2, 1, 1, 6)
302 self.gridLayout_6.addWidget(self.volGraphPrefix, 2, 1, 1, 6)
298 self.volGraphToolPath = QtGui.QToolButton(self.tabgraphVoltage)
303 self.volGraphToolPath = QtGui.QToolButton(self.tabgraphVoltage)
299 self.volGraphToolPath.setObjectName(_fromUtf8("volGraphToolPath"))
304 self.volGraphToolPath.setObjectName(_fromUtf8("volGraphToolPath"))
300 self.gridLayout_6.addWidget(self.volGraphToolPath, 1, 5, 1, 2)
305 self.gridLayout_6.addWidget(self.volGraphToolPath, 1, 5, 1, 2)
301 self.volGraphPath = QtGui.QLineEdit(self.tabgraphVoltage)
306 self.volGraphPath = QtGui.QLineEdit(self.tabgraphVoltage)
302 self.volGraphPath.setObjectName(_fromUtf8("volGraphPath"))
307 self.volGraphPath.setObjectName(_fromUtf8("volGraphPath"))
303 self.gridLayout_6.addWidget(self.volGraphPath, 1, 1, 1, 4)
308 self.gridLayout_6.addWidget(self.volGraphPath, 1, 1, 1, 4)
304 self.label_14 = QtGui.QLabel(self.tabgraphVoltage)
309 self.label_14 = QtGui.QLabel(self.tabgraphVoltage)
305 self.label_14.setObjectName(_fromUtf8("label_14"))
310 self.label_14.setObjectName(_fromUtf8("label_14"))
306 self.gridLayout_6.addWidget(self.label_14, 6, 0, 1, 1)
311 self.gridLayout_6.addWidget(self.label_14, 6, 0, 1, 1)
307 spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
312 spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
308 self.gridLayout_6.addItem(spacerItem5, 3, 3, 1, 1)
313 self.gridLayout_6.addItem(spacerItem5, 3, 3, 1, 1)
309 self.label_8 = QtGui.QLabel(self.tabgraphVoltage)
314 self.label_8 = QtGui.QLabel(self.tabgraphVoltage)
310 self.label_8.setObjectName(_fromUtf8("label_8"))
315 self.label_8.setObjectName(_fromUtf8("label_8"))
311 self.gridLayout_6.addWidget(self.label_8, 8, 0, 1, 1)
316 self.gridLayout_6.addWidget(self.label_8, 8, 0, 1, 1)
312 self.label_49 = QtGui.QLabel(self.tabgraphVoltage)
317 self.label_49 = QtGui.QLabel(self.tabgraphVoltage)
313 self.label_49.setObjectName(_fromUtf8("label_49"))
318 self.label_49.setObjectName(_fromUtf8("label_49"))
314 self.gridLayout_6.addWidget(self.label_49, 4, 3, 1, 1)
319 self.gridLayout_6.addWidget(self.label_49, 4, 3, 1, 1)
315 self.label_51 = QtGui.QLabel(self.tabgraphVoltage)
320 self.label_51 = QtGui.QLabel(self.tabgraphVoltage)
316 self.label_51.setObjectName(_fromUtf8("label_51"))
321 self.label_51.setObjectName(_fromUtf8("label_51"))
317 self.gridLayout_6.addWidget(self.label_51, 9, 0, 1, 1)
322 self.gridLayout_6.addWidget(self.label_51, 9, 0, 1, 1)
318 self.volGraphCebshow = QtGui.QCheckBox(self.tabgraphVoltage)
323 self.volGraphCebshow = QtGui.QCheckBox(self.tabgraphVoltage)
319 self.volGraphCebshow.setText(_fromUtf8(""))
324 self.volGraphCebshow.setText(_fromUtf8(""))
320 self.volGraphCebshow.setObjectName(_fromUtf8("volGraphCebshow"))
325 self.volGraphCebshow.setObjectName(_fromUtf8("volGraphCebshow"))
321 self.gridLayout_6.addWidget(self.volGraphCebshow, 6, 3, 1, 1)
326 self.gridLayout_6.addWidget(self.volGraphCebshow, 6, 3, 1, 1)
322 self.label_12 = QtGui.QLabel(self.tabgraphVoltage)
327 self.label_12 = QtGui.QLabel(self.tabgraphVoltage)
323 self.label_12.setObjectName(_fromUtf8("label_12"))
328 self.label_12.setObjectName(_fromUtf8("label_12"))
324 self.gridLayout_6.addWidget(self.label_12, 1, 0, 1, 1)
329 self.gridLayout_6.addWidget(self.label_12, 1, 0, 1, 1)
325 self.label_13 = QtGui.QLabel(self.tabgraphVoltage)
330 self.label_13 = QtGui.QLabel(self.tabgraphVoltage)
326 self.label_13.setObjectName(_fromUtf8("label_13"))
331 self.label_13.setObjectName(_fromUtf8("label_13"))
327 self.gridLayout_6.addWidget(self.label_13, 2, 0, 1, 1)
332 self.gridLayout_6.addWidget(self.label_13, 2, 0, 1, 1)
328 self.label_52 = QtGui.QLabel(self.tabgraphVoltage)
333 self.label_52 = QtGui.QLabel(self.tabgraphVoltage)
329 self.label_52.setObjectName(_fromUtf8("label_52"))
334 self.label_52.setObjectName(_fromUtf8("label_52"))
330 self.gridLayout_6.addWidget(self.label_52, 11, 0, 1, 1)
335 self.gridLayout_6.addWidget(self.label_52, 11, 0, 1, 1)
331 spacerItem6 = QtGui.QSpacerItem(40, 12, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
336 spacerItem6 = QtGui.QSpacerItem(40, 12, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
332 self.gridLayout_6.addItem(spacerItem6, 14, 5, 1, 2)
337 self.gridLayout_6.addItem(spacerItem6, 14, 5, 1, 2)
333 spacerItem7 = QtGui.QSpacerItem(18, 12, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
338 spacerItem7 = QtGui.QSpacerItem(18, 12, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
334 self.gridLayout_6.addItem(spacerItem7, 14, 3, 1, 1)
339 self.gridLayout_6.addItem(spacerItem7, 14, 3, 1, 1)
335 self.volGraphChannelList = QtGui.QLineEdit(self.tabgraphVoltage)
340 self.volGraphChannelList = QtGui.QLineEdit(self.tabgraphVoltage)
336 self.volGraphChannelList.setObjectName(_fromUtf8("volGraphChannelList"))
341 self.volGraphChannelList.setObjectName(_fromUtf8("volGraphChannelList"))
337 self.gridLayout_6.addWidget(self.volGraphChannelList, 8, 1, 1, 6)
342 self.gridLayout_6.addWidget(self.volGraphChannelList, 8, 1, 1, 6)
338 self.volGraphHeightrange = QtGui.QLineEdit(self.tabgraphVoltage)
343 self.volGraphHeightrange = QtGui.QLineEdit(self.tabgraphVoltage)
339 self.volGraphHeightrange.setObjectName(_fromUtf8("volGraphHeightrange"))
344 self.volGraphHeightrange.setObjectName(_fromUtf8("volGraphHeightrange"))
340 self.gridLayout_6.addWidget(self.volGraphHeightrange, 11, 1, 1, 6)
345 self.gridLayout_6.addWidget(self.volGraphHeightrange, 11, 1, 1, 6)
341 self.label_50 = QtGui.QLabel(self.tabgraphVoltage)
346 self.label_50 = QtGui.QLabel(self.tabgraphVoltage)
342 self.label_50.setObjectName(_fromUtf8("label_50"))
347 self.label_50.setObjectName(_fromUtf8("label_50"))
343 self.gridLayout_6.addWidget(self.label_50, 4, 4, 1, 1)
348 self.gridLayout_6.addWidget(self.label_50, 4, 4, 1, 1)
344 self.volGraphCebSave = QtGui.QCheckBox(self.tabgraphVoltage)
349 self.volGraphCebSave = QtGui.QCheckBox(self.tabgraphVoltage)
345 self.volGraphCebSave.setText(_fromUtf8(""))
350 self.volGraphCebSave.setText(_fromUtf8(""))
346 self.volGraphCebSave.setObjectName(_fromUtf8("volGraphCebSave"))
351 self.volGraphCebSave.setObjectName(_fromUtf8("volGraphCebSave"))
347 self.gridLayout_6.addWidget(self.volGraphCebSave, 6, 4, 1, 1)
352 self.gridLayout_6.addWidget(self.volGraphCebSave, 6, 4, 1, 1)
348 self.tabWidgetVoltage.addTab(self.tabgraphVoltage, _fromUtf8(""))
353 self.tabWidgetVoltage.addTab(self.tabgraphVoltage, _fromUtf8(""))
349 self.taboutputVoltage = QtGui.QWidget()
354 self.taboutputVoltage = QtGui.QWidget()
350 self.taboutputVoltage.setObjectName(_fromUtf8("taboutputVoltage"))
355 self.taboutputVoltage.setObjectName(_fromUtf8("taboutputVoltage"))
351 self.gridLayout_12 = QtGui.QGridLayout(self.taboutputVoltage)
356 self.gridLayout_12 = QtGui.QGridLayout(self.taboutputVoltage)
352 self.gridLayout_12.setObjectName(_fromUtf8("gridLayout_12"))
357 self.gridLayout_12.setObjectName(_fromUtf8("gridLayout_12"))
353 self.label_36 = QtGui.QLabel(self.taboutputVoltage)
358 self.label_36 = QtGui.QLabel(self.taboutputVoltage)
354 self.label_36.setObjectName(_fromUtf8("label_36"))
359 self.label_36.setObjectName(_fromUtf8("label_36"))
355 self.gridLayout_12.addWidget(self.label_36, 0, 0, 1, 1)
360 self.gridLayout_12.addWidget(self.label_36, 0, 0, 1, 1)
356 self.label_37 = QtGui.QLabel(self.taboutputVoltage)
361 self.label_37 = QtGui.QLabel(self.taboutputVoltage)
357 self.label_37.setObjectName(_fromUtf8("label_37"))
362 self.label_37.setObjectName(_fromUtf8("label_37"))
358 self.gridLayout_12.addWidget(self.label_37, 1, 0, 1, 1)
363 self.gridLayout_12.addWidget(self.label_37, 1, 0, 1, 1)
359 self.volOutputPath = QtGui.QLineEdit(self.taboutputVoltage)
364 self.volOutputPath = QtGui.QLineEdit(self.taboutputVoltage)
360 self.volOutputPath.setObjectName(_fromUtf8("volOutputPath"))
365 self.volOutputPath.setObjectName(_fromUtf8("volOutputPath"))
361 self.gridLayout_12.addWidget(self.volOutputPath, 1, 2, 1, 1)
366 self.gridLayout_12.addWidget(self.volOutputPath, 1, 2, 1, 1)
362 self.volOutputToolPath = QtGui.QToolButton(self.taboutputVoltage)
367 self.volOutputToolPath = QtGui.QToolButton(self.taboutputVoltage)
363 self.volOutputToolPath.setObjectName(_fromUtf8("volOutputToolPath"))
368 self.volOutputToolPath.setObjectName(_fromUtf8("volOutputToolPath"))
364 self.gridLayout_12.addWidget(self.volOutputToolPath, 1, 3, 1, 1)
369 self.gridLayout_12.addWidget(self.volOutputToolPath, 1, 3, 1, 1)
365 self.volOutputComData = QtGui.QComboBox(self.taboutputVoltage)
370 self.volOutputComData = QtGui.QComboBox(self.taboutputVoltage)
366 self.volOutputComData.setObjectName(_fromUtf8("volOutputComData"))
371 self.volOutputComData.setObjectName(_fromUtf8("volOutputComData"))
367 self.volOutputComData.addItem(_fromUtf8(""))
372 self.volOutputComData.addItem(_fromUtf8(""))
368 self.gridLayout_12.addWidget(self.volOutputComData, 0, 2, 1, 2)
373 self.gridLayout_12.addWidget(self.volOutputComData, 0, 2, 1, 2)
369 spacerItem8 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
374 spacerItem8 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
370 self.gridLayout_12.addItem(spacerItem8, 5, 2, 1, 1)
375 self.gridLayout_12.addItem(spacerItem8, 5, 2, 1, 1)
371 self.volOutputblocksperfile = QtGui.QLineEdit(self.taboutputVoltage)
376 self.volOutputblocksperfile = QtGui.QLineEdit(self.taboutputVoltage)
372 self.volOutputblocksperfile.setObjectName(_fromUtf8("volOutputblocksperfile"))
377 self.volOutputblocksperfile.setObjectName(_fromUtf8("volOutputblocksperfile"))
373 self.gridLayout_12.addWidget(self.volOutputblocksperfile, 3, 2, 1, 1)
378 self.gridLayout_12.addWidget(self.volOutputblocksperfile, 3, 2, 1, 1)
374 self.label_7 = QtGui.QLabel(self.taboutputVoltage)
379 self.label_7 = QtGui.QLabel(self.taboutputVoltage)
375 self.label_7.setObjectName(_fromUtf8("label_7"))
380 self.label_7.setObjectName(_fromUtf8("label_7"))
376 self.gridLayout_12.addWidget(self.label_7, 3, 0, 1, 1)
381 self.gridLayout_12.addWidget(self.label_7, 3, 0, 1, 1)
377 self.label_35 = QtGui.QLabel(self.taboutputVoltage)
382 self.label_35 = QtGui.QLabel(self.taboutputVoltage)
378 self.label_35.setObjectName(_fromUtf8("label_35"))
383 self.label_35.setObjectName(_fromUtf8("label_35"))
379 self.gridLayout_12.addWidget(self.label_35, 4, 0, 1, 1)
384 self.gridLayout_12.addWidget(self.label_35, 4, 0, 1, 1)
380 self.volOutputprofilesperblock = QtGui.QLineEdit(self.taboutputVoltage)
385 self.volOutputprofilesperblock = QtGui.QLineEdit(self.taboutputVoltage)
381 self.volOutputprofilesperblock.setObjectName(_fromUtf8("volOutputprofilesperblock"))
386 self.volOutputprofilesperblock.setObjectName(_fromUtf8("volOutputprofilesperblock"))
382 self.gridLayout_12.addWidget(self.volOutputprofilesperblock, 4, 2, 1, 1)
387 self.gridLayout_12.addWidget(self.volOutputprofilesperblock, 4, 2, 1, 1)
383 self.tabWidgetVoltage.addTab(self.taboutputVoltage, _fromUtf8(""))
388 self.tabWidgetVoltage.addTab(self.taboutputVoltage, _fromUtf8(""))
384 self.gridLayout_3.addWidget(self.tabWidgetVoltage, 0, 1, 1, 1)
389 self.gridLayout_3.addWidget(self.tabWidgetVoltage, 0, 1, 1, 1)
385 self.tabWidgetProject.addTab(self.tabVoltage, _fromUtf8(""))
390 self.tabWidgetProject.addTab(self.tabVoltage, _fromUtf8(""))
386 self.tabSpectra = QtGui.QWidget()
391 self.tabSpectra = QtGui.QWidget()
387 self.tabSpectra.setObjectName(_fromUtf8("tabSpectra"))
392 self.tabSpectra.setObjectName(_fromUtf8("tabSpectra"))
388 self.gridLayout_7 = QtGui.QGridLayout(self.tabSpectra)
393 self.gridLayout_7 = QtGui.QGridLayout(self.tabSpectra)
389 self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
394 self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
390 self.frame_5 = QtGui.QFrame(self.tabSpectra)
395 self.frame_5 = QtGui.QFrame(self.tabSpectra)
391 self.frame_5.setFrameShape(QtGui.QFrame.StyledPanel)
396 self.frame_5.setFrameShape(QtGui.QFrame.StyledPanel)
392 self.frame_5.setFrameShadow(QtGui.QFrame.Raised)
397 self.frame_5.setFrameShadow(QtGui.QFrame.Raised)
393 self.frame_5.setObjectName(_fromUtf8("frame_5"))
398 self.frame_5.setObjectName(_fromUtf8("frame_5"))
394 self.gridLayout_18 = QtGui.QGridLayout(self.frame_5)
399 self.gridLayout_18 = QtGui.QGridLayout(self.frame_5)
395 self.gridLayout_18.setObjectName(_fromUtf8("gridLayout_18"))
400 self.gridLayout_18.setObjectName(_fromUtf8("gridLayout_18"))
396 self.specOpOk = QtGui.QPushButton(self.frame_5)
401 self.specOpOk = QtGui.QPushButton(self.frame_5)
397 self.specOpOk.setObjectName(_fromUtf8("specOpOk"))
402 self.specOpOk.setObjectName(_fromUtf8("specOpOk"))
398 self.gridLayout_18.addWidget(self.specOpOk, 0, 0, 1, 1)
403 self.gridLayout_18.addWidget(self.specOpOk, 0, 0, 1, 1)
399 self.specGraphClear = QtGui.QPushButton(self.frame_5)
404 self.specGraphClear = QtGui.QPushButton(self.frame_5)
400 self.specGraphClear.setObjectName(_fromUtf8("specGraphClear"))
405 self.specGraphClear.setObjectName(_fromUtf8("specGraphClear"))
401 self.gridLayout_18.addWidget(self.specGraphClear, 0, 1, 1, 1)
406 self.gridLayout_18.addWidget(self.specGraphClear, 0, 1, 1, 1)
402 self.gridLayout_7.addWidget(self.frame_5, 1, 1, 1, 1)
407 self.gridLayout_7.addWidget(self.frame_5, 1, 1, 1, 1)
403 self.tabWidgetSpectra = QtGui.QTabWidget(self.tabSpectra)
408 self.tabWidgetSpectra = QtGui.QTabWidget(self.tabSpectra)
404 self.tabWidgetSpectra.setObjectName(_fromUtf8("tabWidgetSpectra"))
409 self.tabWidgetSpectra.setObjectName(_fromUtf8("tabWidgetSpectra"))
405 self.tabopSpectra = QtGui.QWidget()
410 self.tabopSpectra = QtGui.QWidget()
406 self.tabopSpectra.setObjectName(_fromUtf8("tabopSpectra"))
411 self.tabopSpectra.setObjectName(_fromUtf8("tabopSpectra"))
407 self.gridLayout_5 = QtGui.QGridLayout(self.tabopSpectra)
412 self.gridLayout_5 = QtGui.QGridLayout(self.tabopSpectra)
408 self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
413 self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
409 self.specOpCebCrossSpectra = QtGui.QCheckBox(self.tabopSpectra)
414 self.specOpCebCrossSpectra = QtGui.QCheckBox(self.tabopSpectra)
410 self.specOpCebCrossSpectra.setObjectName(_fromUtf8("specOpCebCrossSpectra"))
415 self.specOpCebCrossSpectra.setObjectName(_fromUtf8("specOpCebCrossSpectra"))
411 self.gridLayout_5.addWidget(self.specOpCebCrossSpectra, 4, 0, 1, 2)
416 self.gridLayout_5.addWidget(self.specOpCebCrossSpectra, 4, 0, 1, 2)
412 self.specOpComChannel = QtGui.QComboBox(self.tabopSpectra)
417 self.specOpComChannel = QtGui.QComboBox(self.tabopSpectra)
413 self.specOpComChannel.setObjectName(_fromUtf8("specOpComChannel"))
418 self.specOpComChannel.setObjectName(_fromUtf8("specOpComChannel"))
414 self.specOpComChannel.addItem(_fromUtf8(""))
419 self.specOpComChannel.addItem(_fromUtf8(""))
415 self.specOpComChannel.addItem(_fromUtf8(""))
420 self.specOpComChannel.addItem(_fromUtf8(""))
416 self.gridLayout_5.addWidget(self.specOpComChannel, 8, 0, 1, 2)
421 self.gridLayout_5.addWidget(self.specOpComChannel, 8, 0, 1, 2)
417 self.specOpChannel = QtGui.QLineEdit(self.tabopSpectra)
422 self.specOpChannel = QtGui.QLineEdit(self.tabopSpectra)
418 self.specOpChannel.setObjectName(_fromUtf8("specOpChannel"))
423 self.specOpChannel.setObjectName(_fromUtf8("specOpChannel"))
419 self.gridLayout_5.addWidget(self.specOpChannel, 8, 3, 1, 2)
424 self.gridLayout_5.addWidget(self.specOpChannel, 8, 3, 1, 2)
420 self.specOpComHeights = QtGui.QComboBox(self.tabopSpectra)
425 self.specOpComHeights = QtGui.QComboBox(self.tabopSpectra)
421 self.specOpComHeights.setObjectName(_fromUtf8("specOpComHeights"))
426 self.specOpComHeights.setObjectName(_fromUtf8("specOpComHeights"))
422 self.specOpComHeights.addItem(_fromUtf8(""))
427 self.specOpComHeights.addItem(_fromUtf8(""))
423 self.specOpComHeights.addItem(_fromUtf8(""))
428 self.specOpComHeights.addItem(_fromUtf8(""))
424 self.gridLayout_5.addWidget(self.specOpComHeights, 11, 0, 1, 2)
429 self.gridLayout_5.addWidget(self.specOpComHeights, 11, 0, 1, 2)
425 self.specOpHeights = QtGui.QLineEdit(self.tabopSpectra)
430 self.specOpHeights = QtGui.QLineEdit(self.tabopSpectra)
426 self.specOpHeights.setObjectName(_fromUtf8("specOpHeights"))
431 self.specOpHeights.setObjectName(_fromUtf8("specOpHeights"))
427 self.gridLayout_5.addWidget(self.specOpHeights, 11, 3, 1, 2)
432 self.gridLayout_5.addWidget(self.specOpHeights, 11, 3, 1, 2)
428 self.specOpIncoherent = QtGui.QLineEdit(self.tabopSpectra)
433 self.specOpIncoherent = QtGui.QLineEdit(self.tabopSpectra)
429 self.specOpIncoherent.setObjectName(_fromUtf8("specOpIncoherent"))
434 self.specOpIncoherent.setObjectName(_fromUtf8("specOpIncoherent"))
430 self.gridLayout_5.addWidget(self.specOpIncoherent, 13, 3, 1, 2)
435 self.gridLayout_5.addWidget(self.specOpIncoherent, 13, 3, 1, 2)
431 self.specOpCebRemoveDC = QtGui.QCheckBox(self.tabopSpectra)
436 self.specOpCebRemoveDC = QtGui.QCheckBox(self.tabopSpectra)
432 self.specOpCebRemoveDC.setObjectName(_fromUtf8("specOpCebRemoveDC"))
437 self.specOpCebRemoveDC.setObjectName(_fromUtf8("specOpCebRemoveDC"))
433 self.gridLayout_5.addWidget(self.specOpCebRemoveDC, 14, 0, 1, 2)
438 self.gridLayout_5.addWidget(self.specOpCebRemoveDC, 14, 0, 1, 2)
434 self.specOpCebHeights = QtGui.QCheckBox(self.tabopSpectra)
439 self.specOpCebHeights = QtGui.QCheckBox(self.tabopSpectra)
435 self.specOpCebHeights.setObjectName(_fromUtf8("specOpCebHeights"))
440 self.specOpCebHeights.setObjectName(_fromUtf8("specOpCebHeights"))
436 self.gridLayout_5.addWidget(self.specOpCebHeights, 9, 0, 1, 1)
441 self.gridLayout_5.addWidget(self.specOpCebHeights, 9, 0, 1, 1)
437 self.specOpCebChannel = QtGui.QCheckBox(self.tabopSpectra)
442 self.specOpCebChannel = QtGui.QCheckBox(self.tabopSpectra)
438 self.specOpCebChannel.setObjectName(_fromUtf8("specOpCebChannel"))
443 self.specOpCebChannel.setObjectName(_fromUtf8("specOpCebChannel"))
439 self.gridLayout_5.addWidget(self.specOpCebChannel, 7, 0, 1, 1)
444 self.gridLayout_5.addWidget(self.specOpCebChannel, 7, 0, 1, 1)
440 self.specOppairsList = QtGui.QLineEdit(self.tabopSpectra)
445 self.specOppairsList = QtGui.QLineEdit(self.tabopSpectra)
441 self.specOppairsList.setObjectName(_fromUtf8("specOppairsList"))
446 self.specOppairsList.setObjectName(_fromUtf8("specOppairsList"))
442 self.gridLayout_5.addWidget(self.specOppairsList, 6, 3, 1, 2)
447 self.gridLayout_5.addWidget(self.specOppairsList, 6, 3, 1, 2)
443 self.specOpnFFTpoints = QtGui.QLineEdit(self.tabopSpectra)
448 self.specOpnFFTpoints = QtGui.QLineEdit(self.tabopSpectra)
444 self.specOpnFFTpoints.setObjectName(_fromUtf8("specOpnFFTpoints"))
449 self.specOpnFFTpoints.setObjectName(_fromUtf8("specOpnFFTpoints"))
445 self.gridLayout_5.addWidget(self.specOpnFFTpoints, 2, 3, 1, 2)
450 self.gridLayout_5.addWidget(self.specOpnFFTpoints, 2, 3, 1, 2)
446 self.label_31 = QtGui.QLabel(self.tabopSpectra)
451 self.label_31 = QtGui.QLabel(self.tabopSpectra)
447 self.label_31.setObjectName(_fromUtf8("label_31"))
452 self.label_31.setObjectName(_fromUtf8("label_31"))
448 self.gridLayout_5.addWidget(self.label_31, 6, 0, 1, 2)
453 self.gridLayout_5.addWidget(self.label_31, 6, 0, 1, 2)
449 self.label_26 = QtGui.QLabel(self.tabopSpectra)
454 self.label_26 = QtGui.QLabel(self.tabopSpectra)
450 self.label_26.setObjectName(_fromUtf8("label_26"))
455 self.label_26.setObjectName(_fromUtf8("label_26"))
451 self.gridLayout_5.addWidget(self.label_26, 2, 0, 1, 2)
456 self.gridLayout_5.addWidget(self.label_26, 2, 0, 1, 2)
452 self.specOpCebIncoherent = QtGui.QCheckBox(self.tabopSpectra)
457 self.specOpCebIncoherent = QtGui.QCheckBox(self.tabopSpectra)
453 self.specOpCebIncoherent.setObjectName(_fromUtf8("specOpCebIncoherent"))
458 self.specOpCebIncoherent.setObjectName(_fromUtf8("specOpCebIncoherent"))
454 self.gridLayout_5.addWidget(self.specOpCebIncoherent, 12, 0, 1, 1)
459 self.gridLayout_5.addWidget(self.specOpCebIncoherent, 12, 0, 1, 1)
455 self.specOpCobIncInt = QtGui.QComboBox(self.tabopSpectra)
460 self.specOpCobIncInt = QtGui.QComboBox(self.tabopSpectra)
456 self.specOpCobIncInt.setObjectName(_fromUtf8("specOpCobIncInt"))
461 self.specOpCobIncInt.setObjectName(_fromUtf8("specOpCobIncInt"))
457 self.specOpCobIncInt.addItem(_fromUtf8(""))
462 self.specOpCobIncInt.addItem(_fromUtf8(""))
458 self.specOpCobIncInt.addItem(_fromUtf8(""))
463 self.specOpCobIncInt.addItem(_fromUtf8(""))
459 self.gridLayout_5.addWidget(self.specOpCobIncInt, 13, 0, 1, 2)
464 self.gridLayout_5.addWidget(self.specOpCobIncInt, 13, 0, 1, 2)
460 spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
465 spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
461 self.gridLayout_5.addItem(spacerItem9, 12, 3, 1, 1)
466 self.gridLayout_5.addItem(spacerItem9, 12, 3, 1, 1)
462 self.specOpCebRadarfrequency = QtGui.QCheckBox(self.tabopSpectra)
467 self.specOpCebRadarfrequency = QtGui.QCheckBox(self.tabopSpectra)
463 self.specOpCebRadarfrequency.setObjectName(_fromUtf8("specOpCebRadarfrequency"))
468 self.specOpCebRadarfrequency.setObjectName(_fromUtf8("specOpCebRadarfrequency"))
464 self.gridLayout_5.addWidget(self.specOpCebRadarfrequency, 0, 0, 1, 2)
469 self.gridLayout_5.addWidget(self.specOpCebRadarfrequency, 0, 0, 1, 2)
465 spacerItem10 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
470 spacerItem10 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
466 self.gridLayout_5.addItem(spacerItem10, 9, 3, 1, 1)
471 self.gridLayout_5.addItem(spacerItem10, 9, 3, 1, 1)
467 spacerItem11 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
472 spacerItem11 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
468 self.gridLayout_5.addItem(spacerItem11, 7, 3, 1, 1)
473 self.gridLayout_5.addItem(spacerItem11, 7, 3, 1, 1)
469 self.specOpRadarfrequency = QtGui.QLineEdit(self.tabopSpectra)
474 self.specOpRadarfrequency = QtGui.QLineEdit(self.tabopSpectra)
470 self.specOpRadarfrequency.setObjectName(_fromUtf8("specOpRadarfrequency"))
475 self.specOpRadarfrequency.setObjectName(_fromUtf8("specOpRadarfrequency"))
471 self.gridLayout_5.addWidget(self.specOpRadarfrequency, 0, 3, 1, 2)
476 self.gridLayout_5.addWidget(self.specOpRadarfrequency, 0, 3, 1, 2)
472 spacerItem12 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
477 spacerItem12 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
473 self.gridLayout_5.addItem(spacerItem12, 4, 3, 1, 1)
478 self.gridLayout_5.addItem(spacerItem12, 4, 3, 1, 1)
474 self.label_21 = QtGui.QLabel(self.tabopSpectra)
479 self.label_21 = QtGui.QLabel(self.tabopSpectra)
475 self.label_21.setObjectName(_fromUtf8("label_21"))
480 self.label_21.setObjectName(_fromUtf8("label_21"))
476 self.gridLayout_5.addWidget(self.label_21, 1, 0, 1, 1)
481 self.gridLayout_5.addWidget(self.label_21, 1, 0, 1, 1)
477 self.specOpProfiles = QtGui.QLineEdit(self.tabopSpectra)
482 self.specOpProfiles = QtGui.QLineEdit(self.tabopSpectra)
478 self.specOpProfiles.setObjectName(_fromUtf8("specOpProfiles"))
483 self.specOpProfiles.setObjectName(_fromUtf8("specOpProfiles"))
479 self.gridLayout_5.addWidget(self.specOpProfiles, 1, 3, 1, 2)
484 self.gridLayout_5.addWidget(self.specOpProfiles, 1, 3, 1, 2)
480 self.specOpCebRemoveInt = QtGui.QCheckBox(self.tabopSpectra)
485 self.specOpCebRemoveInt = QtGui.QCheckBox(self.tabopSpectra)
481 self.specOpCebRemoveInt.setObjectName(_fromUtf8("specOpCebRemoveInt"))
486 self.specOpCebRemoveInt.setObjectName(_fromUtf8("specOpCebRemoveInt"))
482 self.gridLayout_5.addWidget(self.specOpCebRemoveInt, 15, 0, 1, 1)
487 self.gridLayout_5.addWidget(self.specOpCebRemoveInt, 15, 0, 1, 1)
483 spacerItem13 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
488 spacerItem13 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
484 self.gridLayout_5.addItem(spacerItem13, 15, 3, 1, 1)
489 self.gridLayout_5.addItem(spacerItem13, 15, 3, 1, 1)
485 self.label_70 = QtGui.QLabel(self.tabopSpectra)
490 self.label_70 = QtGui.QLabel(self.tabopSpectra)
486 self.label_70.setObjectName(_fromUtf8("label_70"))
491 self.label_70.setObjectName(_fromUtf8("label_70"))
487 self.gridLayout_5.addWidget(self.label_70, 3, 0, 1, 1)
492 self.gridLayout_5.addWidget(self.label_70, 3, 0, 1, 1)
488 self.specOpCebgetNoise = QtGui.QCheckBox(self.tabopSpectra)
493 self.specOpCebgetNoise = QtGui.QCheckBox(self.tabopSpectra)
489 self.specOpCebgetNoise.setObjectName(_fromUtf8("specOpCebgetNoise"))
494 self.specOpCebgetNoise.setObjectName(_fromUtf8("specOpCebgetNoise"))
490 self.gridLayout_5.addWidget(self.specOpCebgetNoise, 16, 0, 1, 1)
495 self.gridLayout_5.addWidget(self.specOpCebgetNoise, 16, 0, 1, 1)
491 self.specOpippFactor = QtGui.QLineEdit(self.tabopSpectra)
496 self.specOpippFactor = QtGui.QLineEdit(self.tabopSpectra)
492 self.specOpippFactor.setObjectName(_fromUtf8("specOpippFactor"))
497 self.specOpippFactor.setObjectName(_fromUtf8("specOpippFactor"))
493 self.gridLayout_5.addWidget(self.specOpippFactor, 3, 3, 1, 2)
498 self.gridLayout_5.addWidget(self.specOpippFactor, 3, 3, 1, 2)
494 self.specOpComRemoveDC = QtGui.QComboBox(self.tabopSpectra)
499 self.specOpComRemoveDC = QtGui.QComboBox(self.tabopSpectra)
495 self.specOpComRemoveDC.setObjectName(_fromUtf8("specOpComRemoveDC"))
500 self.specOpComRemoveDC.setObjectName(_fromUtf8("specOpComRemoveDC"))
496 self.specOpComRemoveDC.addItem(_fromUtf8(""))
501 self.specOpComRemoveDC.addItem(_fromUtf8(""))
497 self.specOpComRemoveDC.addItem(_fromUtf8(""))
502 self.specOpComRemoveDC.addItem(_fromUtf8(""))
498 self.gridLayout_5.addWidget(self.specOpComRemoveDC, 14, 3, 1, 2)
503 self.gridLayout_5.addWidget(self.specOpComRemoveDC, 14, 3, 1, 2)
499 self.specOpgetNoise = QtGui.QLineEdit(self.tabopSpectra)
504 self.specOpgetNoise = QtGui.QLineEdit(self.tabopSpectra)
500 self.specOpgetNoise.setObjectName(_fromUtf8("specOpgetNoise"))
505 self.specOpgetNoise.setObjectName(_fromUtf8("specOpgetNoise"))
501 self.gridLayout_5.addWidget(self.specOpgetNoise, 16, 3, 1, 2)
506 self.gridLayout_5.addWidget(self.specOpgetNoise, 16, 3, 1, 2)
502 self.tabWidgetSpectra.addTab(self.tabopSpectra, _fromUtf8(""))
507 self.tabWidgetSpectra.addTab(self.tabopSpectra, _fromUtf8(""))
503 self.tabgraphSpectra = QtGui.QWidget()
508 self.tabgraphSpectra = QtGui.QWidget()
504 self.tabgraphSpectra.setObjectName(_fromUtf8("tabgraphSpectra"))
509 self.tabgraphSpectra.setObjectName(_fromUtf8("tabgraphSpectra"))
505 self.gridLayout_9 = QtGui.QGridLayout(self.tabgraphSpectra)
510 self.gridLayout_9 = QtGui.QGridLayout(self.tabgraphSpectra)
506 self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
511 self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
507 self.label_44 = QtGui.QLabel(self.tabgraphSpectra)
512 self.label_44 = QtGui.QLabel(self.tabgraphSpectra)
508 self.label_44.setObjectName(_fromUtf8("label_44"))
513 self.label_44.setObjectName(_fromUtf8("label_44"))
509 self.gridLayout_9.addWidget(self.label_44, 10, 0, 1, 1)
514 self.gridLayout_9.addWidget(self.label_44, 10, 0, 1, 1)
510 spacerItem14 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
515 spacerItem14 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
511 self.gridLayout_9.addItem(spacerItem14, 14, 2, 1, 1)
516 self.gridLayout_9.addItem(spacerItem14, 14, 2, 1, 1)
512 self.label_20 = QtGui.QLabel(self.tabgraphSpectra)
517 self.label_20 = QtGui.QLabel(self.tabgraphSpectra)
513 self.label_20.setObjectName(_fromUtf8("label_20"))
518 self.label_20.setObjectName(_fromUtf8("label_20"))
514 self.gridLayout_9.addWidget(self.label_20, 21, 0, 1, 1)
519 self.gridLayout_9.addWidget(self.label_20, 21, 0, 1, 1)
515 self.specGraphSaveRTInoise = QtGui.QCheckBox(self.tabgraphSpectra)
520 self.specGraphSaveRTInoise = QtGui.QCheckBox(self.tabgraphSpectra)
516 self.specGraphSaveRTInoise.setText(_fromUtf8(""))
521 self.specGraphSaveRTInoise.setText(_fromUtf8(""))
517 self.specGraphSaveRTInoise.setObjectName(_fromUtf8("specGraphSaveRTInoise"))
522 self.specGraphSaveRTInoise.setObjectName(_fromUtf8("specGraphSaveRTInoise"))
518 self.gridLayout_9.addWidget(self.specGraphSaveRTInoise, 13, 4, 1, 1)
523 self.gridLayout_9.addWidget(self.specGraphSaveRTInoise, 13, 4, 1, 1)
519 self.specGgraphmagnitud = QtGui.QLineEdit(self.tabgraphSpectra)
524 self.specGgraphmagnitud = QtGui.QLineEdit(self.tabgraphSpectra)
520 self.specGgraphmagnitud.setObjectName(_fromUtf8("specGgraphmagnitud"))
525 self.specGgraphmagnitud.setObjectName(_fromUtf8("specGgraphmagnitud"))
521 self.gridLayout_9.addWidget(self.specGgraphmagnitud, 20, 1, 1, 7)
526 self.gridLayout_9.addWidget(self.specGgraphmagnitud, 20, 1, 1, 7)
522 self.specGraphSaveSpectra = QtGui.QCheckBox(self.tabgraphSpectra)
527 self.specGraphSaveSpectra = QtGui.QCheckBox(self.tabgraphSpectra)
523 self.specGraphSaveSpectra.setText(_fromUtf8(""))
528 self.specGraphSaveSpectra.setText(_fromUtf8(""))
524 self.specGraphSaveSpectra.setObjectName(_fromUtf8("specGraphSaveSpectra"))
529 self.specGraphSaveSpectra.setObjectName(_fromUtf8("specGraphSaveSpectra"))
525 self.gridLayout_9.addWidget(self.specGraphSaveSpectra, 6, 4, 1, 1)
530 self.gridLayout_9.addWidget(self.specGraphSaveSpectra, 6, 4, 1, 1)
526 self.specGgraphChannelList = QtGui.QLineEdit(self.tabgraphSpectra)
531 self.specGgraphChannelList = QtGui.QLineEdit(self.tabgraphSpectra)
527 self.specGgraphChannelList.setObjectName(_fromUtf8("specGgraphChannelList"))
532 self.specGgraphChannelList.setObjectName(_fromUtf8("specGgraphChannelList"))
528 self.gridLayout_9.addWidget(self.specGgraphChannelList, 15, 1, 1, 7)
533 self.gridLayout_9.addWidget(self.specGgraphChannelList, 15, 1, 1, 7)
529 self.label_25 = QtGui.QLabel(self.tabgraphSpectra)
534 self.label_25 = QtGui.QLabel(self.tabgraphSpectra)
530 self.label_25.setObjectName(_fromUtf8("label_25"))
535 self.label_25.setObjectName(_fromUtf8("label_25"))
531 self.gridLayout_9.addWidget(self.label_25, 2, 0, 1, 1)
536 self.gridLayout_9.addWidget(self.label_25, 2, 0, 1, 1)
532 self.specGgraphTminTmax = QtGui.QLineEdit(self.tabgraphSpectra)
537 self.specGgraphTminTmax = QtGui.QLineEdit(self.tabgraphSpectra)
533 self.specGgraphTminTmax.setObjectName(_fromUtf8("specGgraphTminTmax"))
538 self.specGgraphTminTmax.setObjectName(_fromUtf8("specGgraphTminTmax"))
534 self.gridLayout_9.addWidget(self.specGgraphTminTmax, 21, 1, 1, 7)
539 self.gridLayout_9.addWidget(self.specGgraphTminTmax, 21, 1, 1, 7)
535 spacerItem15 = QtGui.QSpacerItem(28, 15, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
540 spacerItem15 = QtGui.QSpacerItem(28, 15, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
536 self.gridLayout_9.addItem(spacerItem15, 27, 6, 1, 2)
541 self.gridLayout_9.addItem(spacerItem15, 27, 6, 1, 2)
537 spacerItem16 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
542 spacerItem16 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
538 self.gridLayout_9.addItem(spacerItem16, 3, 5, 1, 1)
543 self.gridLayout_9.addItem(spacerItem16, 3, 5, 1, 1)
539 self.label_42 = QtGui.QLabel(self.tabgraphSpectra)
544 self.label_42 = QtGui.QLabel(self.tabgraphSpectra)
540 self.label_42.setObjectName(_fromUtf8("label_42"))
545 self.label_42.setObjectName(_fromUtf8("label_42"))
541 self.gridLayout_9.addWidget(self.label_42, 9, 0, 1, 1)
546 self.gridLayout_9.addWidget(self.label_42, 9, 0, 1, 1)
542 self.label_16 = QtGui.QLabel(self.tabgraphSpectra)
547 self.label_16 = QtGui.QLabel(self.tabgraphSpectra)
543 self.label_16.setObjectName(_fromUtf8("label_16"))
548 self.label_16.setObjectName(_fromUtf8("label_16"))
544 self.gridLayout_9.addWidget(self.label_16, 18, 0, 1, 1)
549 self.gridLayout_9.addWidget(self.label_16, 18, 0, 1, 1)
545 self.label_17 = QtGui.QLabel(self.tabgraphSpectra)
550 self.label_17 = QtGui.QLabel(self.tabgraphSpectra)
546 self.label_17.setObjectName(_fromUtf8("label_17"))
551 self.label_17.setObjectName(_fromUtf8("label_17"))
547 self.gridLayout_9.addWidget(self.label_17, 19, 0, 1, 1)
552 self.gridLayout_9.addWidget(self.label_17, 19, 0, 1, 1)
548 self.label_18 = QtGui.QLabel(self.tabgraphSpectra)
553 self.label_18 = QtGui.QLabel(self.tabgraphSpectra)
549 self.label_18.setObjectName(_fromUtf8("label_18"))
554 self.label_18.setObjectName(_fromUtf8("label_18"))
550 self.gridLayout_9.addWidget(self.label_18, 20, 0, 1, 1)
555 self.gridLayout_9.addWidget(self.label_18, 20, 0, 1, 1)
551 self.specGgraphFreq = QtGui.QLineEdit(self.tabgraphSpectra)
556 self.specGgraphFreq = QtGui.QLineEdit(self.tabgraphSpectra)
552 self.specGgraphFreq.setObjectName(_fromUtf8("specGgraphFreq"))
557 self.specGgraphFreq.setObjectName(_fromUtf8("specGgraphFreq"))
553 self.gridLayout_9.addWidget(self.specGgraphFreq, 16, 1, 1, 7)
558 self.gridLayout_9.addWidget(self.specGgraphFreq, 16, 1, 1, 7)
554 self.specGgraphHeight = QtGui.QLineEdit(self.tabgraphSpectra)
559 self.specGgraphHeight = QtGui.QLineEdit(self.tabgraphSpectra)
555 self.specGgraphHeight.setObjectName(_fromUtf8("specGgraphHeight"))
560 self.specGgraphHeight.setObjectName(_fromUtf8("specGgraphHeight"))
556 self.gridLayout_9.addWidget(self.specGgraphHeight, 18, 1, 1, 7)
561 self.gridLayout_9.addWidget(self.specGgraphHeight, 18, 1, 1, 7)
557 spacerItem17 = QtGui.QSpacerItem(49, 15, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
562 spacerItem17 = QtGui.QSpacerItem(49, 15, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
558 self.gridLayout_9.addItem(spacerItem17, 27, 0, 1, 1)
563 self.gridLayout_9.addItem(spacerItem17, 27, 0, 1, 1)
559 self.label_24 = QtGui.QLabel(self.tabgraphSpectra)
564 self.label_24 = QtGui.QLabel(self.tabgraphSpectra)
560 self.label_24.setObjectName(_fromUtf8("label_24"))
565 self.label_24.setObjectName(_fromUtf8("label_24"))
561 self.gridLayout_9.addWidget(self.label_24, 0, 0, 1, 1)
566 self.gridLayout_9.addWidget(self.label_24, 0, 0, 1, 1)
562 self.specGraphPrefix = QtGui.QLineEdit(self.tabgraphSpectra)
567 self.specGraphPrefix = QtGui.QLineEdit(self.tabgraphSpectra)
563 self.specGraphPrefix.setObjectName(_fromUtf8("specGraphPrefix"))
568 self.specGraphPrefix.setObjectName(_fromUtf8("specGraphPrefix"))
564 self.gridLayout_9.addWidget(self.specGraphPrefix, 2, 1, 1, 7)
569 self.gridLayout_9.addWidget(self.specGraphPrefix, 2, 1, 1, 7)
565 self.specGgraphDbsrange = QtGui.QLineEdit(self.tabgraphSpectra)
570 self.specGgraphDbsrange = QtGui.QLineEdit(self.tabgraphSpectra)
566 self.specGgraphDbsrange.setObjectName(_fromUtf8("specGgraphDbsrange"))
571 self.specGgraphDbsrange.setObjectName(_fromUtf8("specGgraphDbsrange"))
567 self.gridLayout_9.addWidget(self.specGgraphDbsrange, 19, 1, 1, 7)
572 self.gridLayout_9.addWidget(self.specGgraphDbsrange, 19, 1, 1, 7)
568 self.label_46 = QtGui.QLabel(self.tabgraphSpectra)
573 self.label_46 = QtGui.QLabel(self.tabgraphSpectra)
569 self.label_46.setObjectName(_fromUtf8("label_46"))
574 self.label_46.setObjectName(_fromUtf8("label_46"))
570 self.gridLayout_9.addWidget(self.label_46, 11, 0, 1, 1)
575 self.gridLayout_9.addWidget(self.label_46, 11, 0, 1, 1)
571 self.label_22 = QtGui.QLabel(self.tabgraphSpectra)
576 self.label_22 = QtGui.QLabel(self.tabgraphSpectra)
572 self.label_22.setObjectName(_fromUtf8("label_22"))
577 self.label_22.setObjectName(_fromUtf8("label_22"))
573 self.gridLayout_9.addWidget(self.label_22, 16, 0, 1, 1)
578 self.gridLayout_9.addWidget(self.label_22, 16, 0, 1, 1)
574 self.specGraphPath = QtGui.QLineEdit(self.tabgraphSpectra)
579 self.specGraphPath = QtGui.QLineEdit(self.tabgraphSpectra)
575 self.specGraphPath.setObjectName(_fromUtf8("specGraphPath"))
580 self.specGraphPath.setObjectName(_fromUtf8("specGraphPath"))
576 self.gridLayout_9.addWidget(self.specGraphPath, 0, 1, 1, 6)
581 self.gridLayout_9.addWidget(self.specGraphPath, 0, 1, 1, 6)
577 self.label_41 = QtGui.QLabel(self.tabgraphSpectra)
582 self.label_41 = QtGui.QLabel(self.tabgraphSpectra)
578 self.label_41.setObjectName(_fromUtf8("label_41"))
583 self.label_41.setObjectName(_fromUtf8("label_41"))
579 self.gridLayout_9.addWidget(self.label_41, 8, 0, 1, 1)
584 self.gridLayout_9.addWidget(self.label_41, 8, 0, 1, 1)
580 self.specGraphToolPath = QtGui.QToolButton(self.tabgraphSpectra)
585 self.specGraphToolPath = QtGui.QToolButton(self.tabgraphSpectra)
581 self.specGraphToolPath.setObjectName(_fromUtf8("specGraphToolPath"))
586 self.specGraphToolPath.setObjectName(_fromUtf8("specGraphToolPath"))
582 self.gridLayout_9.addWidget(self.specGraphToolPath, 0, 7, 1, 1)
587 self.gridLayout_9.addWidget(self.specGraphToolPath, 0, 7, 1, 1)
583 self.label_6 = QtGui.QLabel(self.tabgraphSpectra)
588 self.label_6 = QtGui.QLabel(self.tabgraphSpectra)
584 self.label_6.setObjectName(_fromUtf8("label_6"))
589 self.label_6.setObjectName(_fromUtf8("label_6"))
585 self.gridLayout_9.addWidget(self.label_6, 15, 0, 1, 1)
590 self.gridLayout_9.addWidget(self.label_6, 15, 0, 1, 1)
586 self.label_40 = QtGui.QLabel(self.tabgraphSpectra)
591 self.label_40 = QtGui.QLabel(self.tabgraphSpectra)
587 self.label_40.setObjectName(_fromUtf8("label_40"))
592 self.label_40.setObjectName(_fromUtf8("label_40"))
588 self.gridLayout_9.addWidget(self.label_40, 6, 0, 1, 1)
593 self.gridLayout_9.addWidget(self.label_40, 6, 0, 1, 1)
589 self.specGraphCebSpectraplot = QtGui.QCheckBox(self.tabgraphSpectra)
594 self.specGraphCebSpectraplot = QtGui.QCheckBox(self.tabgraphSpectra)
590 self.specGraphCebSpectraplot.setText(_fromUtf8(""))
595 self.specGraphCebSpectraplot.setText(_fromUtf8(""))
591 self.specGraphCebSpectraplot.setObjectName(_fromUtf8("specGraphCebSpectraplot"))
596 self.specGraphCebSpectraplot.setObjectName(_fromUtf8("specGraphCebSpectraplot"))
592 self.gridLayout_9.addWidget(self.specGraphCebSpectraplot, 6, 2, 1, 1)
597 self.gridLayout_9.addWidget(self.specGraphCebSpectraplot, 6, 2, 1, 1)
593 self.specGraphCebCrossSpectraplot = QtGui.QCheckBox(self.tabgraphSpectra)
598 self.specGraphCebCrossSpectraplot = QtGui.QCheckBox(self.tabgraphSpectra)
594 self.specGraphCebCrossSpectraplot.setText(_fromUtf8(""))
599 self.specGraphCebCrossSpectraplot.setText(_fromUtf8(""))
595 self.specGraphCebCrossSpectraplot.setObjectName(_fromUtf8("specGraphCebCrossSpectraplot"))
600 self.specGraphCebCrossSpectraplot.setObjectName(_fromUtf8("specGraphCebCrossSpectraplot"))
596 self.gridLayout_9.addWidget(self.specGraphCebCrossSpectraplot, 8, 2, 1, 1)
601 self.gridLayout_9.addWidget(self.specGraphCebCrossSpectraplot, 8, 2, 1, 1)
597 self.specGraphCebRTIplot = QtGui.QCheckBox(self.tabgraphSpectra)
602 self.specGraphCebRTIplot = QtGui.QCheckBox(self.tabgraphSpectra)
598 self.specGraphCebRTIplot.setText(_fromUtf8(""))
603 self.specGraphCebRTIplot.setText(_fromUtf8(""))
599 self.specGraphCebRTIplot.setObjectName(_fromUtf8("specGraphCebRTIplot"))
604 self.specGraphCebRTIplot.setObjectName(_fromUtf8("specGraphCebRTIplot"))
600 self.gridLayout_9.addWidget(self.specGraphCebRTIplot, 9, 2, 1, 1)
605 self.gridLayout_9.addWidget(self.specGraphCebRTIplot, 9, 2, 1, 1)
601 self.specGraphCebCoherencmap = QtGui.QCheckBox(self.tabgraphSpectra)
606 self.specGraphCebCoherencmap = QtGui.QCheckBox(self.tabgraphSpectra)
602 self.specGraphCebCoherencmap.setText(_fromUtf8(""))
607 self.specGraphCebCoherencmap.setText(_fromUtf8(""))
603 self.specGraphCebCoherencmap.setObjectName(_fromUtf8("specGraphCebCoherencmap"))
608 self.specGraphCebCoherencmap.setObjectName(_fromUtf8("specGraphCebCoherencmap"))
604 self.gridLayout_9.addWidget(self.specGraphCebCoherencmap, 10, 2, 1, 1)
609 self.gridLayout_9.addWidget(self.specGraphCebCoherencmap, 10, 2, 1, 1)
605 self.specGraphPowerprofile = QtGui.QCheckBox(self.tabgraphSpectra)
610 self.specGraphPowerprofile = QtGui.QCheckBox(self.tabgraphSpectra)
606 self.specGraphPowerprofile.setText(_fromUtf8(""))
611 self.specGraphPowerprofile.setText(_fromUtf8(""))
607 self.specGraphPowerprofile.setObjectName(_fromUtf8("specGraphPowerprofile"))
612 self.specGraphPowerprofile.setObjectName(_fromUtf8("specGraphPowerprofile"))
608 self.gridLayout_9.addWidget(self.specGraphPowerprofile, 11, 2, 1, 1)
613 self.gridLayout_9.addWidget(self.specGraphPowerprofile, 11, 2, 1, 1)
609 self.specGraphSaveCross = QtGui.QCheckBox(self.tabgraphSpectra)
614 self.specGraphSaveCross = QtGui.QCheckBox(self.tabgraphSpectra)
610 self.specGraphSaveCross.setText(_fromUtf8(""))
615 self.specGraphSaveCross.setText(_fromUtf8(""))
611 self.specGraphSaveCross.setObjectName(_fromUtf8("specGraphSaveCross"))
616 self.specGraphSaveCross.setObjectName(_fromUtf8("specGraphSaveCross"))
612 self.gridLayout_9.addWidget(self.specGraphSaveCross, 8, 4, 1, 1)
617 self.gridLayout_9.addWidget(self.specGraphSaveCross, 8, 4, 1, 1)
613 self.specGraphftpSpectra = QtGui.QCheckBox(self.tabgraphSpectra)
618 self.specGraphftpSpectra = QtGui.QCheckBox(self.tabgraphSpectra)
614 self.specGraphftpSpectra.setText(_fromUtf8(""))
619 self.specGraphftpSpectra.setText(_fromUtf8(""))
615 self.specGraphftpSpectra.setObjectName(_fromUtf8("specGraphftpSpectra"))
620 self.specGraphftpSpectra.setObjectName(_fromUtf8("specGraphftpSpectra"))
616 self.gridLayout_9.addWidget(self.specGraphftpSpectra, 6, 6, 1, 1)
621 self.gridLayout_9.addWidget(self.specGraphftpSpectra, 6, 6, 1, 1)
617 spacerItem18 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
622 spacerItem18 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
618 self.gridLayout_9.addItem(spacerItem18, 4, 3, 1, 1)
623 self.gridLayout_9.addItem(spacerItem18, 4, 3, 1, 1)
619 self.specGraphSavePowerprofile = QtGui.QCheckBox(self.tabgraphSpectra)
624 self.specGraphSavePowerprofile = QtGui.QCheckBox(self.tabgraphSpectra)
620 self.specGraphSavePowerprofile.setText(_fromUtf8(""))
625 self.specGraphSavePowerprofile.setText(_fromUtf8(""))
621 self.specGraphSavePowerprofile.setObjectName(_fromUtf8("specGraphSavePowerprofile"))
626 self.specGraphSavePowerprofile.setObjectName(_fromUtf8("specGraphSavePowerprofile"))
622 self.gridLayout_9.addWidget(self.specGraphSavePowerprofile, 11, 4, 1, 1)
627 self.gridLayout_9.addWidget(self.specGraphSavePowerprofile, 11, 4, 1, 1)
623 self.specGraphSaveCoherencemap = QtGui.QCheckBox(self.tabgraphSpectra)
628 self.specGraphSaveCoherencemap = QtGui.QCheckBox(self.tabgraphSpectra)
624 self.specGraphSaveCoherencemap.setText(_fromUtf8(""))
629 self.specGraphSaveCoherencemap.setText(_fromUtf8(""))
625 self.specGraphSaveCoherencemap.setObjectName(_fromUtf8("specGraphSaveCoherencemap"))
630 self.specGraphSaveCoherencemap.setObjectName(_fromUtf8("specGraphSaveCoherencemap"))
626 self.gridLayout_9.addWidget(self.specGraphSaveCoherencemap, 10, 4, 1, 1)
631 self.gridLayout_9.addWidget(self.specGraphSaveCoherencemap, 10, 4, 1, 1)
627 spacerItem19 = QtGui.QSpacerItem(39, 15, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
632 spacerItem19 = QtGui.QSpacerItem(39, 15, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
628 self.gridLayout_9.addItem(spacerItem19, 27, 4, 1, 1)
633 self.gridLayout_9.addItem(spacerItem19, 27, 4, 1, 1)
629 self.specGgraphftpratio = QtGui.QLineEdit(self.tabgraphSpectra)
634 self.specGgraphftpratio = QtGui.QLineEdit(self.tabgraphSpectra)
630 self.specGgraphftpratio.setObjectName(_fromUtf8("specGgraphftpratio"))
635 self.specGgraphftpratio.setObjectName(_fromUtf8("specGgraphftpratio"))
631 self.gridLayout_9.addWidget(self.specGgraphftpratio, 23, 1, 1, 7)
636 self.gridLayout_9.addWidget(self.specGgraphftpratio, 23, 1, 1, 7)
632 self.label_43 = QtGui.QLabel(self.tabgraphSpectra)
637 self.label_43 = QtGui.QLabel(self.tabgraphSpectra)
633 self.label_43.setObjectName(_fromUtf8("label_43"))
638 self.label_43.setObjectName(_fromUtf8("label_43"))
634 self.gridLayout_9.addWidget(self.label_43, 3, 2, 2, 1)
639 self.gridLayout_9.addWidget(self.label_43, 3, 2, 2, 1)
635 self.specGraphftpCross = QtGui.QCheckBox(self.tabgraphSpectra)
640 self.specGraphftpCross = QtGui.QCheckBox(self.tabgraphSpectra)
636 self.specGraphftpCross.setText(_fromUtf8(""))
641 self.specGraphftpCross.setText(_fromUtf8(""))
637 self.specGraphftpCross.setObjectName(_fromUtf8("specGraphftpCross"))
642 self.specGraphftpCross.setObjectName(_fromUtf8("specGraphftpCross"))
638 self.gridLayout_9.addWidget(self.specGraphftpCross, 8, 6, 1, 1)
643 self.gridLayout_9.addWidget(self.specGraphftpCross, 8, 6, 1, 1)
639 self.label_29 = QtGui.QLabel(self.tabgraphSpectra)
644 self.label_29 = QtGui.QLabel(self.tabgraphSpectra)
640 self.label_29.setObjectName(_fromUtf8("label_29"))
645 self.label_29.setObjectName(_fromUtf8("label_29"))
641 self.gridLayout_9.addWidget(self.label_29, 23, 0, 1, 1)
646 self.gridLayout_9.addWidget(self.label_29, 23, 0, 1, 1)
642 self.label_47 = QtGui.QLabel(self.tabgraphSpectra)
647 self.label_47 = QtGui.QLabel(self.tabgraphSpectra)
643 self.label_47.setObjectName(_fromUtf8("label_47"))
648 self.label_47.setObjectName(_fromUtf8("label_47"))
644 self.gridLayout_9.addWidget(self.label_47, 3, 4, 2, 1)
649 self.gridLayout_9.addWidget(self.label_47, 3, 4, 2, 1)
645 self.specGraphftpRTIplot = QtGui.QCheckBox(self.tabgraphSpectra)
650 self.specGraphftpRTIplot = QtGui.QCheckBox(self.tabgraphSpectra)
646 self.specGraphftpRTIplot.setText(_fromUtf8(""))
651 self.specGraphftpRTIplot.setText(_fromUtf8(""))
647 self.specGraphftpRTIplot.setObjectName(_fromUtf8("specGraphftpRTIplot"))
652 self.specGraphftpRTIplot.setObjectName(_fromUtf8("specGraphftpRTIplot"))
648 self.gridLayout_9.addWidget(self.specGraphftpRTIplot, 9, 6, 1, 1)
653 self.gridLayout_9.addWidget(self.specGraphftpRTIplot, 9, 6, 1, 1)
649 self.specGraphftpCoherencemap = QtGui.QCheckBox(self.tabgraphSpectra)
654 self.specGraphftpCoherencemap = QtGui.QCheckBox(self.tabgraphSpectra)
650 self.specGraphftpCoherencemap.setText(_fromUtf8(""))
655 self.specGraphftpCoherencemap.setText(_fromUtf8(""))
651 self.specGraphftpCoherencemap.setObjectName(_fromUtf8("specGraphftpCoherencemap"))
656 self.specGraphftpCoherencemap.setObjectName(_fromUtf8("specGraphftpCoherencemap"))
652 self.gridLayout_9.addWidget(self.specGraphftpCoherencemap, 10, 6, 1, 1)
657 self.gridLayout_9.addWidget(self.specGraphftpCoherencemap, 10, 6, 1, 1)
653 self.specGraphftpPowerprofile = QtGui.QCheckBox(self.tabgraphSpectra)
658 self.specGraphftpPowerprofile = QtGui.QCheckBox(self.tabgraphSpectra)
654 self.specGraphftpPowerprofile.setText(_fromUtf8(""))
659 self.specGraphftpPowerprofile.setText(_fromUtf8(""))
655 self.specGraphftpPowerprofile.setObjectName(_fromUtf8("specGraphftpPowerprofile"))
660 self.specGraphftpPowerprofile.setObjectName(_fromUtf8("specGraphftpPowerprofile"))
656 self.gridLayout_9.addWidget(self.specGraphftpPowerprofile, 11, 6, 1, 1)
661 self.gridLayout_9.addWidget(self.specGraphftpPowerprofile, 11, 6, 1, 1)
657 self.label_19 = QtGui.QLabel(self.tabgraphSpectra)
662 self.label_19 = QtGui.QLabel(self.tabgraphSpectra)
658 self.label_19.setObjectName(_fromUtf8("label_19"))
663 self.label_19.setObjectName(_fromUtf8("label_19"))
659 self.gridLayout_9.addWidget(self.label_19, 3, 6, 2, 2)
664 self.gridLayout_9.addWidget(self.label_19, 3, 6, 2, 2)
660 self.specGraphSaveRTIplot = QtGui.QCheckBox(self.tabgraphSpectra)
665 self.specGraphSaveRTIplot = QtGui.QCheckBox(self.tabgraphSpectra)
661 self.specGraphSaveRTIplot.setText(_fromUtf8(""))
666 self.specGraphSaveRTIplot.setText(_fromUtf8(""))
662 self.specGraphSaveRTIplot.setObjectName(_fromUtf8("specGraphSaveRTIplot"))
667 self.specGraphSaveRTIplot.setObjectName(_fromUtf8("specGraphSaveRTIplot"))
663 self.gridLayout_9.addWidget(self.specGraphSaveRTIplot, 9, 4, 1, 1)
668 self.gridLayout_9.addWidget(self.specGraphSaveRTIplot, 9, 4, 1, 1)
664 self.label_45 = QtGui.QLabel(self.tabgraphSpectra)
669 self.label_45 = QtGui.QLabel(self.tabgraphSpectra)
665 self.label_45.setObjectName(_fromUtf8("label_45"))
670 self.label_45.setObjectName(_fromUtf8("label_45"))
666 self.gridLayout_9.addWidget(self.label_45, 13, 0, 1, 1)
671 self.gridLayout_9.addWidget(self.label_45, 13, 0, 1, 1)
667 self.specGraphftpRTInoise = QtGui.QCheckBox(self.tabgraphSpectra)
672 self.specGraphftpRTInoise = QtGui.QCheckBox(self.tabgraphSpectra)
668 self.specGraphftpRTInoise.setText(_fromUtf8(""))
673 self.specGraphftpRTInoise.setText(_fromUtf8(""))
669 self.specGraphftpRTInoise.setObjectName(_fromUtf8("specGraphftpRTInoise"))
674 self.specGraphftpRTInoise.setObjectName(_fromUtf8("specGraphftpRTInoise"))
670 self.gridLayout_9.addWidget(self.specGraphftpRTInoise, 13, 6, 1, 1)
675 self.gridLayout_9.addWidget(self.specGraphftpRTInoise, 13, 6, 1, 1)
671 self.specGraphCebRTInoise = QtGui.QCheckBox(self.tabgraphSpectra)
676 self.specGraphCebRTInoise = QtGui.QCheckBox(self.tabgraphSpectra)
672 self.specGraphCebRTInoise.setText(_fromUtf8(""))
677 self.specGraphCebRTInoise.setText(_fromUtf8(""))
673 self.specGraphCebRTInoise.setObjectName(_fromUtf8("specGraphCebRTInoise"))
678 self.specGraphCebRTInoise.setObjectName(_fromUtf8("specGraphCebRTInoise"))
674 self.gridLayout_9.addWidget(self.specGraphCebRTInoise, 13, 2, 1, 1)
679 self.gridLayout_9.addWidget(self.specGraphCebRTInoise, 13, 2, 1, 1)
675 self.label_48 = QtGui.QLabel(self.tabgraphSpectra)
680 self.label_48 = QtGui.QLabel(self.tabgraphSpectra)
676 self.label_48.setObjectName(_fromUtf8("label_48"))
681 self.label_48.setObjectName(_fromUtf8("label_48"))
677 self.gridLayout_9.addWidget(self.label_48, 22, 0, 1, 1)
682 self.gridLayout_9.addWidget(self.label_48, 22, 0, 1, 1)
678 self.specGgraphTimeRange = QtGui.QLineEdit(self.tabgraphSpectra)
683 self.specGgraphTimeRange = QtGui.QLineEdit(self.tabgraphSpectra)
679 self.specGgraphTimeRange.setObjectName(_fromUtf8("specGgraphTimeRange"))
684 self.specGgraphTimeRange.setObjectName(_fromUtf8("specGgraphTimeRange"))
680 self.gridLayout_9.addWidget(self.specGgraphTimeRange, 22, 1, 1, 7)
685 self.gridLayout_9.addWidget(self.specGgraphTimeRange, 22, 1, 1, 7)
681 self.tabWidgetSpectra.addTab(self.tabgraphSpectra, _fromUtf8(""))
686 self.tabWidgetSpectra.addTab(self.tabgraphSpectra, _fromUtf8(""))
682 self.taboutputSpectra = QtGui.QWidget()
687 self.taboutputSpectra = QtGui.QWidget()
683 self.taboutputSpectra.setObjectName(_fromUtf8("taboutputSpectra"))
688 self.taboutputSpectra.setObjectName(_fromUtf8("taboutputSpectra"))
684 self.gridLayout_11 = QtGui.QGridLayout(self.taboutputSpectra)
689 self.gridLayout_11 = QtGui.QGridLayout(self.taboutputSpectra)
685 self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11"))
690 self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11"))
686 self.label_39 = QtGui.QLabel(self.taboutputSpectra)
691 self.label_39 = QtGui.QLabel(self.taboutputSpectra)
687 self.label_39.setObjectName(_fromUtf8("label_39"))
692 self.label_39.setObjectName(_fromUtf8("label_39"))
688 self.gridLayout_11.addWidget(self.label_39, 0, 0, 1, 1)
693 self.gridLayout_11.addWidget(self.label_39, 0, 0, 1, 1)
689 self.specOutputComData = QtGui.QComboBox(self.taboutputSpectra)
694 self.specOutputComData = QtGui.QComboBox(self.taboutputSpectra)
690 self.specOutputComData.setObjectName(_fromUtf8("specOutputComData"))
695 self.specOutputComData.setObjectName(_fromUtf8("specOutputComData"))
691 self.specOutputComData.addItem(_fromUtf8(""))
696 self.specOutputComData.addItem(_fromUtf8(""))
692 self.gridLayout_11.addWidget(self.specOutputComData, 0, 2, 1, 2)
697 self.gridLayout_11.addWidget(self.specOutputComData, 0, 2, 1, 2)
693 self.label_34 = QtGui.QLabel(self.taboutputSpectra)
698 self.label_34 = QtGui.QLabel(self.taboutputSpectra)
694 self.label_34.setObjectName(_fromUtf8("label_34"))
699 self.label_34.setObjectName(_fromUtf8("label_34"))
695 self.gridLayout_11.addWidget(self.label_34, 1, 0, 1, 1)
700 self.gridLayout_11.addWidget(self.label_34, 1, 0, 1, 1)
696 self.specOutputPath = QtGui.QLineEdit(self.taboutputSpectra)
701 self.specOutputPath = QtGui.QLineEdit(self.taboutputSpectra)
697 self.specOutputPath.setObjectName(_fromUtf8("specOutputPath"))
702 self.specOutputPath.setObjectName(_fromUtf8("specOutputPath"))
698 self.gridLayout_11.addWidget(self.specOutputPath, 1, 2, 1, 1)
703 self.gridLayout_11.addWidget(self.specOutputPath, 1, 2, 1, 1)
699 spacerItem20 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
704 spacerItem20 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
700 self.gridLayout_11.addItem(spacerItem20, 4, 2, 1, 1)
705 self.gridLayout_11.addItem(spacerItem20, 4, 2, 1, 1)
701 self.specOutputToolPath = QtGui.QToolButton(self.taboutputSpectra)
706 self.specOutputToolPath = QtGui.QToolButton(self.taboutputSpectra)
702 self.specOutputToolPath.setObjectName(_fromUtf8("specOutputToolPath"))
707 self.specOutputToolPath.setObjectName(_fromUtf8("specOutputToolPath"))
703 self.gridLayout_11.addWidget(self.specOutputToolPath, 1, 3, 1, 1)
708 self.gridLayout_11.addWidget(self.specOutputToolPath, 1, 3, 1, 1)
704 self.specOutputblocksperfile = QtGui.QLineEdit(self.taboutputSpectra)
709 self.specOutputblocksperfile = QtGui.QLineEdit(self.taboutputSpectra)
705 self.specOutputblocksperfile.setObjectName(_fromUtf8("specOutputblocksperfile"))
710 self.specOutputblocksperfile.setObjectName(_fromUtf8("specOutputblocksperfile"))
706 self.gridLayout_11.addWidget(self.specOutputblocksperfile, 2, 2, 1, 1)
711 self.gridLayout_11.addWidget(self.specOutputblocksperfile, 2, 2, 1, 1)
707 self.label_9 = QtGui.QLabel(self.taboutputSpectra)
712 self.label_9 = QtGui.QLabel(self.taboutputSpectra)
708 self.label_9.setObjectName(_fromUtf8("label_9"))
713 self.label_9.setObjectName(_fromUtf8("label_9"))
709 self.gridLayout_11.addWidget(self.label_9, 2, 0, 1, 2)
714 self.gridLayout_11.addWidget(self.label_9, 2, 0, 1, 2)
710 self.label_38 = QtGui.QLabel(self.taboutputSpectra)
715 self.label_38 = QtGui.QLabel(self.taboutputSpectra)
711 self.label_38.setObjectName(_fromUtf8("label_38"))
716 self.label_38.setObjectName(_fromUtf8("label_38"))
712 self.gridLayout_11.addWidget(self.label_38, 3, 0, 1, 1)
717 self.gridLayout_11.addWidget(self.label_38, 3, 0, 1, 1)
713 self.specOutputprofileperblock = QtGui.QLineEdit(self.taboutputSpectra)
718 self.specOutputprofileperblock = QtGui.QLineEdit(self.taboutputSpectra)
714 self.specOutputprofileperblock.setObjectName(_fromUtf8("specOutputprofileperblock"))
719 self.specOutputprofileperblock.setObjectName(_fromUtf8("specOutputprofileperblock"))
715 self.gridLayout_11.addWidget(self.specOutputprofileperblock, 3, 2, 1, 1)
720 self.gridLayout_11.addWidget(self.specOutputprofileperblock, 3, 2, 1, 1)
716 self.tabWidgetSpectra.addTab(self.taboutputSpectra, _fromUtf8(""))
721 self.tabWidgetSpectra.addTab(self.taboutputSpectra, _fromUtf8(""))
717 self.gridLayout_7.addWidget(self.tabWidgetSpectra, 0, 1, 1, 1)
722 self.gridLayout_7.addWidget(self.tabWidgetSpectra, 0, 1, 1, 1)
718 self.tabWidgetProject.addTab(self.tabSpectra, _fromUtf8(""))
723 self.tabWidgetProject.addTab(self.tabSpectra, _fromUtf8(""))
719 self.tabSpectraHeis = QtGui.QWidget()
724 self.tabSpectraHeis = QtGui.QWidget()
720 self.tabSpectraHeis.setObjectName(_fromUtf8("tabSpectraHeis"))
725 self.tabSpectraHeis.setObjectName(_fromUtf8("tabSpectraHeis"))
721 self.gridLayout_23 = QtGui.QGridLayout(self.tabSpectraHeis)
726 self.gridLayout_23 = QtGui.QGridLayout(self.tabSpectraHeis)
722 self.gridLayout_23.setObjectName(_fromUtf8("gridLayout_23"))
727 self.gridLayout_23.setObjectName(_fromUtf8("gridLayout_23"))
723 self.frame_6 = QtGui.QFrame(self.tabSpectraHeis)
728 self.frame_6 = QtGui.QFrame(self.tabSpectraHeis)
724 self.frame_6.setFrameShape(QtGui.QFrame.StyledPanel)
729 self.frame_6.setFrameShape(QtGui.QFrame.StyledPanel)
725 self.frame_6.setFrameShadow(QtGui.QFrame.Raised)
730 self.frame_6.setFrameShadow(QtGui.QFrame.Raised)
726 self.frame_6.setObjectName(_fromUtf8("frame_6"))
731 self.frame_6.setObjectName(_fromUtf8("frame_6"))
727 self.gridLayout_22 = QtGui.QGridLayout(self.frame_6)
732 self.gridLayout_22 = QtGui.QGridLayout(self.frame_6)
728 self.gridLayout_22.setObjectName(_fromUtf8("gridLayout_22"))
733 self.gridLayout_22.setObjectName(_fromUtf8("gridLayout_22"))
729 self.specHeisGraphClear = QtGui.QPushButton(self.frame_6)
734 self.specHeisGraphClear = QtGui.QPushButton(self.frame_6)
730 self.specHeisGraphClear.setObjectName(_fromUtf8("specHeisGraphClear"))
735 self.specHeisGraphClear.setObjectName(_fromUtf8("specHeisGraphClear"))
731 self.gridLayout_22.addWidget(self.specHeisGraphClear, 0, 1, 1, 1)
736 self.gridLayout_22.addWidget(self.specHeisGraphClear, 0, 1, 1, 1)
732 self.specHeisOpOk = QtGui.QPushButton(self.frame_6)
737 self.specHeisOpOk = QtGui.QPushButton(self.frame_6)
733 self.specHeisOpOk.setObjectName(_fromUtf8("specHeisOpOk"))
738 self.specHeisOpOk.setObjectName(_fromUtf8("specHeisOpOk"))
734 self.gridLayout_22.addWidget(self.specHeisOpOk, 0, 0, 1, 1)
739 self.gridLayout_22.addWidget(self.specHeisOpOk, 0, 0, 1, 1)
735 self.gridLayout_23.addWidget(self.frame_6, 1, 0, 1, 1)
740 self.gridLayout_23.addWidget(self.frame_6, 1, 0, 1, 1)
736 self.tabWidgetSpectraHeis = QtGui.QTabWidget(self.tabSpectraHeis)
741 self.tabWidgetSpectraHeis = QtGui.QTabWidget(self.tabSpectraHeis)
737 self.tabWidgetSpectraHeis.setObjectName(_fromUtf8("tabWidgetSpectraHeis"))
742 self.tabWidgetSpectraHeis.setObjectName(_fromUtf8("tabWidgetSpectraHeis"))
738 self.tabopSpectraHeis = QtGui.QWidget()
743 self.tabopSpectraHeis = QtGui.QWidget()
739 self.tabopSpectraHeis.setObjectName(_fromUtf8("tabopSpectraHeis"))
744 self.tabopSpectraHeis.setObjectName(_fromUtf8("tabopSpectraHeis"))
740 self.gridLayout_21 = QtGui.QGridLayout(self.tabopSpectraHeis)
745 self.gridLayout_21 = QtGui.QGridLayout(self.tabopSpectraHeis)
741 self.gridLayout_21.setObjectName(_fromUtf8("gridLayout_21"))
746 self.gridLayout_21.setObjectName(_fromUtf8("gridLayout_21"))
742 spacerItem21 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
747 spacerItem21 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
743 self.gridLayout_21.addItem(spacerItem21, 0, 1, 1, 1)
748 self.gridLayout_21.addItem(spacerItem21, 0, 1, 1, 1)
744 self.specHeisOpCobIncInt = QtGui.QComboBox(self.tabopSpectraHeis)
749 self.specHeisOpCobIncInt = QtGui.QComboBox(self.tabopSpectraHeis)
745 self.specHeisOpCobIncInt.setObjectName(_fromUtf8("specHeisOpCobIncInt"))
750 self.specHeisOpCobIncInt.setObjectName(_fromUtf8("specHeisOpCobIncInt"))
746 self.specHeisOpCobIncInt.addItem(_fromUtf8(""))
751 self.specHeisOpCobIncInt.addItem(_fromUtf8(""))
747 self.gridLayout_21.addWidget(self.specHeisOpCobIncInt, 1, 0, 1, 1)
752 self.gridLayout_21.addWidget(self.specHeisOpCobIncInt, 1, 0, 1, 1)
748 self.specHeisOpCebIncoherent = QtGui.QCheckBox(self.tabopSpectraHeis)
753 self.specHeisOpCebIncoherent = QtGui.QCheckBox(self.tabopSpectraHeis)
749 self.specHeisOpCebIncoherent.setObjectName(_fromUtf8("specHeisOpCebIncoherent"))
754 self.specHeisOpCebIncoherent.setObjectName(_fromUtf8("specHeisOpCebIncoherent"))
750 self.gridLayout_21.addWidget(self.specHeisOpCebIncoherent, 0, 0, 1, 1)
755 self.gridLayout_21.addWidget(self.specHeisOpCebIncoherent, 0, 0, 1, 1)
751 self.specHeisOpIncoherent = QtGui.QLineEdit(self.tabopSpectraHeis)
756 self.specHeisOpIncoherent = QtGui.QLineEdit(self.tabopSpectraHeis)
752 self.specHeisOpIncoherent.setObjectName(_fromUtf8("specHeisOpIncoherent"))
757 self.specHeisOpIncoherent.setObjectName(_fromUtf8("specHeisOpIncoherent"))
753 self.gridLayout_21.addWidget(self.specHeisOpIncoherent, 1, 1, 1, 1)
758 self.gridLayout_21.addWidget(self.specHeisOpIncoherent, 1, 1, 1, 1)
754 spacerItem22 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
759 spacerItem22 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
755 self.gridLayout_21.addItem(spacerItem22, 2, 0, 1, 1)
760 self.gridLayout_21.addItem(spacerItem22, 2, 0, 1, 1)
756 self.tabWidgetSpectraHeis.addTab(self.tabopSpectraHeis, _fromUtf8(""))
761 self.tabWidgetSpectraHeis.addTab(self.tabopSpectraHeis, _fromUtf8(""))
757 self.tabgraphSpectraHeis = QtGui.QWidget()
762 self.tabgraphSpectraHeis = QtGui.QWidget()
758 self.tabgraphSpectraHeis.setObjectName(_fromUtf8("tabgraphSpectraHeis"))
763 self.tabgraphSpectraHeis.setObjectName(_fromUtf8("tabgraphSpectraHeis"))
759 self.gridLayout_20 = QtGui.QGridLayout(self.tabgraphSpectraHeis)
764 self.gridLayout_20 = QtGui.QGridLayout(self.tabgraphSpectraHeis)
760 self.gridLayout_20.setObjectName(_fromUtf8("gridLayout_20"))
765 self.gridLayout_20.setObjectName(_fromUtf8("gridLayout_20"))
761 self.label_54 = QtGui.QLabel(self.tabgraphSpectraHeis)
766 self.label_54 = QtGui.QLabel(self.tabgraphSpectraHeis)
762 self.label_54.setObjectName(_fromUtf8("label_54"))
767 self.label_54.setObjectName(_fromUtf8("label_54"))
763 self.gridLayout_20.addWidget(self.label_54, 1, 0, 1, 1)
768 self.gridLayout_20.addWidget(self.label_54, 1, 0, 1, 1)
764 self.specHeisGraphToolPath = QtGui.QToolButton(self.tabgraphSpectraHeis)
769 self.specHeisGraphToolPath = QtGui.QToolButton(self.tabgraphSpectraHeis)
765 self.specHeisGraphToolPath.setObjectName(_fromUtf8("specHeisGraphToolPath"))
770 self.specHeisGraphToolPath.setObjectName(_fromUtf8("specHeisGraphToolPath"))
766 self.gridLayout_20.addWidget(self.specHeisGraphToolPath, 0, 6, 1, 1)
771 self.gridLayout_20.addWidget(self.specHeisGraphToolPath, 0, 6, 1, 1)
767 self.specHeisGraphCebRTIplot = QtGui.QCheckBox(self.tabgraphSpectraHeis)
772 self.specHeisGraphCebRTIplot = QtGui.QCheckBox(self.tabgraphSpectraHeis)
768 self.specHeisGraphCebRTIplot.setText(_fromUtf8(""))
773 self.specHeisGraphCebRTIplot.setText(_fromUtf8(""))
769 self.specHeisGraphCebRTIplot.setObjectName(_fromUtf8("specHeisGraphCebRTIplot"))
774 self.specHeisGraphCebRTIplot.setObjectName(_fromUtf8("specHeisGraphCebRTIplot"))
770 self.gridLayout_20.addWidget(self.specHeisGraphCebRTIplot, 4, 2, 1, 1)
775 self.gridLayout_20.addWidget(self.specHeisGraphCebRTIplot, 4, 2, 1, 1)
771 self.label_62 = QtGui.QLabel(self.tabgraphSpectraHeis)
776 self.label_62 = QtGui.QLabel(self.tabgraphSpectraHeis)
772 self.label_62.setObjectName(_fromUtf8("label_62"))
777 self.label_62.setObjectName(_fromUtf8("label_62"))
773 self.gridLayout_20.addWidget(self.label_62, 7, 0, 1, 1)
778 self.gridLayout_20.addWidget(self.label_62, 7, 0, 1, 1)
774 self.label_63 = QtGui.QLabel(self.tabgraphSpectraHeis)
779 self.label_63 = QtGui.QLabel(self.tabgraphSpectraHeis)
775 self.label_63.setObjectName(_fromUtf8("label_63"))
780 self.label_63.setObjectName(_fromUtf8("label_63"))
776 self.gridLayout_20.addWidget(self.label_63, 8, 0, 1, 1)
781 self.gridLayout_20.addWidget(self.label_63, 8, 0, 1, 1)
777 self.label_64 = QtGui.QLabel(self.tabgraphSpectraHeis)
782 self.label_64 = QtGui.QLabel(self.tabgraphSpectraHeis)
778 self.label_64.setObjectName(_fromUtf8("label_64"))
783 self.label_64.setObjectName(_fromUtf8("label_64"))
779 self.gridLayout_20.addWidget(self.label_64, 9, 0, 1, 1)
784 self.gridLayout_20.addWidget(self.label_64, 9, 0, 1, 1)
780 self.label_65 = QtGui.QLabel(self.tabgraphSpectraHeis)
785 self.label_65 = QtGui.QLabel(self.tabgraphSpectraHeis)
781 self.label_65.setObjectName(_fromUtf8("label_65"))
786 self.label_65.setObjectName(_fromUtf8("label_65"))
782 self.gridLayout_20.addWidget(self.label_65, 10, 0, 1, 1)
787 self.gridLayout_20.addWidget(self.label_65, 10, 0, 1, 1)
783 spacerItem23 = QtGui.QSpacerItem(134, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
788 spacerItem23 = QtGui.QSpacerItem(134, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
784 self.gridLayout_20.addItem(spacerItem23, 11, 0, 1, 2)
789 self.gridLayout_20.addItem(spacerItem23, 11, 0, 1, 2)
785 self.specHeisGgraphftpratio = QtGui.QLineEdit(self.tabgraphSpectraHeis)
790 self.specHeisGgraphftpratio = QtGui.QLineEdit(self.tabgraphSpectraHeis)
786 self.specHeisGgraphftpratio.setObjectName(_fromUtf8("specHeisGgraphftpratio"))
791 self.specHeisGgraphftpratio.setObjectName(_fromUtf8("specHeisGgraphftpratio"))
787 self.gridLayout_20.addWidget(self.specHeisGgraphftpratio, 10, 1, 1, 6)
792 self.gridLayout_20.addWidget(self.specHeisGgraphftpratio, 10, 1, 1, 6)
788 self.specHeisGraphftpRTIplot = QtGui.QCheckBox(self.tabgraphSpectraHeis)
793 self.specHeisGraphftpRTIplot = QtGui.QCheckBox(self.tabgraphSpectraHeis)
789 self.specHeisGraphftpRTIplot.setText(_fromUtf8(""))
794 self.specHeisGraphftpRTIplot.setText(_fromUtf8(""))
790 self.specHeisGraphftpRTIplot.setObjectName(_fromUtf8("specHeisGraphftpRTIplot"))
795 self.specHeisGraphftpRTIplot.setObjectName(_fromUtf8("specHeisGraphftpRTIplot"))
791 self.gridLayout_20.addWidget(self.specHeisGraphftpRTIplot, 4, 6, 1, 1)
796 self.gridLayout_20.addWidget(self.specHeisGraphftpRTIplot, 4, 6, 1, 1)
792 self.specHeisGgraphTminTmax = QtGui.QLineEdit(self.tabgraphSpectraHeis)
797 self.specHeisGgraphTminTmax = QtGui.QLineEdit(self.tabgraphSpectraHeis)
793 self.specHeisGgraphTminTmax.setObjectName(_fromUtf8("specHeisGgraphTminTmax"))
798 self.specHeisGgraphTminTmax.setObjectName(_fromUtf8("specHeisGgraphTminTmax"))
794 self.gridLayout_20.addWidget(self.specHeisGgraphTminTmax, 8, 1, 1, 6)
799 self.gridLayout_20.addWidget(self.specHeisGgraphTminTmax, 8, 1, 1, 6)
795 self.label_60 = QtGui.QLabel(self.tabgraphSpectraHeis)
800 self.label_60 = QtGui.QLabel(self.tabgraphSpectraHeis)
796 self.label_60.setObjectName(_fromUtf8("label_60"))
801 self.label_60.setObjectName(_fromUtf8("label_60"))
797 self.gridLayout_20.addWidget(self.label_60, 5, 0, 1, 1)
802 self.gridLayout_20.addWidget(self.label_60, 5, 0, 1, 1)
798 self.label_61 = QtGui.QLabel(self.tabgraphSpectraHeis)
803 self.label_61 = QtGui.QLabel(self.tabgraphSpectraHeis)
799 self.label_61.setObjectName(_fromUtf8("label_61"))
804 self.label_61.setObjectName(_fromUtf8("label_61"))
800 self.gridLayout_20.addWidget(self.label_61, 6, 0, 1, 1)
805 self.gridLayout_20.addWidget(self.label_61, 6, 0, 1, 1)
801 self.specHeisGraphPrefix = QtGui.QLineEdit(self.tabgraphSpectraHeis)
806 self.specHeisGraphPrefix = QtGui.QLineEdit(self.tabgraphSpectraHeis)
802 self.specHeisGraphPrefix.setObjectName(_fromUtf8("specHeisGraphPrefix"))
807 self.specHeisGraphPrefix.setObjectName(_fromUtf8("specHeisGraphPrefix"))
803 self.gridLayout_20.addWidget(self.specHeisGraphPrefix, 1, 1, 1, 6)
808 self.gridLayout_20.addWidget(self.specHeisGraphPrefix, 1, 1, 1, 6)
804 self.label_56 = QtGui.QLabel(self.tabgraphSpectraHeis)
809 self.label_56 = QtGui.QLabel(self.tabgraphSpectraHeis)
805 self.label_56.setObjectName(_fromUtf8("label_56"))
810 self.label_56.setObjectName(_fromUtf8("label_56"))
806 self.gridLayout_20.addWidget(self.label_56, 2, 4, 1, 1)
811 self.gridLayout_20.addWidget(self.label_56, 2, 4, 1, 1)
807 self.label_57 = QtGui.QLabel(self.tabgraphSpectraHeis)
812 self.label_57 = QtGui.QLabel(self.tabgraphSpectraHeis)
808 self.label_57.setObjectName(_fromUtf8("label_57"))
813 self.label_57.setObjectName(_fromUtf8("label_57"))
809 self.gridLayout_20.addWidget(self.label_57, 2, 6, 1, 1)
814 self.gridLayout_20.addWidget(self.label_57, 2, 6, 1, 1)
810 self.label_58 = QtGui.QLabel(self.tabgraphSpectraHeis)
815 self.label_58 = QtGui.QLabel(self.tabgraphSpectraHeis)
811 self.label_58.setObjectName(_fromUtf8("label_58"))
816 self.label_58.setObjectName(_fromUtf8("label_58"))
812 self.gridLayout_20.addWidget(self.label_58, 3, 0, 1, 1)
817 self.gridLayout_20.addWidget(self.label_58, 3, 0, 1, 1)
813 self.specHeisGraphCebSpectraplot = QtGui.QCheckBox(self.tabgraphSpectraHeis)
818 self.specHeisGraphCebSpectraplot = QtGui.QCheckBox(self.tabgraphSpectraHeis)
814 self.specHeisGraphCebSpectraplot.setText(_fromUtf8(""))
819 self.specHeisGraphCebSpectraplot.setText(_fromUtf8(""))
815 self.specHeisGraphCebSpectraplot.setObjectName(_fromUtf8("specHeisGraphCebSpectraplot"))
820 self.specHeisGraphCebSpectraplot.setObjectName(_fromUtf8("specHeisGraphCebSpectraplot"))
816 self.gridLayout_20.addWidget(self.specHeisGraphCebSpectraplot, 3, 2, 1, 1)
821 self.gridLayout_20.addWidget(self.specHeisGraphCebSpectraplot, 3, 2, 1, 1)
817 self.specHeisGgraphYminYmax = QtGui.QLineEdit(self.tabgraphSpectraHeis)
822 self.specHeisGgraphYminYmax = QtGui.QLineEdit(self.tabgraphSpectraHeis)
818 self.specHeisGgraphYminYmax.setObjectName(_fromUtf8("specHeisGgraphYminYmax"))
823 self.specHeisGgraphYminYmax.setObjectName(_fromUtf8("specHeisGgraphYminYmax"))
819 self.gridLayout_20.addWidget(self.specHeisGgraphYminYmax, 7, 1, 1, 6)
824 self.gridLayout_20.addWidget(self.specHeisGgraphYminYmax, 7, 1, 1, 6)
820 self.label_53 = QtGui.QLabel(self.tabgraphSpectraHeis)
825 self.label_53 = QtGui.QLabel(self.tabgraphSpectraHeis)
821 self.label_53.setObjectName(_fromUtf8("label_53"))
826 self.label_53.setObjectName(_fromUtf8("label_53"))
822 self.gridLayout_20.addWidget(self.label_53, 0, 0, 1, 1)
827 self.gridLayout_20.addWidget(self.label_53, 0, 0, 1, 1)
823 self.label_55 = QtGui.QLabel(self.tabgraphSpectraHeis)
828 self.label_55 = QtGui.QLabel(self.tabgraphSpectraHeis)
824 self.label_55.setObjectName(_fromUtf8("label_55"))
829 self.label_55.setObjectName(_fromUtf8("label_55"))
825 self.gridLayout_20.addWidget(self.label_55, 2, 2, 1, 1)
830 self.gridLayout_20.addWidget(self.label_55, 2, 2, 1, 1)
826 self.specHeisGraphSaveRTIplot = QtGui.QCheckBox(self.tabgraphSpectraHeis)
831 self.specHeisGraphSaveRTIplot = QtGui.QCheckBox(self.tabgraphSpectraHeis)
827 self.specHeisGraphSaveRTIplot.setText(_fromUtf8(""))
832 self.specHeisGraphSaveRTIplot.setText(_fromUtf8(""))
828 self.specHeisGraphSaveRTIplot.setObjectName(_fromUtf8("specHeisGraphSaveRTIplot"))
833 self.specHeisGraphSaveRTIplot.setObjectName(_fromUtf8("specHeisGraphSaveRTIplot"))
829 self.gridLayout_20.addWidget(self.specHeisGraphSaveRTIplot, 4, 4, 1, 1)
834 self.gridLayout_20.addWidget(self.specHeisGraphSaveRTIplot, 4, 4, 1, 1)
830 spacerItem24 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
835 spacerItem24 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
831 self.gridLayout_20.addItem(spacerItem24, 2, 3, 1, 1)
836 self.gridLayout_20.addItem(spacerItem24, 2, 3, 1, 1)
832 self.specHeisGgraphXminXmax = QtGui.QLineEdit(self.tabgraphSpectraHeis)
837 self.specHeisGgraphXminXmax = QtGui.QLineEdit(self.tabgraphSpectraHeis)
833 self.specHeisGgraphXminXmax.setObjectName(_fromUtf8("specHeisGgraphXminXmax"))
838 self.specHeisGgraphXminXmax.setObjectName(_fromUtf8("specHeisGgraphXminXmax"))
834 self.gridLayout_20.addWidget(self.specHeisGgraphXminXmax, 6, 1, 1, 6)
839 self.gridLayout_20.addWidget(self.specHeisGgraphXminXmax, 6, 1, 1, 6)
835 self.specHeisGgraphChannelList = QtGui.QLineEdit(self.tabgraphSpectraHeis)
840 self.specHeisGgraphChannelList = QtGui.QLineEdit(self.tabgraphSpectraHeis)
836 self.specHeisGgraphChannelList.setObjectName(_fromUtf8("specHeisGgraphChannelList"))
841 self.specHeisGgraphChannelList.setObjectName(_fromUtf8("specHeisGgraphChannelList"))
837 self.gridLayout_20.addWidget(self.specHeisGgraphChannelList, 5, 1, 1, 6)
842 self.gridLayout_20.addWidget(self.specHeisGgraphChannelList, 5, 1, 1, 6)
838 self.specHeisGgraphTimeRange = QtGui.QLineEdit(self.tabgraphSpectraHeis)
843 self.specHeisGgraphTimeRange = QtGui.QLineEdit(self.tabgraphSpectraHeis)
839 self.specHeisGgraphTimeRange.setObjectName(_fromUtf8("specHeisGgraphTimeRange"))
844 self.specHeisGgraphTimeRange.setObjectName(_fromUtf8("specHeisGgraphTimeRange"))
840 self.gridLayout_20.addWidget(self.specHeisGgraphTimeRange, 9, 1, 1, 6)
845 self.gridLayout_20.addWidget(self.specHeisGgraphTimeRange, 9, 1, 1, 6)
841 spacerItem25 = QtGui.QSpacerItem(106, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
846 spacerItem25 = QtGui.QSpacerItem(106, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
842 self.gridLayout_20.addItem(spacerItem25, 11, 3, 1, 3)
847 self.gridLayout_20.addItem(spacerItem25, 11, 3, 1, 3)
843 self.specHeisGraphSaveSpectra = QtGui.QCheckBox(self.tabgraphSpectraHeis)
848 self.specHeisGraphSaveSpectra = QtGui.QCheckBox(self.tabgraphSpectraHeis)
844 self.specHeisGraphSaveSpectra.setText(_fromUtf8(""))
849 self.specHeisGraphSaveSpectra.setText(_fromUtf8(""))
845 self.specHeisGraphSaveSpectra.setObjectName(_fromUtf8("specHeisGraphSaveSpectra"))
850 self.specHeisGraphSaveSpectra.setObjectName(_fromUtf8("specHeisGraphSaveSpectra"))
846 self.gridLayout_20.addWidget(self.specHeisGraphSaveSpectra, 3, 4, 1, 1)
851 self.gridLayout_20.addWidget(self.specHeisGraphSaveSpectra, 3, 4, 1, 1)
847 self.specHeisGraphftpSpectra = QtGui.QCheckBox(self.tabgraphSpectraHeis)
852 self.specHeisGraphftpSpectra = QtGui.QCheckBox(self.tabgraphSpectraHeis)
848 self.specHeisGraphftpSpectra.setText(_fromUtf8(""))
853 self.specHeisGraphftpSpectra.setText(_fromUtf8(""))
849 self.specHeisGraphftpSpectra.setObjectName(_fromUtf8("specHeisGraphftpSpectra"))
854 self.specHeisGraphftpSpectra.setObjectName(_fromUtf8("specHeisGraphftpSpectra"))
850 self.gridLayout_20.addWidget(self.specHeisGraphftpSpectra, 3, 6, 1, 1)
855 self.gridLayout_20.addWidget(self.specHeisGraphftpSpectra, 3, 6, 1, 1)
851 self.label_59 = QtGui.QLabel(self.tabgraphSpectraHeis)
856 self.label_59 = QtGui.QLabel(self.tabgraphSpectraHeis)
852 self.label_59.setObjectName(_fromUtf8("label_59"))
857 self.label_59.setObjectName(_fromUtf8("label_59"))
853 self.gridLayout_20.addWidget(self.label_59, 4, 0, 1, 1)
858 self.gridLayout_20.addWidget(self.label_59, 4, 0, 1, 1)
854 spacerItem26 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
859 spacerItem26 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
855 self.gridLayout_20.addItem(spacerItem26, 2, 5, 1, 1)
860 self.gridLayout_20.addItem(spacerItem26, 2, 5, 1, 1)
856 self.specHeisGraphPath = QtGui.QLineEdit(self.tabgraphSpectraHeis)
861 self.specHeisGraphPath = QtGui.QLineEdit(self.tabgraphSpectraHeis)
857 self.specHeisGraphPath.setObjectName(_fromUtf8("specHeisGraphPath"))
862 self.specHeisGraphPath.setObjectName(_fromUtf8("specHeisGraphPath"))
858 self.gridLayout_20.addWidget(self.specHeisGraphPath, 0, 1, 1, 5)
863 self.gridLayout_20.addWidget(self.specHeisGraphPath, 0, 1, 1, 5)
859 self.tabWidgetSpectraHeis.addTab(self.tabgraphSpectraHeis, _fromUtf8(""))
864 self.tabWidgetSpectraHeis.addTab(self.tabgraphSpectraHeis, _fromUtf8(""))
860 self.taboutputSpectraHeis = QtGui.QWidget()
865 self.taboutputSpectraHeis = QtGui.QWidget()
861 self.taboutputSpectraHeis.setObjectName(_fromUtf8("taboutputSpectraHeis"))
866 self.taboutputSpectraHeis.setObjectName(_fromUtf8("taboutputSpectraHeis"))
862 self.gridLayout_19 = QtGui.QGridLayout(self.taboutputSpectraHeis)
867 self.gridLayout_19 = QtGui.QGridLayout(self.taboutputSpectraHeis)
863 self.gridLayout_19.setObjectName(_fromUtf8("gridLayout_19"))
868 self.gridLayout_19.setObjectName(_fromUtf8("gridLayout_19"))
864 self.label_67 = QtGui.QLabel(self.taboutputSpectraHeis)
869 self.label_67 = QtGui.QLabel(self.taboutputSpectraHeis)
865 self.label_67.setObjectName(_fromUtf8("label_67"))
870 self.label_67.setObjectName(_fromUtf8("label_67"))
866 self.gridLayout_19.addWidget(self.label_67, 1, 0, 1, 1)
871 self.gridLayout_19.addWidget(self.label_67, 1, 0, 1, 1)
867 self.label_68 = QtGui.QLabel(self.taboutputSpectraHeis)
872 self.label_68 = QtGui.QLabel(self.taboutputSpectraHeis)
868 self.label_68.setObjectName(_fromUtf8("label_68"))
873 self.label_68.setObjectName(_fromUtf8("label_68"))
869 self.gridLayout_19.addWidget(self.label_68, 2, 0, 1, 2)
874 self.gridLayout_19.addWidget(self.label_68, 2, 0, 1, 2)
870 self.label_66 = QtGui.QLabel(self.taboutputSpectraHeis)
875 self.label_66 = QtGui.QLabel(self.taboutputSpectraHeis)
871 self.label_66.setObjectName(_fromUtf8("label_66"))
876 self.label_66.setObjectName(_fromUtf8("label_66"))
872 self.gridLayout_19.addWidget(self.label_66, 0, 0, 1, 1)
877 self.gridLayout_19.addWidget(self.label_66, 0, 0, 1, 1)
873 spacerItem27 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
878 spacerItem27 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
874 self.gridLayout_19.addItem(spacerItem27, 4, 0, 1, 1)
879 self.gridLayout_19.addItem(spacerItem27, 4, 0, 1, 1)
875 self.specHeisOutputToolPath = QtGui.QToolButton(self.taboutputSpectraHeis)
880 self.specHeisOutputToolPath = QtGui.QToolButton(self.taboutputSpectraHeis)
876 self.specHeisOutputToolPath.setObjectName(_fromUtf8("specHeisOutputToolPath"))
881 self.specHeisOutputToolPath.setObjectName(_fromUtf8("specHeisOutputToolPath"))
877 self.gridLayout_19.addWidget(self.specHeisOutputToolPath, 1, 4, 1, 1)
882 self.gridLayout_19.addWidget(self.specHeisOutputToolPath, 1, 4, 1, 1)
878 self.specHeisOutputPath = QtGui.QLineEdit(self.taboutputSpectraHeis)
883 self.specHeisOutputPath = QtGui.QLineEdit(self.taboutputSpectraHeis)
879 self.specHeisOutputPath.setObjectName(_fromUtf8("specHeisOutputPath"))
884 self.specHeisOutputPath.setObjectName(_fromUtf8("specHeisOutputPath"))
880 self.gridLayout_19.addWidget(self.specHeisOutputPath, 1, 3, 1, 1)
885 self.gridLayout_19.addWidget(self.specHeisOutputPath, 1, 3, 1, 1)
881 self.specHeisOutputComdata = QtGui.QComboBox(self.taboutputSpectraHeis)
886 self.specHeisOutputComdata = QtGui.QComboBox(self.taboutputSpectraHeis)
882 self.specHeisOutputComdata.setObjectName(_fromUtf8("specHeisOutputComdata"))
887 self.specHeisOutputComdata.setObjectName(_fromUtf8("specHeisOutputComdata"))
883 self.specHeisOutputComdata.addItem(_fromUtf8(""))
888 self.specHeisOutputComdata.addItem(_fromUtf8(""))
884 self.gridLayout_19.addWidget(self.specHeisOutputComdata, 0, 3, 1, 2)
889 self.gridLayout_19.addWidget(self.specHeisOutputComdata, 0, 3, 1, 2)
885 self.label_69 = QtGui.QLabel(self.taboutputSpectraHeis)
890 self.label_69 = QtGui.QLabel(self.taboutputSpectraHeis)
886 self.label_69.setObjectName(_fromUtf8("label_69"))
891 self.label_69.setObjectName(_fromUtf8("label_69"))
887 self.gridLayout_19.addWidget(self.label_69, 3, 0, 1, 2)
892 self.gridLayout_19.addWidget(self.label_69, 3, 0, 1, 2)
888 self.specHeisOutputblocksperfile = QtGui.QLineEdit(self.taboutputSpectraHeis)
893 self.specHeisOutputblocksperfile = QtGui.QLineEdit(self.taboutputSpectraHeis)
889 self.specHeisOutputblocksperfile.setObjectName(_fromUtf8("specHeisOutputblocksperfile"))
894 self.specHeisOutputblocksperfile.setObjectName(_fromUtf8("specHeisOutputblocksperfile"))
890 self.gridLayout_19.addWidget(self.specHeisOutputblocksperfile, 2, 3, 1, 1)
895 self.gridLayout_19.addWidget(self.specHeisOutputblocksperfile, 2, 3, 1, 1)
891 self.specHeisOutputMetada = QtGui.QLineEdit(self.taboutputSpectraHeis)
896 self.specHeisOutputMetada = QtGui.QLineEdit(self.taboutputSpectraHeis)
892 self.specHeisOutputMetada.setObjectName(_fromUtf8("specHeisOutputMetada"))
897 self.specHeisOutputMetada.setObjectName(_fromUtf8("specHeisOutputMetada"))
893 self.gridLayout_19.addWidget(self.specHeisOutputMetada, 3, 3, 1, 1)
898 self.gridLayout_19.addWidget(self.specHeisOutputMetada, 3, 3, 1, 1)
894 self.specHeisOutputMetadaToolPath = QtGui.QToolButton(self.taboutputSpectraHeis)
899 self.specHeisOutputMetadaToolPath = QtGui.QToolButton(self.taboutputSpectraHeis)
895 self.specHeisOutputMetadaToolPath.setObjectName(_fromUtf8("specHeisOutputMetadaToolPath"))
900 self.specHeisOutputMetadaToolPath.setObjectName(_fromUtf8("specHeisOutputMetadaToolPath"))
896 self.gridLayout_19.addWidget(self.specHeisOutputMetadaToolPath, 3, 4, 1, 1)
901 self.gridLayout_19.addWidget(self.specHeisOutputMetadaToolPath, 3, 4, 1, 1)
897 self.tabWidgetSpectraHeis.addTab(self.taboutputSpectraHeis, _fromUtf8(""))
902 self.tabWidgetSpectraHeis.addTab(self.taboutputSpectraHeis, _fromUtf8(""))
898 self.gridLayout_23.addWidget(self.tabWidgetSpectraHeis, 0, 0, 1, 1)
903 self.gridLayout_23.addWidget(self.tabWidgetSpectraHeis, 0, 0, 1, 1)
899 self.tabWidgetProject.addTab(self.tabSpectraHeis, _fromUtf8(""))
904 self.tabWidgetProject.addTab(self.tabSpectraHeis, _fromUtf8(""))
900 self.tabCorrelation = QtGui.QWidget()
905 self.tabCorrelation = QtGui.QWidget()
901 self.tabCorrelation.setObjectName(_fromUtf8("tabCorrelation"))
906 self.tabCorrelation.setObjectName(_fromUtf8("tabCorrelation"))
902 self.gridLayout_13 = QtGui.QGridLayout(self.tabCorrelation)
907 self.gridLayout_13 = QtGui.QGridLayout(self.tabCorrelation)
903 self.gridLayout_13.setObjectName(_fromUtf8("gridLayout_13"))
908 self.gridLayout_13.setObjectName(_fromUtf8("gridLayout_13"))
904 self.tabWidget_2 = QtGui.QTabWidget(self.tabCorrelation)
909 self.tabWidget_2 = QtGui.QTabWidget(self.tabCorrelation)
905 self.tabWidget_2.setObjectName(_fromUtf8("tabWidget_2"))
910 self.tabWidget_2.setObjectName(_fromUtf8("tabWidget_2"))
906 self.tabopCorrelation = QtGui.QWidget()
911 self.tabopCorrelation = QtGui.QWidget()
907 self.tabopCorrelation.setObjectName(_fromUtf8("tabopCorrelation"))
912 self.tabopCorrelation.setObjectName(_fromUtf8("tabopCorrelation"))
908 self.tabWidget_2.addTab(self.tabopCorrelation, _fromUtf8(""))
913 self.tabWidget_2.addTab(self.tabopCorrelation, _fromUtf8(""))
909 self.tabopCorrelation1 = QtGui.QWidget()
914 self.tabopCorrelation1 = QtGui.QWidget()
910 self.tabopCorrelation1.setObjectName(_fromUtf8("tabopCorrelation1"))
915 self.tabopCorrelation1.setObjectName(_fromUtf8("tabopCorrelation1"))
911 self.tabWidget_2.addTab(self.tabopCorrelation1, _fromUtf8(""))
916 self.tabWidget_2.addTab(self.tabopCorrelation1, _fromUtf8(""))
912 self.gridLayout_13.addWidget(self.tabWidget_2, 0, 0, 1, 1)
917 self.gridLayout_13.addWidget(self.tabWidget_2, 0, 0, 1, 1)
913 self.tabWidgetProject.addTab(self.tabCorrelation, _fromUtf8(""))
918 self.tabWidgetProject.addTab(self.tabCorrelation, _fromUtf8(""))
914
919
915
920
916 self.tabConsole = QtGui.QTabWidget(self.splitter)
921 self.tabConsole = QtGui.QTabWidget(self.splitter)
917 self.tabConsole.setMinimumSize(QtCore.QSize(0, 0))
922 self.tabConsole.setMinimumSize(QtCore.QSize(0, 0))
918 self.tabConsole.setObjectName(_fromUtf8("tabConsole"))
923 self.tabConsole.setObjectName(_fromUtf8("tabConsole"))
919 self.tab_5 = QtGui.QWidget()
924 self.tab_5 = QtGui.QWidget()
920 self.tab_5.setObjectName(_fromUtf8("tab_5"))
925 self.tab_5.setObjectName(_fromUtf8("tab_5"))
921 self.gridLayout_4 = QtGui.QGridLayout(self.tab_5)
926 self.gridLayout_4 = QtGui.QGridLayout(self.tab_5)
922 self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
927 self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
923 self.console = QtGui.QTextEdit(self.tab_5)
928 self.console = QtGui.QTextEdit(self.tab_5)
924 self.console.setObjectName(_fromUtf8("console"))
929 self.console.setObjectName(_fromUtf8("console"))
925 self.gridLayout_4.addWidget(self.console, 0, 0, 1, 1)
930 self.gridLayout_4.addWidget(self.console, 0, 0, 1, 1)
926 self.tabConsole.addTab(self.tab_5, _fromUtf8(""))
931 self.tabConsole.addTab(self.tab_5, _fromUtf8(""))
927 self.tabWidget = QtGui.QTabWidget(self.splitter_2)
932 self.tabWidget = QtGui.QTabWidget(self.splitter_2)
928 self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
933 self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
929 self.tabProjectProperty = QtGui.QWidget()
934 self.tabProjectProperty = QtGui.QWidget()
930 self.tabProjectProperty.setObjectName(_fromUtf8("tabProjectProperty"))
935 self.tabProjectProperty.setObjectName(_fromUtf8("tabProjectProperty"))
931 self.gridLayout_8 = QtGui.QGridLayout(self.tabProjectProperty)
936 self.gridLayout_8 = QtGui.QGridLayout(self.tabProjectProperty)
932 self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
937 self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
933 self.treeProjectProperties = QtGui.QTreeView(self.tabProjectProperty)
938 self.treeProjectProperties = QtGui.QTreeView(self.tabProjectProperty)
934 self.treeProjectProperties.setObjectName(_fromUtf8("treeProjectProperties"))
939 self.treeProjectProperties.setObjectName(_fromUtf8("treeProjectProperties"))
935 self.gridLayout_8.addWidget(self.treeProjectProperties, 0, 0, 1, 1)
940 self.gridLayout_8.addWidget(self.treeProjectProperties, 0, 0, 1, 1)
936 self.tabWidget.addTab(self.tabProjectProperty, _fromUtf8(""))
941 self.tabWidget.addTab(self.tabProjectProperty, _fromUtf8(""))
937 self.gridLayout_16.addWidget(self.splitter_2, 1, 0, 1, 1)
942 self.gridLayout_16.addWidget(self.splitter_2, 1, 0, 1, 1)
938 MainWindow.setCentralWidget(self.centralWidget)
943 MainWindow.setCentralWidget(self.centralWidget)
939 self.toolBar = QtGui.QToolBar(MainWindow)
944 self.toolBar = QtGui.QToolBar(MainWindow)
940 self.toolBar.setObjectName(_fromUtf8("toolBar"))
945 self.toolBar.setObjectName(_fromUtf8("toolBar"))
941 MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
946 MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
942 self.menuBar = QtGui.QMenuBar(MainWindow)
947 self.menuBar = QtGui.QMenuBar(MainWindow)
943 self.menuBar.setGeometry(QtCore.QRect(0, 0, 1065, 25))
948 self.menuBar.setGeometry(QtCore.QRect(0, 0, 1065, 25))
944 self.menuBar.setObjectName(_fromUtf8("menuBar"))
949 self.menuBar.setObjectName(_fromUtf8("menuBar"))
945 self.menuProject = QtGui.QMenu(self.menuBar)
950 self.menuProject = QtGui.QMenu(self.menuBar)
946 self.menuProject.setObjectName(_fromUtf8("menuProject"))
951 self.menuProject.setObjectName(_fromUtf8("menuProject"))
947 self.menuRun = QtGui.QMenu(self.menuBar)
952 self.menuRun = QtGui.QMenu(self.menuBar)
948 self.menuRun.setObjectName(_fromUtf8("menuRun"))
953 self.menuRun.setObjectName(_fromUtf8("menuRun"))
949 self.menuOptions = QtGui.QMenu(self.menuBar)
954 self.menuOptions = QtGui.QMenu(self.menuBar)
950 self.menuOptions.setObjectName(_fromUtf8("menuOptions"))
955 self.menuOptions.setObjectName(_fromUtf8("menuOptions"))
951 self.menuHelp = QtGui.QMenu(self.menuBar)
956 self.menuHelp = QtGui.QMenu(self.menuBar)
952 self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
957 self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
953 MainWindow.setMenuBar(self.menuBar)
958 MainWindow.setMenuBar(self.menuBar)
954 self.actionOpen = QtGui.QAction(MainWindow)
959 self.actionOpen = QtGui.QAction(MainWindow)
955
960
956 iconOpen = QtGui.QIcon()
961 iconOpen = QtGui.QIcon()
957 iconOpen.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/open.gif")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
962 iconOpen.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"open.gif") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
958
963
959 iconCreate = QtGui.QIcon()
964 iconCreate = QtGui.QIcon()
960 iconCreate.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/project.gif")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
965 iconCreate.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"project.gif") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
961
966
962 iconSave = QtGui.QIcon()
967 iconSave = QtGui.QIcon()
963 iconSave.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/saveicon.jpeg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
968 iconSave.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"saveicon.jpeg") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
964
969
965 iconStart = QtGui.QIcon()
970 iconStart = QtGui.QIcon()
966 iconStart.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/startServer.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
971 iconStart.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"startServer.png") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
967
972
968 iconStop = QtGui.QIcon()
973 iconStop = QtGui.QIcon()
969 iconStop.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/stopServer.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
974 iconStop.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"stopServer.png") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
970
975
971 iconPause = QtGui.QIcon()
976 iconPause = QtGui.QIcon()
972 iconPause.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/pause.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
977 iconPause.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"pause.png") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
973
978
974 iconAddPU = QtGui.QIcon()
979 iconAddPU = QtGui.QIcon()
975 iconAddPU.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/add_PU.gif")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
980 iconAddPU.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"add_PU.gif") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
976
981
977 self.actionOpen.setIcon(iconOpen)
982 self.actionOpen.setIcon(iconOpen)
978 self.actionOpen.setObjectName(_fromUtf8("actionOpen"))
983 self.actionOpen.setObjectName(_fromUtf8("actionOpen"))
979 self.actionCreate = QtGui.QAction(MainWindow)
984 self.actionCreate = QtGui.QAction(MainWindow)
980 self.actionCreate.setIcon(iconCreate)
985 self.actionCreate.setIcon(iconCreate)
981 self.actionCreate.setObjectName(_fromUtf8("actionCreate"))
986 self.actionCreate.setObjectName(_fromUtf8("actionCreate"))
982 self.actionSave = QtGui.QAction(MainWindow)
987 self.actionSave = QtGui.QAction(MainWindow)
983 self.actionSave.setIcon(iconSave)
988 self.actionSave.setIcon(iconSave)
984 self.actionSave.setObjectName(_fromUtf8("actionSave"))
989 self.actionSave.setObjectName(_fromUtf8("actionSave"))
985 self.actionClose = QtGui.QAction(MainWindow)
990 self.actionClose = QtGui.QAction(MainWindow)
986 self.actionClose.setObjectName(_fromUtf8("actionClose"))
991 self.actionClose.setObjectName(_fromUtf8("actionClose"))
987 self.actionStart = QtGui.QAction(MainWindow)
992 self.actionStart = QtGui.QAction(MainWindow)
988 self.actionStart.setIcon(iconStart)
993 self.actionStart.setIcon(iconStart)
989 self.actionStart.setObjectName(_fromUtf8("actionStart"))
994 self.actionStart.setObjectName(_fromUtf8("actionStart"))
990 self.actionPause = QtGui.QAction(MainWindow)
995 self.actionPause = QtGui.QAction(MainWindow)
991 self.actionPause.setIcon(iconPause)
996 self.actionPause.setIcon(iconPause)
992 self.actionPause.setObjectName(_fromUtf8("actionPause"))
997 self.actionPause.setObjectName(_fromUtf8("actionPause"))
993 self.actionStop = QtGui.QAction(MainWindow)
998 self.actionStop = QtGui.QAction(MainWindow)
994 self.actionStop.setIcon(iconStop)
999 self.actionStop.setIcon(iconStop)
995 self.actionStop.setObjectName(_fromUtf8("actionStop"))
1000 self.actionStop.setObjectName(_fromUtf8("actionStop"))
996 self.actionAbout = QtGui.QAction(MainWindow)
1001 self.actionAbout = QtGui.QAction(MainWindow)
997 self.actionAbout.setObjectName(_fromUtf8("actionAbout"))
1002 self.actionAbout.setObjectName(_fromUtf8("actionAbout"))
998 self.actionOpenToolbar = QtGui.QAction(MainWindow)
1003 self.actionOpenToolbar = QtGui.QAction(MainWindow)
999 self.actionOpenToolbar.setIcon(iconOpen)
1004 self.actionOpenToolbar.setIcon(iconOpen)
1000 self.actionOpenToolbar.setObjectName(_fromUtf8("actionOpenToolbar"))
1005 self.actionOpenToolbar.setObjectName(_fromUtf8("actionOpenToolbar"))
1001 self.actionCreateToolbar = QtGui.QAction(MainWindow)
1006 self.actionCreateToolbar = QtGui.QAction(MainWindow)
1002 self.actionCreateToolbar.setIcon(iconCreate)
1007 self.actionCreateToolbar.setIcon(iconCreate)
1003 self.actionCreateToolbar.setObjectName(_fromUtf8("actionCreateToolbar"))
1008 self.actionCreateToolbar.setObjectName(_fromUtf8("actionCreateToolbar"))
1004 self.actionSaveToolbar = QtGui.QAction(MainWindow)
1009 self.actionSaveToolbar = QtGui.QAction(MainWindow)
1005 self.actionSaveToolbar.setIcon(iconSave)
1010 self.actionSaveToolbar.setIcon(iconSave)
1006 self.actionSaveToolbar.setObjectName(_fromUtf8("actionSaveToolbar"))
1011 self.actionSaveToolbar.setObjectName(_fromUtf8("actionSaveToolbar"))
1007 self.actionStarToolbar = QtGui.QAction(MainWindow)
1012 self.actionStarToolbar = QtGui.QAction(MainWindow)
1008 self.actionStarToolbar.setIcon(iconStart)
1013 self.actionStarToolbar.setIcon(iconStart)
1009 self.actionStarToolbar.setObjectName(_fromUtf8("actionStarToolbar"))
1014 self.actionStarToolbar.setObjectName(_fromUtf8("actionStarToolbar"))
1010 self.actionStopToolbar = QtGui.QAction(MainWindow)
1015 self.actionStopToolbar = QtGui.QAction(MainWindow)
1011 self.actionStopToolbar.setIcon(iconStop)
1016 self.actionStopToolbar.setIcon(iconStop)
1012 self.actionStopToolbar.setObjectName(_fromUtf8("actionStopToolbar"))
1017 self.actionStopToolbar.setObjectName(_fromUtf8("actionStopToolbar"))
1013 self.actionPauseToolbar = QtGui.QAction(MainWindow)
1018 self.actionPauseToolbar = QtGui.QAction(MainWindow)
1014 self.actionPause.setIcon(iconPause)
1019 self.actionPause.setIcon(iconPause)
1015 self.actionPauseToolbar.setIcon(iconPause)
1020 self.actionPauseToolbar.setIcon(iconPause)
1016 self.actionPauseToolbar.setObjectName(_fromUtf8("actionPauseToolbar"))
1021 self.actionPauseToolbar.setObjectName(_fromUtf8("actionPauseToolbar"))
1017 self.actionAddPU = QtGui.QAction(MainWindow)
1022 self.actionAddPU = QtGui.QAction(MainWindow)
1018 self.actionAddPU.setIcon(iconAddPU)
1023 self.actionAddPU.setIcon(iconAddPU)
1019 self.actionAddPU.setObjectName(_fromUtf8("actionAddPU"))
1024 self.actionAddPU.setObjectName(_fromUtf8("actionAddPU"))
1020 self.actionFTP = QtGui.QAction(MainWindow)
1025 self.actionFTP = QtGui.QAction(MainWindow)
1021 self.actionFTP.setObjectName(_fromUtf8("actionFTP"))
1026 self.actionFTP.setObjectName(_fromUtf8("actionFTP"))
1022 self.toolBar.addAction(self.actionOpenToolbar)
1027 self.toolBar.addAction(self.actionOpenToolbar)
1023 self.toolBar.addSeparator()
1028 self.toolBar.addSeparator()
1024 self.toolBar.addAction(self.actionCreateToolbar)
1029 self.toolBar.addAction(self.actionCreateToolbar)
1025 self.toolBar.addSeparator()
1030 self.toolBar.addSeparator()
1026 self.toolBar.addAction(self.actionAddPU)
1031 self.toolBar.addAction(self.actionAddPU)
1027 self.toolBar.addSeparator()
1032 self.toolBar.addSeparator()
1028 self.toolBar.addAction(self.actionSaveToolbar)
1033 self.toolBar.addAction(self.actionSaveToolbar)
1029 self.toolBar.addSeparator()
1034 self.toolBar.addSeparator()
1030 self.toolBar.addAction(self.actionStarToolbar)
1035 self.toolBar.addAction(self.actionStarToolbar)
1031 self.toolBar.addSeparator()
1036 self.toolBar.addSeparator()
1032 self.toolBar.addAction(self.actionPauseToolbar)
1037 self.toolBar.addAction(self.actionPauseToolbar)
1033 self.toolBar.addSeparator()
1038 self.toolBar.addSeparator()
1034 self.toolBar.addAction(self.actionStopToolbar)
1039 self.toolBar.addAction(self.actionStopToolbar)
1035 self.toolBar.addSeparator()
1040 self.toolBar.addSeparator()
1036 self.a=1
1041 self.a=1
1037 self.actionPauseToolbar.triggered.connect(self.changeIcon)
1042 self.actionPauseToolbar.triggered.connect(self.changeIcon)
1038
1043
1039
1044
1040 self.menuProject.addAction(self.actionOpen)
1045 self.menuProject.addAction(self.actionOpen)
1041 self.menuProject.addAction(self.actionCreate)
1046 self.menuProject.addAction(self.actionCreate)
1042 self.menuProject.addAction(self.actionSave)
1047 self.menuProject.addAction(self.actionSave)
1043 self.menuProject.addAction(self.actionClose)
1048 self.menuProject.addAction(self.actionClose)
1044 self.menuRun.addAction(self.actionStart)
1049 self.menuRun.addAction(self.actionStart)
1045 self.menuRun.addAction(self.actionPause)
1050 self.menuRun.addAction(self.actionPause)
1046 self.menuRun.addAction(self.actionStop)
1051 self.menuRun.addAction(self.actionStop)
1047 self.menuOptions.addAction(self.actionFTP)
1052 self.menuOptions.addAction(self.actionFTP)
1048 self.menuHelp.addAction(self.actionAbout)
1053 self.menuHelp.addAction(self.actionAbout)
1049 self.menuBar.addAction(self.menuProject.menuAction())
1054 self.menuBar.addAction(self.menuProject.menuAction())
1050 self.menuBar.addAction(self.menuRun.menuAction())
1055 self.menuBar.addAction(self.menuRun.menuAction())
1051 self.menuBar.addAction(self.menuOptions.menuAction())
1056 self.menuBar.addAction(self.menuOptions.menuAction())
1052 self.menuBar.addAction(self.menuHelp.menuAction())
1057 self.menuBar.addAction(self.menuHelp.menuAction())
1053
1058
1054 self.retranslateUi(MainWindow)
1059 self.retranslateUi(MainWindow)
1055 self.tabWidgetProject.setCurrentIndex(0)
1060 self.tabWidgetProject.setCurrentIndex(0)
1056 self.tabWidgetVoltage.setCurrentIndex(0)
1061 self.tabWidgetVoltage.setCurrentIndex(0)
1057 self.tabWidgetSpectra.setCurrentIndex(0)
1062 self.tabWidgetSpectra.setCurrentIndex(0)
1058 self.tabWidgetSpectraHeis.setCurrentIndex(0)
1063 self.tabWidgetSpectraHeis.setCurrentIndex(0)
1059 self.tabWidget_2.setCurrentIndex(0)
1064 self.tabWidget_2.setCurrentIndex(0)
1060 self.tabConsole.setCurrentIndex(0)
1065 self.tabConsole.setCurrentIndex(0)
1061 self.tabWidget.setCurrentIndex(0)
1066 self.tabWidget.setCurrentIndex(0)
1062 QtCore.QMetaObject.connectSlotsByName(MainWindow)
1067 QtCore.QMetaObject.connectSlotsByName(MainWindow)
1063
1068
1064 def changeIcon(self):
1069 def changeIcon(self):
1065
1070
1066 if self.a==1:
1071 if self.a==1:
1067 iconPauseRed = QtGui.QIcon()
1072 iconPauseRed = QtGui.QIcon()
1068 iconPauseRed.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/pausered.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1073 iconPauseRed.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"pausered.png") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1069 self.actionPauseToolbar.setIcon(iconPauseRed)
1074 self.actionPauseToolbar.setIcon(iconPauseRed)
1070 self.a+=1
1075 self.a+=1
1071 return 0
1076 return 0
1072 if self.a==2:
1077 if self.a==2:
1073 iconPause = QtGui.QIcon()
1078 iconPause = QtGui.QIcon()
1074 iconPause.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/pause.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1079 iconPause.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"pause.png") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1075 self.actionPauseToolbar.setIcon(iconPause)
1080 self.actionPauseToolbar.setIcon(iconPause)
1076 self.a-=1
1081 self.a-=1
1077 return 0
1082 return 0
1078
1083
1079 def retranslateUi(self, MainWindow):
1084 def retranslateUi(self, MainWindow):
1080
1085
1081 MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
1086 MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
1082 self.label.setText(_translate("MainWindow", "Project Name :", None))
1087 self.label.setText(_translate("MainWindow", "Project Name :", None))
1083 self.label_11.setText(_translate("MainWindow", "DataType :", None))
1088 self.label_11.setText(_translate("MainWindow", "DataType :", None))
1084 self.proComDataType.setItemText(0, _translate("MainWindow", "Voltage", None))
1089 self.proComDataType.setItemText(0, _translate("MainWindow", "Voltage", None))
1085 self.proComDataType.setItemText(1, _translate("MainWindow", "Spectra", None))
1090 self.proComDataType.setItemText(1, _translate("MainWindow", "Spectra", None))
1086 self.proComDataType.setItemText(2, _translate("MainWindow", "Fits", None))
1091 self.proComDataType.setItemText(2, _translate("MainWindow", "Fits", None))
1087 self.label_15.setText(_translate("MainWindow", "DataPath :", None))
1092 self.label_15.setText(_translate("MainWindow", "DataPath :", None))
1088 self.proToolPath.setText(_translate("MainWindow", "...", None))
1093 self.proToolPath.setText(_translate("MainWindow", "...", None))
1089 self.label_23.setText(_translate("MainWindow", "Read Mode:", None))
1094 self.label_23.setText(_translate("MainWindow", "Read Mode:", None))
1090 self.proComReadMode.setItemText(0, _translate("MainWindow", "Offline", None))
1095 self.proComReadMode.setItemText(0, _translate("MainWindow", "Offline", None))
1091 self.proComReadMode.setItemText(1, _translate("MainWindow", "Online", None))
1096 self.proComReadMode.setItemText(1, _translate("MainWindow", "Online", None))
1092 self.label_33.setText(_translate("MainWindow", "Delay:", None))
1097 self.label_33.setText(_translate("MainWindow", "Delay:", None))
1093 self.label_32.setText(_translate("MainWindow", "Walk :", None))
1098 self.label_32.setText(_translate("MainWindow", "Walk :", None))
1094 self.proComWalk.setItemText(0, _translate("MainWindow", "On Files", None))
1099 self.proComWalk.setItemText(0, _translate("MainWindow", "On Files", None))
1095 self.proComWalk.setItemText(1, _translate("MainWindow", "On Folder", None))
1100 self.proComWalk.setItemText(1, _translate("MainWindow", "On Folder", None))
1096 self.proLoadButton.setText(_translate("MainWindow", "Load", None))
1101 self.proLoadButton.setText(_translate("MainWindow", "Load", None))
1097 self.label_10.setText(_translate("MainWindow", "Set:", None))
1102 self.label_10.setText(_translate("MainWindow", "Set:", None))
1098 self.label_27.setText(_translate("MainWindow", "Star Date:", None))
1103 self.label_27.setText(_translate("MainWindow", "Star Date:", None))
1099 self.label_28.setText(_translate("MainWindow", "End Date:", None))
1104 self.label_28.setText(_translate("MainWindow", "End Date:", None))
1100 self.label_2.setText(_translate("MainWindow", "Start Time:", None))
1105 self.label_2.setText(_translate("MainWindow", "Start Time:", None))
1101 self.label_3.setText(_translate("MainWindow", "End Time:", None))
1106 self.label_3.setText(_translate("MainWindow", "End Time:", None))
1102 self.label_30.setText(_translate("MainWindow", "Description:", None))
1107 self.label_30.setText(_translate("MainWindow", "Description:", None))
1103 self.proOk.setText(_translate("MainWindow", "Ok", None))
1108 self.proOk.setText(_translate("MainWindow", "Ok", None))
1104 self.proClear.setText(_translate("MainWindow", "Clear", None))
1109 self.proClear.setText(_translate("MainWindow", "Clear", None))
1105 self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tabProject), _translate("MainWindow", "Project", None))
1110 self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tabProject), _translate("MainWindow", "Project", None))
1106 self.volOpOk.setText(_translate("MainWindow", "Ok", None))
1111 self.volOpOk.setText(_translate("MainWindow", "Ok", None))
1107 self.volGraphClear.setText(_translate("MainWindow", "Clear", None))
1112 self.volGraphClear.setText(_translate("MainWindow", "Clear", None))
1108 self.volOpComHeights.setItemText(0, _translate("MainWindow", "Value", None))
1113 self.volOpComHeights.setItemText(0, _translate("MainWindow", "Value", None))
1109 self.volOpComHeights.setItemText(1, _translate("MainWindow", "Index", None))
1114 self.volOpComHeights.setItemText(1, _translate("MainWindow", "Index", None))
1110 self.volOpComChannels.setItemText(0, _translate("MainWindow", "Value", None))
1115 self.volOpComChannels.setItemText(0, _translate("MainWindow", "Value", None))
1111 self.volOpComChannels.setItemText(1, _translate("MainWindow", "Index", None))
1116 self.volOpComChannels.setItemText(1, _translate("MainWindow", "Index", None))
1112 self.volOpCebProfile.setText(_translate("MainWindow", "Profile Selector", None))
1117 self.volOpCebProfile.setText(_translate("MainWindow", "Profile Selector", None))
1113 self.volOpComProfile.setItemText(0, _translate("MainWindow", "Profile List", None))
1118 self.volOpComProfile.setItemText(0, _translate("MainWindow", "Profile List", None))
1114 self.volOpComProfile.setItemText(1, _translate("MainWindow", "Profile Range List", None))
1119 self.volOpComProfile.setItemText(1, _translate("MainWindow", "Profile Range List", None))
1115 self.volOpCebDecodification.setText(_translate("MainWindow", "Decoder", None))
1120 self.volOpCebDecodification.setText(_translate("MainWindow", "Decoder", None))
1116 self.volOpCebCohInt.setText(_translate("MainWindow", "Coherent Integration", None))
1121 self.volOpCebCohInt.setText(_translate("MainWindow", "Coherent Integration", None))
1117 self.label_4.setText(_translate("MainWindow", "Code:", None))
1122 self.label_4.setText(_translate("MainWindow", "Code:", None))
1118 self.volOpCebChannels.setText(_translate("MainWindow", "Select Channels", None))
1123 self.volOpCebChannels.setText(_translate("MainWindow", "Select Channels", None))
1119 self.volOpCebHeights.setText(_translate("MainWindow", "Select Heights", None))
1124 self.volOpCebHeights.setText(_translate("MainWindow", "Select Heights", None))
1120 self.volOpCebFilter.setText(_translate("MainWindow", "Filter", None))
1125 self.volOpCebFilter.setText(_translate("MainWindow", "Filter", None))
1121 self.volOpCebRadarfrequency.setText(_translate("MainWindow", "Radar Frequency", None))
1126 self.volOpCebRadarfrequency.setText(_translate("MainWindow", "Radar Frequency", None))
1122 self.label_5.setText(_translate("MainWindow", "Mode:", None))
1127 self.label_5.setText(_translate("MainWindow", "Mode:", None))
1123 self.volOpComCode.setItemText(0, _translate("MainWindow", "Barker 3", None))
1128 self.volOpComCode.setItemText(0, _translate("MainWindow", "Barker 3", None))
1124 self.volOpComCode.setItemText(1, _translate("MainWindow", "Barker 4", None))
1129 self.volOpComCode.setItemText(1, _translate("MainWindow", "Barker 4", None))
1125 self.volOpComCode.setItemText(2, _translate("MainWindow", "Barker 5", None))
1130 self.volOpComCode.setItemText(2, _translate("MainWindow", "Barker 5", None))
1126 self.volOpComCode.setItemText(3, _translate("MainWindow", "Barker 7", None))
1131 self.volOpComCode.setItemText(3, _translate("MainWindow", "Barker 7", None))
1127 self.volOpComCode.setItemText(4, _translate("MainWindow", "Barker 11", None))
1132 self.volOpComCode.setItemText(4, _translate("MainWindow", "Barker 11", None))
1128 self.volOpComCode.setItemText(5, _translate("MainWindow", "Barker 13", None))
1133 self.volOpComCode.setItemText(5, _translate("MainWindow", "Barker 13", None))
1129 self.volOpComCode.setItemText(6, _translate("MainWindow", "Barker 3 + Comp.", None))
1134 self.volOpComCode.setItemText(6, _translate("MainWindow", "Barker 3 + Comp.", None))
1130 self.volOpComCode.setItemText(7, _translate("MainWindow", "Barker 4 + Comp.", None))
1135 self.volOpComCode.setItemText(7, _translate("MainWindow", "Barker 4 + Comp.", None))
1131 self.volOpComCode.setItemText(8, _translate("MainWindow", "Barker 5 + Comp.", None))
1136 self.volOpComCode.setItemText(8, _translate("MainWindow", "Barker 5 + Comp.", None))
1132 self.volOpComCode.setItemText(9, _translate("MainWindow", "Barker 7 + Comp.", None))
1137 self.volOpComCode.setItemText(9, _translate("MainWindow", "Barker 7 + Comp.", None))
1133 self.volOpComCode.setItemText(10, _translate("MainWindow", "Barker 11+ Comp.", None))
1138 self.volOpComCode.setItemText(10, _translate("MainWindow", "Barker 11+ Comp.", None))
1134 self.volOpComCode.setItemText(11, _translate("MainWindow", "Barker 13+ Comp.", None))
1139 self.volOpComCode.setItemText(11, _translate("MainWindow", "Barker 13+ Comp.", None))
1135 self.volOpComCode.setItemText(12, _translate("MainWindow", "Default", None))
1140 self.volOpComCode.setItemText(12, _translate("MainWindow", "Default", None))
1136 self.volOpComMode.setItemText(0, _translate("MainWindow", "Time", None))
1141 self.volOpComMode.setItemText(0, _translate("MainWindow", "Time", None))
1137 self.volOpComMode.setItemText(1, _translate("MainWindow", "Freq 1", None))
1142 self.volOpComMode.setItemText(1, _translate("MainWindow", "Freq 1", None))
1138 self.tabWidgetVoltage.setTabText(self.tabWidgetVoltage.indexOf(self.tabopVoltage), _translate("MainWindow", "Operation", None))
1143 self.tabWidgetVoltage.setTabText(self.tabWidgetVoltage.indexOf(self.tabopVoltage), _translate("MainWindow", "Operation", None))
1139 self.volGraphToolPath.setText(_translate("MainWindow", "...", None))
1144 self.volGraphToolPath.setText(_translate("MainWindow", "...", None))
1140 self.label_14.setText(_translate("MainWindow", "Scope", None))
1145 self.label_14.setText(_translate("MainWindow", "Scope", None))
1141 self.label_8.setText(_translate("MainWindow", "Channel List", None))
1146 self.label_8.setText(_translate("MainWindow", "Channel List", None))
1142 self.label_49.setText(_translate("MainWindow", "Show", None))
1147 self.label_49.setText(_translate("MainWindow", "Show", None))
1143 self.label_51.setText(_translate("MainWindow", "Freq/Vel", None))
1148 self.label_51.setText(_translate("MainWindow", "Freq/Vel", None))
1144 self.label_12.setText(_translate("MainWindow", "Path :", None))
1149 self.label_12.setText(_translate("MainWindow", "Path :", None))
1145 self.label_13.setText(_translate("MainWindow", "Prefix:", None))
1150 self.label_13.setText(_translate("MainWindow", "Prefix:", None))
1146 self.label_52.setText(_translate("MainWindow", "Height range", None))
1151 self.label_52.setText(_translate("MainWindow", "Height range", None))
1147 self.label_50.setText(_translate("MainWindow", "Save", None))
1152 self.label_50.setText(_translate("MainWindow", "Save", None))
1148 self.tabWidgetVoltage.setTabText(self.tabWidgetVoltage.indexOf(self.tabgraphVoltage), _translate("MainWindow", "Graphics", None))
1153 self.tabWidgetVoltage.setTabText(self.tabWidgetVoltage.indexOf(self.tabgraphVoltage), _translate("MainWindow", "Graphics", None))
1149 self.label_36.setText(_translate("MainWindow", "Type:", None))
1154 self.label_36.setText(_translate("MainWindow", "Type:", None))
1150 self.label_37.setText(_translate("MainWindow", "Path:", None))
1155 self.label_37.setText(_translate("MainWindow", "Path:", None))
1151 self.volOutputToolPath.setText(_translate("MainWindow", "...", None))
1156 self.volOutputToolPath.setText(_translate("MainWindow", "...", None))
1152 self.volOutputComData.setItemText(0, _translate("MainWindow", ".rawdata", None))
1157 self.volOutputComData.setItemText(0, _translate("MainWindow", ".rawdata", None))
1153 self.label_7.setText(_translate("MainWindow", "Blocks per File : ", None))
1158 self.label_7.setText(_translate("MainWindow", "Blocks per File : ", None))
1154 self.label_35.setText(_translate("MainWindow", "Profiles per Block: ", None))
1159 self.label_35.setText(_translate("MainWindow", "Profiles per Block: ", None))
1155 self.tabWidgetVoltage.setTabText(self.tabWidgetVoltage.indexOf(self.taboutputVoltage), _translate("MainWindow", "Output", None))
1160 self.tabWidgetVoltage.setTabText(self.tabWidgetVoltage.indexOf(self.taboutputVoltage), _translate("MainWindow", "Output", None))
1156 self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tabVoltage), _translate("MainWindow", "Voltage", None))
1161 self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tabVoltage), _translate("MainWindow", "Voltage", None))
1157 self.specOpOk.setText(_translate("MainWindow", "Ok", None))
1162 self.specOpOk.setText(_translate("MainWindow", "Ok", None))
1158 self.specGraphClear.setText(_translate("MainWindow", "Clear", None))
1163 self.specGraphClear.setText(_translate("MainWindow", "Clear", None))
1159 self.specOpCebCrossSpectra.setText(_translate("MainWindow", "Select Cross Spectra", None))
1164 self.specOpCebCrossSpectra.setText(_translate("MainWindow", "Select Cross Spectra", None))
1160 self.specOpComChannel.setItemText(0, _translate("MainWindow", "Value", None))
1165 self.specOpComChannel.setItemText(0, _translate("MainWindow", "Value", None))
1161 self.specOpComChannel.setItemText(1, _translate("MainWindow", "Index", None))
1166 self.specOpComChannel.setItemText(1, _translate("MainWindow", "Index", None))
1162 self.specOpComHeights.setItemText(0, _translate("MainWindow", "Value", None))
1167 self.specOpComHeights.setItemText(0, _translate("MainWindow", "Value", None))
1163 self.specOpComHeights.setItemText(1, _translate("MainWindow", "Index", None))
1168 self.specOpComHeights.setItemText(1, _translate("MainWindow", "Index", None))
1164 self.specOpCebRemoveDC.setText(_translate("MainWindow", "Remove DC", None))
1169 self.specOpCebRemoveDC.setText(_translate("MainWindow", "Remove DC", None))
1165 self.specOpCebHeights.setText(_translate("MainWindow", "Select Heights", None))
1170 self.specOpCebHeights.setText(_translate("MainWindow", "Select Heights", None))
1166 self.specOpCebChannel.setText(_translate("MainWindow", "Select Channel", None))
1171 self.specOpCebChannel.setText(_translate("MainWindow", "Select Channel", None))
1167 self.label_31.setText(_translate("MainWindow", "x-y pairs", None))
1172 self.label_31.setText(_translate("MainWindow", "x-y pairs", None))
1168 self.label_26.setText(_translate("MainWindow", "nFFTPoints", None))
1173 self.label_26.setText(_translate("MainWindow", "nFFTPoints", None))
1169 self.specOpCebIncoherent.setText(_translate("MainWindow", "Incoherent Integration", None))
1174 self.specOpCebIncoherent.setText(_translate("MainWindow", "Incoherent Integration", None))
1170 self.specOpCobIncInt.setItemText(0, _translate("MainWindow", "Time Interval", None))
1175 self.specOpCobIncInt.setItemText(0, _translate("MainWindow", "Time Interval", None))
1171 self.specOpCobIncInt.setItemText(1, _translate("MainWindow", "Profiles", None))
1176 self.specOpCobIncInt.setItemText(1, _translate("MainWindow", "Profiles", None))
1172 self.specOpCebRadarfrequency.setText(_translate("MainWindow", "Radar Frequency", None))
1177 self.specOpCebRadarfrequency.setText(_translate("MainWindow", "Radar Frequency", None))
1173 self.label_21.setText(_translate("MainWindow", "Profiles", None))
1178 self.label_21.setText(_translate("MainWindow", "Profiles", None))
1174 self.specOpCebRemoveInt.setText(_translate("MainWindow", "Remove Interference", None))
1179 self.specOpCebRemoveInt.setText(_translate("MainWindow", "Remove Interference", None))
1175 self.label_70.setText(_translate("MainWindow", "IppFactor", None))
1180 self.label_70.setText(_translate("MainWindow", "IppFactor", None))
1176 self.specOpCebgetNoise.setText(_translate("MainWindow", "Get Noise", None))
1181 self.specOpCebgetNoise.setText(_translate("MainWindow", "Get Noise", None))
1177 self.specOpComRemoveDC.setItemText(0, _translate("MainWindow", "Mode 1", None))
1182 self.specOpComRemoveDC.setItemText(0, _translate("MainWindow", "Mode 1", None))
1178 self.specOpComRemoveDC.setItemText(1, _translate("MainWindow", "Mode 2", None))
1183 self.specOpComRemoveDC.setItemText(1, _translate("MainWindow", "Mode 2", None))
1179 self.tabWidgetSpectra.setTabText(self.tabWidgetSpectra.indexOf(self.tabopSpectra), _translate("MainWindow", "Operation", None))
1184 self.tabWidgetSpectra.setTabText(self.tabWidgetSpectra.indexOf(self.tabopSpectra), _translate("MainWindow", "Operation", None))
1180 self.label_44.setText(_translate("MainWindow", "Coherence Map", None))
1185 self.label_44.setText(_translate("MainWindow", "Coherence Map", None))
1181 self.label_20.setText(_translate("MainWindow", "Tmin, Tmax:", None))
1186 self.label_20.setText(_translate("MainWindow", "Tmin, Tmax:", None))
1182 self.label_25.setText(_translate("MainWindow", "Prefix", None))
1187 self.label_25.setText(_translate("MainWindow", "Prefix", None))
1183 self.label_42.setText(_translate("MainWindow", "RTI Plot", None))
1188 self.label_42.setText(_translate("MainWindow", "RTI Plot", None))
1184 self.label_16.setText(_translate("MainWindow", "Height range", None))
1189 self.label_16.setText(_translate("MainWindow", "Height range", None))
1185 self.label_17.setText(_translate("MainWindow", "dB range", None))
1190 self.label_17.setText(_translate("MainWindow", "dB range", None))
1186 self.label_18.setText(_translate("MainWindow", "Magnitud ", None))
1191 self.label_18.setText(_translate("MainWindow", "Magnitud ", None))
1187 self.label_24.setText(_translate("MainWindow", "Path", None))
1192 self.label_24.setText(_translate("MainWindow", "Path", None))
1188 self.label_46.setText(_translate("MainWindow", "Power Profile", None))
1193 self.label_46.setText(_translate("MainWindow", "Power Profile", None))
1189 self.label_22.setText(_translate("MainWindow", "Freq/Vel:", None))
1194 self.label_22.setText(_translate("MainWindow", "Freq/Vel:", None))
1190 self.label_41.setText(_translate("MainWindow", "Cross Spectra Plot", None))
1195 self.label_41.setText(_translate("MainWindow", "Cross Spectra Plot", None))
1191 self.specGraphToolPath.setText(_translate("MainWindow", "...", None))
1196 self.specGraphToolPath.setText(_translate("MainWindow", "...", None))
1192 self.label_6.setText(_translate("MainWindow", "Channel List:", None))
1197 self.label_6.setText(_translate("MainWindow", "Channel List:", None))
1193 self.label_40.setText(_translate("MainWindow", "Spectra Plot", None))
1198 self.label_40.setText(_translate("MainWindow", "Spectra Plot", None))
1194 self.label_43.setText(_translate("MainWindow", "Show", None))
1199 self.label_43.setText(_translate("MainWindow", "Show", None))
1195 self.label_29.setText(_translate("MainWindow", "Wr Period:", None))
1200 self.label_29.setText(_translate("MainWindow", "Wr Period:", None))
1196 self.label_47.setText(_translate("MainWindow", "Save", None))
1201 self.label_47.setText(_translate("MainWindow", "Save", None))
1197 self.label_19.setText(_translate("MainWindow", "ftp", None))
1202 self.label_19.setText(_translate("MainWindow", "ftp", None))
1198 self.label_45.setText(_translate("MainWindow", "Noise", None))
1203 self.label_45.setText(_translate("MainWindow", "Noise", None))
1199 self.label_48.setText(_translate("MainWindow", "Time Range:", None))
1204 self.label_48.setText(_translate("MainWindow", "Time Range:", None))
1200 self.tabWidgetSpectra.setTabText(self.tabWidgetSpectra.indexOf(self.tabgraphSpectra), _translate("MainWindow", "Graphics", None))
1205 self.tabWidgetSpectra.setTabText(self.tabWidgetSpectra.indexOf(self.tabgraphSpectra), _translate("MainWindow", "Graphics", None))
1201 self.label_39.setText(_translate("MainWindow", "Type:", None))
1206 self.label_39.setText(_translate("MainWindow", "Type:", None))
1202 self.specOutputComData.setItemText(0, _translate("MainWindow", ".pdata", None))
1207 self.specOutputComData.setItemText(0, _translate("MainWindow", ".pdata", None))
1203 self.label_34.setText(_translate("MainWindow", "Path:", None))
1208 self.label_34.setText(_translate("MainWindow", "Path:", None))
1204 self.specOutputToolPath.setText(_translate("MainWindow", "...", None))
1209 self.specOutputToolPath.setText(_translate("MainWindow", "...", None))
1205 self.label_9.setText(_translate("MainWindow", "Blocks per File: ", None))
1210 self.label_9.setText(_translate("MainWindow", "Blocks per File: ", None))
1206 self.label_38.setText(_translate("MainWindow", "Profile per Block: ", None))
1211 self.label_38.setText(_translate("MainWindow", "Profile per Block: ", None))
1207 self.tabWidgetSpectra.setTabText(self.tabWidgetSpectra.indexOf(self.taboutputSpectra), _translate("MainWindow", "Output", None))
1212 self.tabWidgetSpectra.setTabText(self.tabWidgetSpectra.indexOf(self.taboutputSpectra), _translate("MainWindow", "Output", None))
1208 self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tabSpectra), _translate("MainWindow", "Spectra", None))
1213 self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tabSpectra), _translate("MainWindow", "Spectra", None))
1209 self.specHeisGraphClear.setText(_translate("MainWindow", "Clear", None))
1214 self.specHeisGraphClear.setText(_translate("MainWindow", "Clear", None))
1210 self.specHeisOpOk.setText(_translate("MainWindow", "Ok", None))
1215 self.specHeisOpOk.setText(_translate("MainWindow", "Ok", None))
1211 self.specHeisOpCobIncInt.setItemText(0, _translate("MainWindow", "Time Interval", None))
1216 self.specHeisOpCobIncInt.setItemText(0, _translate("MainWindow", "Time Interval", None))
1212 self.specHeisOpCebIncoherent.setText(_translate("MainWindow", "Incoherent Intergration", None))
1217 self.specHeisOpCebIncoherent.setText(_translate("MainWindow", "Incoherent Intergration", None))
1213 self.tabWidgetSpectraHeis.setTabText(self.tabWidgetSpectraHeis.indexOf(self.tabopSpectraHeis), _translate("MainWindow", "Operation", None))
1218 self.tabWidgetSpectraHeis.setTabText(self.tabWidgetSpectraHeis.indexOf(self.tabopSpectraHeis), _translate("MainWindow", "Operation", None))
1214 self.label_54.setText(_translate("MainWindow", "Prefix", None))
1219 self.label_54.setText(_translate("MainWindow", "Prefix", None))
1215 self.specHeisGraphToolPath.setText(_translate("MainWindow", "...", None))
1220 self.specHeisGraphToolPath.setText(_translate("MainWindow", "...", None))
1216 self.label_62.setText(_translate("MainWindow", "ymin - ymax", None))
1221 self.label_62.setText(_translate("MainWindow", "ymin - ymax", None))
1217 self.label_63.setText(_translate("MainWindow", "Tmin - Tmax:", None))
1222 self.label_63.setText(_translate("MainWindow", "Tmin - Tmax:", None))
1218 self.label_64.setText(_translate("MainWindow", "Time Range:", None))
1223 self.label_64.setText(_translate("MainWindow", "Time Range:", None))
1219 self.label_65.setText(_translate("MainWindow", "Wr Period", None))
1224 self.label_65.setText(_translate("MainWindow", "Wr Period", None))
1220 self.label_60.setText(_translate("MainWindow", "Channel List:", None))
1225 self.label_60.setText(_translate("MainWindow", "Channel List:", None))
1221 self.label_61.setText(_translate("MainWindow", "xmin - xmax", None))
1226 self.label_61.setText(_translate("MainWindow", "xmin - xmax", None))
1222 self.label_56.setText(_translate("MainWindow", "Save", None))
1227 self.label_56.setText(_translate("MainWindow", "Save", None))
1223 self.label_57.setText(_translate("MainWindow", "ftp", None))
1228 self.label_57.setText(_translate("MainWindow", "ftp", None))
1224 self.label_58.setText(_translate("MainWindow", "Spectra Plot", None))
1229 self.label_58.setText(_translate("MainWindow", "Spectra Plot", None))
1225 self.label_53.setText(_translate("MainWindow", "Path", None))
1230 self.label_53.setText(_translate("MainWindow", "Path", None))
1226 self.label_55.setText(_translate("MainWindow", "Show", None))
1231 self.label_55.setText(_translate("MainWindow", "Show", None))
1227 self.label_59.setText(_translate("MainWindow", "RTI PLot", None))
1232 self.label_59.setText(_translate("MainWindow", "RTI PLot", None))
1228 self.tabWidgetSpectraHeis.setTabText(self.tabWidgetSpectraHeis.indexOf(self.tabgraphSpectraHeis), _translate("MainWindow", "Graphics", None))
1233 self.tabWidgetSpectraHeis.setTabText(self.tabWidgetSpectraHeis.indexOf(self.tabgraphSpectraHeis), _translate("MainWindow", "Graphics", None))
1229 self.label_67.setText(_translate("MainWindow", "Path:", None))
1234 self.label_67.setText(_translate("MainWindow", "Path:", None))
1230 self.label_68.setText(_translate("MainWindow", "Blocks per File:", None))
1235 self.label_68.setText(_translate("MainWindow", "Blocks per File:", None))
1231 self.label_66.setText(_translate("MainWindow", "Type:", None))
1236 self.label_66.setText(_translate("MainWindow", "Type:", None))
1232 self.specHeisOutputToolPath.setText(_translate("MainWindow", "...", None))
1237 self.specHeisOutputToolPath.setText(_translate("MainWindow", "...", None))
1233 self.specHeisOutputComdata.setItemText(0, _translate("MainWindow", ".fits", None))
1238 self.specHeisOutputComdata.setItemText(0, _translate("MainWindow", ".fits", None))
1234 self.label_69.setText(_translate("MainWindow", "Metada", None))
1239 self.label_69.setText(_translate("MainWindow", "Metada", None))
1235 self.specHeisOutputMetadaToolPath.setText(_translate("MainWindow", "...", None))
1240 self.specHeisOutputMetadaToolPath.setText(_translate("MainWindow", "...", None))
1236 self.tabWidgetSpectraHeis.setTabText(self.tabWidgetSpectraHeis.indexOf(self.taboutputSpectraHeis), _translate("MainWindow", "Output", None))
1241 self.tabWidgetSpectraHeis.setTabText(self.tabWidgetSpectraHeis.indexOf(self.taboutputSpectraHeis), _translate("MainWindow", "Output", None))
1237 self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tabSpectraHeis), _translate("MainWindow", "SpectraHeis", None))
1242 self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tabSpectraHeis), _translate("MainWindow", "SpectraHeis", None))
1238 self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tabopCorrelation), _translate("MainWindow", "Operation", None))
1243 self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tabopCorrelation), _translate("MainWindow", "Operation", None))
1239 self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tabopCorrelation1), _translate("MainWindow", "Graphics", None))
1244 self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tabopCorrelation1), _translate("MainWindow", "Graphics", None))
1240 self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tabCorrelation), _translate("MainWindow", "Correlation", None))
1245 self.tabWidgetProject.setTabText(self.tabWidgetProject.indexOf(self.tabCorrelation), _translate("MainWindow", "Correlation", None))
1241
1246
1242
1247
1243 self.tabConsole.setTabText(self.tabConsole.indexOf(self.tab_5), _translate("MainWindow", "Console", None))
1248 self.tabConsole.setTabText(self.tabConsole.indexOf(self.tab_5), _translate("MainWindow", "Console", None))
1244
1249
1245 self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabProjectProperty), _translate("MainWindow", "Project Property", None))
1250 self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabProjectProperty), _translate("MainWindow", "Project Property", None))
1246 self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar", None))
1251 self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar", None))
1247 self.menuProject.setTitle(_translate("MainWindow", "Project", None))
1252 self.menuProject.setTitle(_translate("MainWindow", "Project", None))
1248 self.menuRun.setTitle(_translate("MainWindow", "Run", None))
1253 self.menuRun.setTitle(_translate("MainWindow", "Run", None))
1249 self.menuOptions.setTitle(_translate("MainWindow", "Options", None))
1254 self.menuOptions.setTitle(_translate("MainWindow", "Options", None))
1250 self.menuHelp.setTitle(_translate("MainWindow", "Help", None))
1255 self.menuHelp.setTitle(_translate("MainWindow", "Help", None))
1251 self.actionOpen.setText(_translate("MainWindow", "Open", None))
1256 self.actionOpen.setText(_translate("MainWindow", "Open", None))
1252 self.actionCreate.setText(_translate("MainWindow", "Create", None))
1257 self.actionCreate.setText(_translate("MainWindow", "Create", None))
1253 self.actionSave.setText(_translate("MainWindow", "Save", None))
1258 self.actionSave.setText(_translate("MainWindow", "Save", None))
1254 self.actionClose.setText(_translate("MainWindow", "Close", None))
1259 self.actionClose.setText(_translate("MainWindow", "Close", None))
1255 self.actionStart.setText(_translate("MainWindow", "Start", None))
1260 self.actionStart.setText(_translate("MainWindow", "Start", None))
1256 self.actionPause.setText(_translate("MainWindow", "Pause", None))
1261 self.actionPause.setText(_translate("MainWindow", "Pause", None))
1257 self.actionStop.setText(_translate("MainWindow", "Stop", None))
1262 self.actionStop.setText(_translate("MainWindow", "Stop", None))
1258 self.actionAbout.setText(_translate("MainWindow", "About", None))
1263 self.actionAbout.setText(_translate("MainWindow", "About", None))
1259 self.actionOpenToolbar.setText(_translate("MainWindow", "openToolbar", None))
1264 self.actionOpenToolbar.setText(_translate("MainWindow", "openToolbar", None))
1260 self.actionOpenToolbar.setToolTip(_translate("MainWindow", "Open Project", None))
1265 self.actionOpenToolbar.setToolTip(_translate("MainWindow", "Open Project", None))
1261 self.actionCreateToolbar.setText(_translate("MainWindow", "createToolbar", None))
1266 self.actionCreateToolbar.setText(_translate("MainWindow", "createToolbar", None))
1262 self.actionCreateToolbar.setToolTip(_translate("MainWindow", "Create αΉ”roject", None))
1267 self.actionCreateToolbar.setToolTip(_translate("MainWindow", "Create αΉ”roject", None))
1263 self.actionSaveToolbar.setText(_translate("MainWindow", "saveToolbar", None))
1268 self.actionSaveToolbar.setText(_translate("MainWindow", "saveToolbar", None))
1264 self.actionSaveToolbar.setToolTip(_translate("MainWindow", "Save Project", None))
1269 self.actionSaveToolbar.setToolTip(_translate("MainWindow", "Save Project", None))
1265 self.actionStarToolbar.setText(_translate("MainWindow", "starToolbar", None))
1270 self.actionStarToolbar.setText(_translate("MainWindow", "starToolbar", None))
1266 self.actionStarToolbar.setToolTip(_translate("MainWindow", "Start ", None))
1271 self.actionStarToolbar.setToolTip(_translate("MainWindow", "Start ", None))
1267 self.actionStopToolbar.setText(_translate("MainWindow", "stopToolbar", None))
1272 self.actionStopToolbar.setText(_translate("MainWindow", "stopToolbar", None))
1268 self.actionStopToolbar.setToolTip(_translate("MainWindow", "Stop", None))
1273 self.actionStopToolbar.setToolTip(_translate("MainWindow", "Stop", None))
1269 self.actionPauseToolbar.setText(_translate("MainWindow", "pauseToolbar", None))
1274 self.actionPauseToolbar.setText(_translate("MainWindow", "pauseToolbar", None))
1270 self.actionPauseToolbar.setToolTip(_translate("MainWindow", "Pause", None))
1275 self.actionPauseToolbar.setToolTip(_translate("MainWindow", "Pause", None))
1271 self.actionAddPU.setText(_translate("MainWindow", "Add Processing Unit", None))
1276 self.actionAddPU.setText(_translate("MainWindow", "Add Processing Unit", None))
1272 self.actionFTP.setText(_translate("MainWindow", "FTP", None))
1277 self.actionFTP.setText(_translate("MainWindow", "FTP", None))
1273
1278
1274
1279
1275 class Ui_EnvWindow(object):
1280 class Ui_EnvWindow(object):
1276
1281
1277 def changeIcon(self):
1282 def changeIcon(self):
1278
1283
1279 if self.a==1:
1284 if self.a==1:
1280 iconPauseRed = QtGui.QIcon()
1285 iconPauseRed = QtGui.QIcon()
1281 iconPauseRed.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/pausered.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1286 iconPauseRed.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"pausered.png") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1282 self.actionPauseToolbar.setIcon(iconPauseRed)
1287 self.actionPauseToolbar.setIcon(iconPauseRed)
1283 self.a+=1
1288 self.a+=1
1284 return 0
1289 return 0
1285 if self.a==2:
1290 if self.a==2:
1286 iconPause = QtGui.QIcon()
1291 iconPause = QtGui.QIcon()
1287 iconPause.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/pause.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1292 iconPause.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"pause.png") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1288 self.actionPauseToolbar.setIcon(iconPause)
1293 self.actionPauseToolbar.setIcon(iconPause)
1289 self.a-=1
1294 self.a-=1
1290 return 0
1295 return 0
1291
1296
1292 def setupUi(self, MainWindow):
1297 def setupUi(self, MainWindow):
1293
1298
1294 MainWindow.setObjectName(_fromUtf8("MainWindow"))
1299 MainWindow.setObjectName(_fromUtf8("MainWindow"))
1295 MainWindow.resize(1203, 711)
1300 MainWindow.resize(1203, 711)
1296
1301
1297 self.centralWidget = QtGui.QWidget(MainWindow)
1302 self.centralWidget = QtGui.QWidget(MainWindow)
1298 self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
1303 self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
1299 self.gridLayout_16 = QtGui.QGridLayout(self.centralWidget)
1304 self.gridLayout_16 = QtGui.QGridLayout(self.centralWidget)
1300 self.gridLayout_16.setObjectName(_fromUtf8("gridLayout_16"))
1305 self.gridLayout_16.setObjectName(_fromUtf8("gridLayout_16"))
1301 self.splitter_2 = QtGui.QSplitter(self.centralWidget)
1306 self.splitter_2 = QtGui.QSplitter(self.centralWidget)
1302 self.splitter_2.setOrientation(QtCore.Qt.Horizontal)
1307 self.splitter_2.setOrientation(QtCore.Qt.Horizontal)
1303 self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
1308 self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
1304 self.projectExplorerTree = QtGui.QTreeView(self.splitter_2)
1309 self.projectExplorerTree = QtGui.QTreeView(self.splitter_2)
1305 self.projectExplorerTree.setObjectName(_fromUtf8("projectExplorerTree"))
1310 self.projectExplorerTree.setObjectName(_fromUtf8("projectExplorerTree"))
1306 self.splitter = QtGui.QSplitter(self.splitter_2)
1311 self.splitter = QtGui.QSplitter(self.splitter_2)
1307 self.splitter.setOrientation(QtCore.Qt.Vertical)
1312 self.splitter.setOrientation(QtCore.Qt.Vertical)
1308 self.splitter.setObjectName(_fromUtf8("splitter"))
1313 self.splitter.setObjectName(_fromUtf8("splitter"))
1309 self.tabWidgetProject = QtGui.QTabWidget(self.splitter)
1314 self.tabWidgetProject = QtGui.QTabWidget(self.splitter)
1310 self.tabWidgetProject.setMinimumSize(QtCore.QSize(0, 278))
1315 self.tabWidgetProject.setMinimumSize(QtCore.QSize(0, 278))
1311 self.tabWidgetProject.setMaximumSize(QtCore.QSize(16777215, 16777215))
1316 self.tabWidgetProject.setMaximumSize(QtCore.QSize(16777215, 16777215))
1312 self.tabWidgetProject.setObjectName(_fromUtf8("tabWidgetProject"))
1317 self.tabWidgetProject.setObjectName(_fromUtf8("tabWidgetProject"))
1313
1318
1314 self.tabConsole = QtGui.QTabWidget(self.splitter)
1319 self.tabConsole = QtGui.QTabWidget(self.splitter)
1315 self.tabConsole.setMinimumSize(QtCore.QSize(0, 0))
1320 self.tabConsole.setMinimumSize(QtCore.QSize(0, 0))
1316 self.tabConsole.setObjectName(_fromUtf8("tabConsole"))
1321 self.tabConsole.setObjectName(_fromUtf8("tabConsole"))
1317 self.tab_5 = QtGui.QWidget()
1322 self.tab_5 = QtGui.QWidget()
1318 self.tab_5.setObjectName(_fromUtf8("tab_5"))
1323 self.tab_5.setObjectName(_fromUtf8("tab_5"))
1319 self.gridLayout_4 = QtGui.QGridLayout(self.tab_5)
1324 self.gridLayout_4 = QtGui.QGridLayout(self.tab_5)
1320 self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
1325 self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
1321 self.console = QtGui.QTextEdit(self.tab_5)
1326 self.console = QtGui.QTextEdit(self.tab_5)
1322 self.console.setObjectName(_fromUtf8("console"))
1327 self.console.setObjectName(_fromUtf8("console"))
1323 self.gridLayout_4.addWidget(self.console, 0, 0, 1, 1)
1328 self.gridLayout_4.addWidget(self.console, 0, 0, 1, 1)
1324 self.tabConsole.addTab(self.tab_5, _fromUtf8(""))
1329 self.tabConsole.addTab(self.tab_5, _fromUtf8(""))
1325 self.tabWidget = QtGui.QTabWidget(self.splitter_2)
1330 self.tabWidget = QtGui.QTabWidget(self.splitter_2)
1326 self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
1331 self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
1327 self.tabProjectProperty = QtGui.QWidget()
1332 self.tabProjectProperty = QtGui.QWidget()
1328 self.tabProjectProperty.setObjectName(_fromUtf8("tabProjectProperty"))
1333 self.tabProjectProperty.setObjectName(_fromUtf8("tabProjectProperty"))
1329 self.gridLayout_8 = QtGui.QGridLayout(self.tabProjectProperty)
1334 self.gridLayout_8 = QtGui.QGridLayout(self.tabProjectProperty)
1330 self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
1335 self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
1331 self.treeProjectProperties = QtGui.QTreeView(self.tabProjectProperty)
1336 self.treeProjectProperties = QtGui.QTreeView(self.tabProjectProperty)
1332 self.treeProjectProperties.setObjectName(_fromUtf8("treeProjectProperties"))
1337 self.treeProjectProperties.setObjectName(_fromUtf8("treeProjectProperties"))
1333 self.gridLayout_8.addWidget(self.treeProjectProperties, 0, 0, 1, 1)
1338 self.gridLayout_8.addWidget(self.treeProjectProperties, 0, 0, 1, 1)
1334 self.tabWidget.addTab(self.tabProjectProperty, _fromUtf8(""))
1339 self.tabWidget.addTab(self.tabProjectProperty, _fromUtf8(""))
1335 self.gridLayout_16.addWidget(self.splitter_2, 1, 0, 1, 1)
1340 self.gridLayout_16.addWidget(self.splitter_2, 1, 0, 1, 1)
1336
1341
1337 MainWindow.setCentralWidget(self.centralWidget)
1342 MainWindow.setCentralWidget(self.centralWidget)
1338 self.toolBar = QtGui.QToolBar(MainWindow)
1343 self.toolBar = QtGui.QToolBar(MainWindow)
1339 self.toolBar.setObjectName(_fromUtf8("toolBar"))
1344 self.toolBar.setObjectName(_fromUtf8("toolBar"))
1340 MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
1345 MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
1341
1346
1342 self.menuBar = QtGui.QMenuBar(MainWindow)
1347 self.menuBar = QtGui.QMenuBar(MainWindow)
1343 self.menuBar.setGeometry(QtCore.QRect(0, 0, 1065, 25))
1348 self.menuBar.setGeometry(QtCore.QRect(0, 0, 1065, 25))
1344 self.menuBar.setObjectName(_fromUtf8("menuBar"))
1349 self.menuBar.setObjectName(_fromUtf8("menuBar"))
1345 self.menuProject = QtGui.QMenu(self.menuBar)
1350 self.menuProject = QtGui.QMenu(self.menuBar)
1346 self.menuProject.setObjectName(_fromUtf8("menuProject"))
1351 self.menuProject.setObjectName(_fromUtf8("menuProject"))
1347 self.menuRun = QtGui.QMenu(self.menuBar)
1352 self.menuRun = QtGui.QMenu(self.menuBar)
1348 self.menuRun.setObjectName(_fromUtf8("menuRun"))
1353 self.menuRun.setObjectName(_fromUtf8("menuRun"))
1349 self.menuOptions = QtGui.QMenu(self.menuBar)
1354 self.menuOptions = QtGui.QMenu(self.menuBar)
1350 self.menuOptions.setObjectName(_fromUtf8("menuOptions"))
1355 self.menuOptions.setObjectName(_fromUtf8("menuOptions"))
1351 self.menuHelp = QtGui.QMenu(self.menuBar)
1356 self.menuHelp = QtGui.QMenu(self.menuBar)
1352 self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
1357 self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
1353 MainWindow.setMenuBar(self.menuBar)
1358 MainWindow.setMenuBar(self.menuBar)
1354
1359
1355 iconOpen = QtGui.QIcon()
1360 iconOpen = QtGui.QIcon()
1356 iconOpen.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/open.gif")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1361 iconOpen.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"open.gif") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1357 iconCreate = QtGui.QIcon()
1362 iconCreate = QtGui.QIcon()
1358 iconCreate.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/project.gif")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1363 iconCreate.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"project.gif") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1359 iconSave = QtGui.QIcon()
1364 iconSave = QtGui.QIcon()
1360 iconSave.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/saveicon.jpeg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1365 iconSave.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"saveicon.jpeg") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1361 iconStart = QtGui.QIcon()
1366 iconStart = QtGui.QIcon()
1362 iconStart.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/startServer.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1367 iconStart.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"startServer.png") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1363 iconStop = QtGui.QIcon()
1368 iconStop = QtGui.QIcon()
1364 iconStop.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/stopServer.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1369 iconStop.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"stopServer.png") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1365 iconPause = QtGui.QIcon()
1370 iconPause = QtGui.QIcon()
1366 iconPause.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/pause.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1371 iconPause.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"pause.png") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1367 iconAddPU = QtGui.QIcon()
1372 iconAddPU = QtGui.QIcon()
1368 iconAddPU.addPixmap(QtGui.QPixmap(_fromUtf8("schainpy/gui/figure/add_PU.gif")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1373 iconAddPU.addPixmap(QtGui.QPixmap(_fromUtf8( os.path.join(FIGURES_PATH,"add_PU.gif") )), QtGui.QIcon.Normal, QtGui.QIcon.Off)
1369
1374
1370 self.actionOpen = QtGui.QAction(MainWindow)
1375 self.actionOpen = QtGui.QAction(MainWindow)
1371 self.actionOpen.setIcon(iconOpen)
1376 self.actionOpen.setIcon(iconOpen)
1372 self.actionOpen.setObjectName(_fromUtf8("actionOpen"))
1377 self.actionOpen.setObjectName(_fromUtf8("actionOpen"))
1373 self.actionCreate = QtGui.QAction(MainWindow)
1378 self.actionCreate = QtGui.QAction(MainWindow)
1374 self.actionCreate.setIcon(iconCreate)
1379 self.actionCreate.setIcon(iconCreate)
1375 self.actionCreate.setObjectName(_fromUtf8("actionCreate"))
1380 self.actionCreate.setObjectName(_fromUtf8("actionCreate"))
1376 self.actionSave = QtGui.QAction(MainWindow)
1381 self.actionSave = QtGui.QAction(MainWindow)
1377 self.actionSave.setIcon(iconSave)
1382 self.actionSave.setIcon(iconSave)
1378 self.actionSave.setObjectName(_fromUtf8("actionSave"))
1383 self.actionSave.setObjectName(_fromUtf8("actionSave"))
1379 self.actionClose = QtGui.QAction(MainWindow)
1384 self.actionClose = QtGui.QAction(MainWindow)
1380 self.actionClose.setObjectName(_fromUtf8("actionClose"))
1385 self.actionClose.setObjectName(_fromUtf8("actionClose"))
1381 self.actionStart = QtGui.QAction(MainWindow)
1386 self.actionStart = QtGui.QAction(MainWindow)
1382 self.actionStart.setIcon(iconStart)
1387 self.actionStart.setIcon(iconStart)
1383 self.actionStart.setObjectName(_fromUtf8("actionStart"))
1388 self.actionStart.setObjectName(_fromUtf8("actionStart"))
1384 self.actionPause = QtGui.QAction(MainWindow)
1389 self.actionPause = QtGui.QAction(MainWindow)
1385 self.actionPause.setIcon(iconPause)
1390 self.actionPause.setIcon(iconPause)
1386 self.actionPause.setObjectName(_fromUtf8("actionPause"))
1391 self.actionPause.setObjectName(_fromUtf8("actionPause"))
1387 self.actionStop = QtGui.QAction(MainWindow)
1392 self.actionStop = QtGui.QAction(MainWindow)
1388 self.actionStop.setIcon(iconStop)
1393 self.actionStop.setIcon(iconStop)
1389 self.actionStop.setObjectName(_fromUtf8("actionStop"))
1394 self.actionStop.setObjectName(_fromUtf8("actionStop"))
1390 self.actionAbout = QtGui.QAction(MainWindow)
1395 self.actionAbout = QtGui.QAction(MainWindow)
1391 self.actionAbout.setObjectName(_fromUtf8("actionAbout"))
1396 self.actionAbout.setObjectName(_fromUtf8("actionAbout"))
1392 self.actionOpenToolbar = QtGui.QAction(MainWindow)
1397 self.actionOpenToolbar = QtGui.QAction(MainWindow)
1393 self.actionOpenToolbar.setIcon(iconOpen)
1398 self.actionOpenToolbar.setIcon(iconOpen)
1394 self.actionOpenToolbar.setObjectName(_fromUtf8("actionOpenToolbar"))
1399 self.actionOpenToolbar.setObjectName(_fromUtf8("actionOpenToolbar"))
1395 self.actionCreateToolbar = QtGui.QAction(MainWindow)
1400 self.actionCreateToolbar = QtGui.QAction(MainWindow)
1396 self.actionCreateToolbar.setIcon(iconCreate)
1401 self.actionCreateToolbar.setIcon(iconCreate)
1397 self.actionCreateToolbar.setObjectName(_fromUtf8("actionCreateToolbar"))
1402 self.actionCreateToolbar.setObjectName(_fromUtf8("actionCreateToolbar"))
1398 self.actionSaveToolbar = QtGui.QAction(MainWindow)
1403 self.actionSaveToolbar = QtGui.QAction(MainWindow)
1399 self.actionSaveToolbar.setIcon(iconSave)
1404 self.actionSaveToolbar.setIcon(iconSave)
1400 self.actionSaveToolbar.setObjectName(_fromUtf8("actionSaveToolbar"))
1405 self.actionSaveToolbar.setObjectName(_fromUtf8("actionSaveToolbar"))
1401 self.actionStarToolbar = QtGui.QAction(MainWindow)
1406 self.actionStarToolbar = QtGui.QAction(MainWindow)
1402 self.actionStarToolbar.setIcon(iconStart)
1407 self.actionStarToolbar.setIcon(iconStart)
1403 self.actionStarToolbar.setObjectName(_fromUtf8("actionStarToolbar"))
1408 self.actionStarToolbar.setObjectName(_fromUtf8("actionStarToolbar"))
1404 self.actionStopToolbar = QtGui.QAction(MainWindow)
1409 self.actionStopToolbar = QtGui.QAction(MainWindow)
1405 self.actionStopToolbar.setIcon(iconStop)
1410 self.actionStopToolbar.setIcon(iconStop)
1406 self.actionStopToolbar.setObjectName(_fromUtf8("actionStopToolbar"))
1411 self.actionStopToolbar.setObjectName(_fromUtf8("actionStopToolbar"))
1407 self.actionPauseToolbar = QtGui.QAction(MainWindow)
1412 self.actionPauseToolbar = QtGui.QAction(MainWindow)
1408 self.actionPause.setIcon(iconPause)
1413 self.actionPause.setIcon(iconPause)
1409 self.actionPauseToolbar.setIcon(iconPause)
1414 self.actionPauseToolbar.setIcon(iconPause)
1410 self.actionPauseToolbar.setObjectName(_fromUtf8("actionPauseToolbar"))
1415 self.actionPauseToolbar.setObjectName(_fromUtf8("actionPauseToolbar"))
1411 self.actionAddPU = QtGui.QAction(MainWindow)
1416 self.actionAddPU = QtGui.QAction(MainWindow)
1412 self.actionAddPU.setIcon(iconAddPU)
1417 self.actionAddPU.setIcon(iconAddPU)
1413 self.actionAddPU.setObjectName(_fromUtf8("actionAddPU"))
1418 self.actionAddPU.setObjectName(_fromUtf8("actionAddPU"))
1414 self.actionFTP = QtGui.QAction(MainWindow)
1419 self.actionFTP = QtGui.QAction(MainWindow)
1415 self.actionFTP.setObjectName(_fromUtf8("actionFTP"))
1420 self.actionFTP.setObjectName(_fromUtf8("actionFTP"))
1416 self.toolBar.addAction(self.actionOpenToolbar)
1421 self.toolBar.addAction(self.actionOpenToolbar)
1417 self.toolBar.addSeparator()
1422 self.toolBar.addSeparator()
1418 self.toolBar.addAction(self.actionCreateToolbar)
1423 self.toolBar.addAction(self.actionCreateToolbar)
1419 self.toolBar.addSeparator()
1424 self.toolBar.addSeparator()
1420 self.toolBar.addAction(self.actionAddPU)
1425 self.toolBar.addAction(self.actionAddPU)
1421 self.toolBar.addSeparator()
1426 self.toolBar.addSeparator()
1422 self.toolBar.addAction(self.actionSaveToolbar)
1427 self.toolBar.addAction(self.actionSaveToolbar)
1423 self.toolBar.addSeparator()
1428 self.toolBar.addSeparator()
1424 self.toolBar.addAction(self.actionStarToolbar)
1429 self.toolBar.addAction(self.actionStarToolbar)
1425 self.toolBar.addSeparator()
1430 self.toolBar.addSeparator()
1426 self.toolBar.addAction(self.actionPauseToolbar)
1431 self.toolBar.addAction(self.actionPauseToolbar)
1427 self.toolBar.addSeparator()
1432 self.toolBar.addSeparator()
1428 self.toolBar.addAction(self.actionStopToolbar)
1433 self.toolBar.addAction(self.actionStopToolbar)
1429 self.toolBar.addSeparator()
1434 self.toolBar.addSeparator()
1430 self.a=1
1435 self.a=1
1431 self.actionPauseToolbar.triggered.connect(self.changeIcon)
1436 self.actionPauseToolbar.triggered.connect(self.changeIcon)
1432
1437
1433 self.menuProject.addAction(self.actionOpen)
1438 self.menuProject.addAction(self.actionOpen)
1434 self.menuProject.addAction(self.actionCreate)
1439 self.menuProject.addAction(self.actionCreate)
1435 self.menuProject.addAction(self.actionSave)
1440 self.menuProject.addAction(self.actionSave)
1436 self.menuProject.addAction(self.actionClose)
1441 self.menuProject.addAction(self.actionClose)
1437 self.menuRun.addAction(self.actionStart)
1442 self.menuRun.addAction(self.actionStart)
1438 self.menuRun.addAction(self.actionPause)
1443 self.menuRun.addAction(self.actionPause)
1439 self.menuRun.addAction(self.actionStop)
1444 self.menuRun.addAction(self.actionStop)
1440 self.menuOptions.addAction(self.actionFTP)
1445 self.menuOptions.addAction(self.actionFTP)
1441 self.menuHelp.addAction(self.actionAbout)
1446 self.menuHelp.addAction(self.actionAbout)
1442 self.menuBar.addAction(self.menuProject.menuAction())
1447 self.menuBar.addAction(self.menuProject.menuAction())
1443 self.menuBar.addAction(self.menuRun.menuAction())
1448 self.menuBar.addAction(self.menuRun.menuAction())
1444 self.menuBar.addAction(self.menuOptions.menuAction())
1449 self.menuBar.addAction(self.menuOptions.menuAction())
1445 self.menuBar.addAction(self.menuHelp.menuAction())
1450 self.menuBar.addAction(self.menuHelp.menuAction())
1446
1451
1447 self.tabConsole.setCurrentIndex(0)
1452 self.tabConsole.setCurrentIndex(0)
1448 self.tabWidget.setCurrentIndex(0)
1453 self.tabWidget.setCurrentIndex(0)
1449
1454
1450 def retranslateUi(self, MainWindow):
1455 def retranslateUi(self, MainWindow):
1451
1456
1452 MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
1457 MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
1453
1458
1454 self.tabConsole.setTabText(self.tabConsole.indexOf(self.tab_5), _translate("MainWindow", "Console", None))
1459 self.tabConsole.setTabText(self.tabConsole.indexOf(self.tab_5), _translate("MainWindow", "Console", None))
1455
1460
1456 self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabProjectProperty), _translate("MainWindow", "Project Property", None))
1461 self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabProjectProperty), _translate("MainWindow", "Project Property", None))
1457 self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar", None))
1462 self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar", None))
1458 self.menuProject.setTitle(_translate("MainWindow", "Project", None))
1463 self.menuProject.setTitle(_translate("MainWindow", "Project", None))
1459 self.menuRun.setTitle(_translate("MainWindow", "Run", None))
1464 self.menuRun.setTitle(_translate("MainWindow", "Run", None))
1460 self.menuOptions.setTitle(_translate("MainWindow", "Options", None))
1465 self.menuOptions.setTitle(_translate("MainWindow", "Options", None))
1461 self.menuHelp.setTitle(_translate("MainWindow", "Help", None))
1466 self.menuHelp.setTitle(_translate("MainWindow", "Help", None))
1462 self.actionOpen.setText(_translate("MainWindow", "Open", None))
1467 self.actionOpen.setText(_translate("MainWindow", "Open", None))
1463 self.actionCreate.setText(_translate("MainWindow", "Create", None))
1468 self.actionCreate.setText(_translate("MainWindow", "Create", None))
1464 self.actionSave.setText(_translate("MainWindow", "Save", None))
1469 self.actionSave.setText(_translate("MainWindow", "Save", None))
1465 self.actionClose.setText(_translate("MainWindow", "Close", None))
1470 self.actionClose.setText(_translate("MainWindow", "Close", None))
1466 self.actionStart.setText(_translate("MainWindow", "Start", None))
1471 self.actionStart.setText(_translate("MainWindow", "Start", None))
1467 self.actionPause.setText(_translate("MainWindow", "Pause", None))
1472 self.actionPause.setText(_translate("MainWindow", "Pause", None))
1468 self.actionStop.setText(_translate("MainWindow", "Stop", None))
1473 self.actionStop.setText(_translate("MainWindow", "Stop", None))
1469 self.actionAbout.setText(_translate("MainWindow", "About", None))
1474 self.actionAbout.setText(_translate("MainWindow", "About", None))
1470 self.actionOpenToolbar.setText(_translate("MainWindow", "openToolbar", None))
1475 self.actionOpenToolbar.setText(_translate("MainWindow", "openToolbar", None))
1471 self.actionOpenToolbar.setToolTip(_translate("MainWindow", "Open Project", None))
1476 self.actionOpenToolbar.setToolTip(_translate("MainWindow", "Open Project", None))
1472 self.actionCreateToolbar.setText(_translate("MainWindow", "createToolbar", None))
1477 self.actionCreateToolbar.setText(_translate("MainWindow", "createToolbar", None))
1473 self.actionCreateToolbar.setToolTip(_translate("MainWindow", "Create αΉ”roject", None))
1478 self.actionCreateToolbar.setToolTip(_translate("MainWindow", "Create αΉ”roject", None))
1474 self.actionSaveToolbar.setText(_translate("MainWindow", "saveToolbar", None))
1479 self.actionSaveToolbar.setText(_translate("MainWindow", "saveToolbar", None))
1475 self.actionSaveToolbar.setToolTip(_translate("MainWindow", "Save Project", None))
1480 self.actionSaveToolbar.setToolTip(_translate("MainWindow", "Save Project", None))
1476 self.actionStarToolbar.setText(_translate("MainWindow", "starToolbar", None))
1481 self.actionStarToolbar.setText(_translate("MainWindow", "starToolbar", None))
1477 self.actionStarToolbar.setToolTip(_translate("MainWindow", "Start ", None))
1482 self.actionStarToolbar.setToolTip(_translate("MainWindow", "Start ", None))
1478 self.actionStopToolbar.setText(_translate("MainWindow", "stopToolbar", None))
1483 self.actionStopToolbar.setText(_translate("MainWindow", "stopToolbar", None))
1479 self.actionStopToolbar.setToolTip(_translate("MainWindow", "Stop", None))
1484 self.actionStopToolbar.setToolTip(_translate("MainWindow", "Stop", None))
1480 self.actionPauseToolbar.setText(_translate("MainWindow", "pauseToolbar", None))
1485 self.actionPauseToolbar.setText(_translate("MainWindow", "pauseToolbar", None))
1481 self.actionPauseToolbar.setToolTip(_translate("MainWindow", "Pause", None))
1486 self.actionPauseToolbar.setToolTip(_translate("MainWindow", "Pause", None))
1482 self.actionAddPU.setText(_translate("MainWindow", "Add Processing Unit", None))
1487 self.actionAddPU.setText(_translate("MainWindow", "Add Processing Unit", None))
1483 self.actionFTP.setText(_translate("MainWindow", "FTP", None))
1488 self.actionFTP.setText(_translate("MainWindow", "FTP", None))
1484
1489
1485 class Ui_BasicWindow(Ui_EnvWindow, Ui_ProjectTab, Ui_VoltageTab, Ui_SpectraTab, Ui_SpectraHeisTab, Ui_CorrelationTab):
1490 class Ui_BasicWindow(Ui_EnvWindow, Ui_ProjectTab, Ui_VoltageTab, Ui_SpectraTab, Ui_SpectraHeisTab, Ui_CorrelationTab):
1486
1491
1487 def setupUi(self, MainWindow):
1492 def setupUi(self, MainWindow):
1488
1493
1489 Ui_EnvWindow.setupUi(self, MainWindow)
1494 Ui_EnvWindow.setupUi(self, MainWindow)
1490
1495
1491 Ui_ProjectTab.setupUi(self)
1496 Ui_ProjectTab.setupUi(self)
1492 Ui_VoltageTab.setupUi(self)
1497 Ui_VoltageTab.setupUi(self)
1493 Ui_SpectraTab.setupUi(self)
1498 Ui_SpectraTab.setupUi(self)
1494 Ui_SpectraHeisTab.setupUi(self)
1499 Ui_SpectraHeisTab.setupUi(self)
1495 Ui_CorrelationTab.setupUi(self)
1500 Ui_CorrelationTab.setupUi(self)
1496
1501
1497 self.retranslateUi(MainWindow)
1502 self.retranslateUi(MainWindow)
1498
1503
1499 QtCore.QMetaObject.connectSlotsByName(MainWindow)
1504 QtCore.QMetaObject.connectSlotsByName(MainWindow)
1500
1505
1501 def retranslateUi(self, MainWindow):
1506 def retranslateUi(self, MainWindow):
1502
1507
1503 Ui_EnvWindow.retranslateUi(self, MainWindow)
1508 Ui_EnvWindow.retranslateUi(self, MainWindow)
1504
1509
1505 Ui_ProjectTab.retranslateUi(self)
1510 Ui_ProjectTab.retranslateUi(self)
1506 Ui_VoltageTab.retranslateUi(self)
1511 Ui_VoltageTab.retranslateUi(self)
1507 Ui_SpectraTab.retranslateUi(self)
1512 Ui_SpectraTab.retranslateUi(self)
1508 Ui_SpectraHeisTab.retranslateUi(self)
1513 Ui_SpectraHeisTab.retranslateUi(self)
1509 Ui_CorrelationTab.retranslateUi(self)
1514 Ui_CorrelationTab.retranslateUi(self)
1510
1515
1511
1516
1512 class Ui_AdvancedWindow(Ui_MainWindow):
1517 class Ui_AdvancedWindow(Ui_MainWindow):
1513
1518
1514 def setupUi(self, AdvancedWindow):
1519 def setupUi(self, AdvancedWindow):
1515
1520
1516 Ui_MainWindow.setupUi(self, AdvancedWindow)
1521 Ui_MainWindow.setupUi(self, AdvancedWindow)
1517
1522
1518 def retranslateUi(self, AdvancedWindow):
1523 def retranslateUi(self, AdvancedWindow):
1519
1524
1520 Ui_MainWindow.retranslateUi(self, AdvancedWindow)
1525 Ui_MainWindow.retranslateUi(self, AdvancedWindow)
1521
1526
1522
1527
1523
1528
1524 if __name__ == "__main__":
1529 if __name__ == "__main__":
1525 import sys
1530 import sys
1526 app = QtGui.QApplication(sys.argv)
1531 app = QtGui.QApplication(sys.argv)
1527 MainWindow = QtGui.QMainWindow()
1532 MainWindow = QtGui.QMainWindow()
1528 ui = Ui_BasicWindow()
1533 ui = Ui_BasicWindow()
1529 ui.setupUi(MainWindow)
1534 ui.setupUi(MainWindow)
1530 MainWindow.show()
1535 MainWindow.show()
1531 sys.exit(app.exec_())
1536 sys.exit(app.exec_())
1532
1537
@@ -1,1326 +1,1326
1 '''
1 '''
2 Created on Jul 9, 2014
2 Created on Jul 9, 2014
3
3
4 @author: roj-idl71
4 @author: roj-idl71
5 '''
5 '''
6 import os
6 import os
7 import datetime
7 import datetime
8 import numpy
8 import numpy
9
9
10 from figure import Figure, isRealtime
10 from figure import Figure, isRealtime
11 from plotting_codes import *
11 from plotting_codes import *
12
12
13 class SpectraPlot(Figure):
13 class SpectraPlot(Figure):
14
14
15 isConfig = None
15 isConfig = None
16 __nsubplots = None
16 __nsubplots = None
17
17
18 WIDTHPROF = None
18 WIDTHPROF = None
19 HEIGHTPROF = None
19 HEIGHTPROF = None
20 PREFIX = 'spc'
20 PREFIX = 'spc'
21
21
22 def __init__(self):
22 def __init__(self):
23
23
24 self.isConfig = False
24 self.isConfig = False
25 self.__nsubplots = 1
25 self.__nsubplots = 1
26
26
27 self.WIDTH = 280
27 self.WIDTH = 280
28 self.HEIGHT = 250
28 self.HEIGHT = 250
29 self.WIDTHPROF = 120
29 self.WIDTHPROF = 120
30 self.HEIGHTPROF = 0
30 self.HEIGHTPROF = 0
31 self.counter_imagwr = 0
31 self.counter_imagwr = 0
32
32
33 self.PLOT_CODE = SPEC_CODE
33 self.PLOT_CODE = SPEC_CODE
34
34
35 self.FTP_WEI = None
35 self.FTP_WEI = None
36 self.EXP_CODE = None
36 self.EXP_CODE = None
37 self.SUB_EXP_CODE = None
37 self.SUB_EXP_CODE = None
38 self.PLOT_POS = None
38 self.PLOT_POS = None
39
39
40 self.__xfilter_ena = False
40 self.__xfilter_ena = False
41 self.__yfilter_ena = False
41 self.__yfilter_ena = False
42
42
43 def getSubplots(self):
43 def getSubplots(self):
44
44
45 ncol = int(numpy.sqrt(self.nplots)+0.9)
45 ncol = int(numpy.sqrt(self.nplots)+0.9)
46 nrow = int(self.nplots*1./ncol + 0.9)
46 nrow = int(self.nplots*1./ncol + 0.9)
47
47
48 return nrow, ncol
48 return nrow, ncol
49
49
50 def setup(self, id, nplots, wintitle, showprofile=True, show=True):
50 def setup(self, id, nplots, wintitle, showprofile=True, show=True):
51
51
52 self.__showprofile = showprofile
52 self.__showprofile = showprofile
53 self.nplots = nplots
53 self.nplots = nplots
54
54
55 ncolspan = 1
55 ncolspan = 1
56 colspan = 1
56 colspan = 1
57 if showprofile:
57 if showprofile:
58 ncolspan = 3
58 ncolspan = 3
59 colspan = 2
59 colspan = 2
60 self.__nsubplots = 2
60 self.__nsubplots = 2
61
61
62 self.createFigure(id = id,
62 self.createFigure(id = id,
63 wintitle = wintitle,
63 wintitle = wintitle,
64 widthplot = self.WIDTH + self.WIDTHPROF,
64 widthplot = self.WIDTH + self.WIDTHPROF,
65 heightplot = self.HEIGHT + self.HEIGHTPROF,
65 heightplot = self.HEIGHT + self.HEIGHTPROF,
66 show=show)
66 show=show)
67
67
68 nrow, ncol = self.getSubplots()
68 nrow, ncol = self.getSubplots()
69
69
70 counter = 0
70 counter = 0
71 for y in range(nrow):
71 for y in range(nrow):
72 for x in range(ncol):
72 for x in range(ncol):
73
73
74 if counter >= self.nplots:
74 if counter >= self.nplots:
75 break
75 break
76
76
77 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan, colspan, 1)
77 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan, colspan, 1)
78
78
79 if showprofile:
79 if showprofile:
80 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan+colspan, 1, 1)
80 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan+colspan, 1, 1)
81
81
82 counter += 1
82 counter += 1
83
83
84 def run(self, dataOut, id, wintitle="", channelList=None, showprofile=True,
84 def run(self, dataOut, id, wintitle="", channelList=None, showprofile=True,
85 xmin=None, xmax=None, ymin=None, ymax=None, zmin=None, zmax=None,
85 xmin=None, xmax=None, ymin=None, ymax=None, zmin=None, zmax=None,
86 save=False, figpath='./', figfile=None, show=True, ftp=False, wr_period=1,
86 save=False, figpath='./', figfile=None, show=True, ftp=False, wr_period=1,
87 server=None, folder=None, username=None, password=None,
87 server=None, folder=None, username=None, password=None,
88 ftp_wei=0, exp_code=0, sub_exp_code=0, plot_pos=0, realtime=False):
88 ftp_wei=0, exp_code=0, sub_exp_code=0, plot_pos=0, realtime=False):
89
89
90 """
90 """
91
91
92 Input:
92 Input:
93 dataOut :
93 dataOut :
94 id :
94 id :
95 wintitle :
95 wintitle :
96 channelList :
96 channelList :
97 showProfile :
97 showProfile :
98 xmin : None,
98 xmin : None,
99 xmax : None,
99 xmax : None,
100 ymin : None,
100 ymin : None,
101 ymax : None,
101 ymax : None,
102 zmin : None,
102 zmin : None,
103 zmax : None
103 zmax : None
104 """
104 """
105
105
106 if realtime:
106 if realtime:
107 if not(isRealtime(utcdatatime = dataOut.utctime)):
107 if not(isRealtime(utcdatatime = dataOut.utctime)):
108 print 'Skipping this plot function'
108 print 'Skipping this plot function'
109 return
109 return
110
110
111 if channelList == None:
111 if channelList == None:
112 channelIndexList = dataOut.channelIndexList
112 channelIndexList = dataOut.channelIndexList
113 else:
113 else:
114 channelIndexList = []
114 channelIndexList = []
115 for channel in channelList:
115 for channel in channelList:
116 if channel not in dataOut.channelList:
116 if channel not in dataOut.channelList:
117 raise ValueError, "Channel %d is not in dataOut.channelList"
117 raise ValueError, "Channel %d is not in dataOut.channelList"
118 channelIndexList.append(dataOut.channelList.index(channel))
118 channelIndexList.append(dataOut.channelList.index(channel))
119
119
120 factor = dataOut.normFactor
120 factor = dataOut.normFactor
121
121
122 x = dataOut.getVelRange(1)
122 x = dataOut.getVelRange(1)
123 y = dataOut.getHeiRange()
123 y = dataOut.getHeiRange()
124
124
125 z = dataOut.data_spc[channelIndexList,:,:]/factor
125 z = dataOut.data_spc[channelIndexList,:,:]/factor
126 z = numpy.where(numpy.isfinite(z), z, numpy.NAN)
126 z = numpy.where(numpy.isfinite(z), z, numpy.NAN)
127 zdB = 10*numpy.log10(z)
127 zdB = 10*numpy.log10(z)
128
128
129 avg = numpy.nanmean(z, axis=1)
129 avg = numpy.average(z, axis=1)
130 avgdB = 10*numpy.log10(avg)
130 avgdB = 10*numpy.log10(avg)
131
131
132 noise = dataOut.getNoise()/factor
132 noise = dataOut.getNoise()/factor
133 noisedB = 10*numpy.log10(noise)
133 noisedB = 10*numpy.log10(noise)
134
134
135 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
135 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
136 title = wintitle + " Spectra"
136 title = wintitle + " Spectra"
137 if ((dataOut.azimuth!=None) and (dataOut.zenith!=None)):
137 if ((dataOut.azimuth!=None) and (dataOut.zenith!=None)):
138 title = title + '_' + 'azimuth,zenith=%2.2f,%2.2f'%(dataOut.azimuth, dataOut.zenith)
138 title = title + '_' + 'azimuth,zenith=%2.2f,%2.2f'%(dataOut.azimuth, dataOut.zenith)
139
139
140 xlabel = "Velocity (m/s)"
140 xlabel = "Velocity (m/s)"
141 ylabel = "Range (Km)"
141 ylabel = "Range (Km)"
142
142
143 if not self.isConfig:
143 if not self.isConfig:
144
144
145 nplots = len(channelIndexList)
145 nplots = len(channelIndexList)
146
146
147 self.setup(id=id,
147 self.setup(id=id,
148 nplots=nplots,
148 nplots=nplots,
149 wintitle=wintitle,
149 wintitle=wintitle,
150 showprofile=showprofile,
150 showprofile=showprofile,
151 show=show)
151 show=show)
152
152
153 if xmin == None: xmin = numpy.nanmin(x)
153 if xmin == None: xmin = numpy.nanmin(x)
154 if xmax == None: xmax = numpy.nanmax(x)
154 if xmax == None: xmax = numpy.nanmax(x)
155 if ymin == None: ymin = numpy.nanmin(y)
155 if ymin == None: ymin = numpy.nanmin(y)
156 if ymax == None: ymax = numpy.nanmax(y)
156 if ymax == None: ymax = numpy.nanmax(y)
157 if zmin == None: zmin = numpy.floor(numpy.nanmin(noisedB)) - 3
157 if zmin == None: zmin = numpy.floor(numpy.nanmin(noisedB)) - 3
158 if zmax == None: zmax = numpy.ceil(numpy.nanmax(avgdB)) + 3
158 if zmax == None: zmax = numpy.ceil(numpy.nanmax(avgdB)) + 3
159
159
160 self.FTP_WEI = ftp_wei
160 self.FTP_WEI = ftp_wei
161 self.EXP_CODE = exp_code
161 self.EXP_CODE = exp_code
162 self.SUB_EXP_CODE = sub_exp_code
162 self.SUB_EXP_CODE = sub_exp_code
163 self.PLOT_POS = plot_pos
163 self.PLOT_POS = plot_pos
164
164
165 self.isConfig = True
165 self.isConfig = True
166
166
167 self.setWinTitle(title)
167 self.setWinTitle(title)
168
168
169 for i in range(self.nplots):
169 for i in range(self.nplots):
170 str_datetime = '%s %s'%(thisDatetime.strftime("%Y/%m/%d"),thisDatetime.strftime("%H:%M:%S"))
170 str_datetime = '%s %s'%(thisDatetime.strftime("%Y/%m/%d"),thisDatetime.strftime("%H:%M:%S"))
171 title = "Channel %d: %4.2fdB: %s" %(dataOut.channelList[i]+1, noisedB[i], str_datetime)
171 title = "Channel %d: %4.2fdB: %s" %(dataOut.channelList[i]+1, noisedB[i], str_datetime)
172 if len(dataOut.beam.codeList) != 0:
172 if len(dataOut.beam.codeList) != 0:
173 title = "Ch%d:%4.2fdB,%2.2f,%2.2f:%s" %(dataOut.channelList[i]+1, noisedB[i], dataOut.beam.azimuthList[i], dataOut.beam.zenithList[i], str_datetime)
173 title = "Ch%d:%4.2fdB,%2.2f,%2.2f:%s" %(dataOut.channelList[i]+1, noisedB[i], dataOut.beam.azimuthList[i], dataOut.beam.zenithList[i], str_datetime)
174
174
175 axes = self.axesList[i*self.__nsubplots]
175 axes = self.axesList[i*self.__nsubplots]
176 axes.pcolor(x, y, zdB[i,:,:],
176 axes.pcolor(x, y, zdB[i,:,:],
177 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax, zmin=zmin, zmax=zmax,
177 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax, zmin=zmin, zmax=zmax,
178 xlabel=xlabel, ylabel=ylabel, title=title,
178 xlabel=xlabel, ylabel=ylabel, title=title,
179 ticksize=9, cblabel='')
179 ticksize=9, cblabel='')
180
180
181 if self.__showprofile:
181 if self.__showprofile:
182 axes = self.axesList[i*self.__nsubplots +1]
182 axes = self.axesList[i*self.__nsubplots +1]
183 axes.pline(avgdB[i,:], y,
183 axes.pline(avgdB[i,:], y,
184 xmin=zmin, xmax=zmax, ymin=ymin, ymax=ymax,
184 xmin=zmin, xmax=zmax, ymin=ymin, ymax=ymax,
185 xlabel='dB', ylabel='', title='',
185 xlabel='dB', ylabel='', title='',
186 ytick_visible=False,
186 ytick_visible=False,
187 grid='x')
187 grid='x')
188
188
189 noiseline = numpy.repeat(noisedB[i], len(y))
189 noiseline = numpy.repeat(noisedB[i], len(y))
190 axes.addpline(noiseline, y, idline=1, color="black", linestyle="dashed", lw=2)
190 axes.addpline(noiseline, y, idline=1, color="black", linestyle="dashed", lw=2)
191
191
192 self.draw()
192 self.draw()
193
193
194 if figfile == None:
194 if figfile == None:
195 str_datetime = thisDatetime.strftime("%Y%m%d_%H%M%S")
195 str_datetime = thisDatetime.strftime("%Y%m%d_%H%M%S")
196 name = str_datetime
196 name = str_datetime
197 if ((dataOut.azimuth!=None) and (dataOut.zenith!=None)):
197 if ((dataOut.azimuth!=None) and (dataOut.zenith!=None)):
198 name = name + '_az' + '_%2.2f'%(dataOut.azimuth) + '_zn' + '_%2.2f'%(dataOut.zenith)
198 name = name + '_az' + '_%2.2f'%(dataOut.azimuth) + '_zn' + '_%2.2f'%(dataOut.zenith)
199 figfile = self.getFilename(name)
199 figfile = self.getFilename(name)
200
200
201 self.save(figpath=figpath,
201 self.save(figpath=figpath,
202 figfile=figfile,
202 figfile=figfile,
203 save=save,
203 save=save,
204 ftp=ftp,
204 ftp=ftp,
205 wr_period=wr_period,
205 wr_period=wr_period,
206 thisDatetime=thisDatetime)
206 thisDatetime=thisDatetime)
207
207
208 class CrossSpectraPlot(Figure):
208 class CrossSpectraPlot(Figure):
209
209
210 isConfig = None
210 isConfig = None
211 __nsubplots = None
211 __nsubplots = None
212
212
213 WIDTH = None
213 WIDTH = None
214 HEIGHT = None
214 HEIGHT = None
215 WIDTHPROF = None
215 WIDTHPROF = None
216 HEIGHTPROF = None
216 HEIGHTPROF = None
217 PREFIX = 'cspc'
217 PREFIX = 'cspc'
218
218
219 def __init__(self):
219 def __init__(self):
220
220
221 self.isConfig = False
221 self.isConfig = False
222 self.__nsubplots = 4
222 self.__nsubplots = 4
223 self.counter_imagwr = 0
223 self.counter_imagwr = 0
224 self.WIDTH = 250
224 self.WIDTH = 250
225 self.HEIGHT = 250
225 self.HEIGHT = 250
226 self.WIDTHPROF = 0
226 self.WIDTHPROF = 0
227 self.HEIGHTPROF = 0
227 self.HEIGHTPROF = 0
228
228
229 self.PLOT_CODE = CROSS_CODE
229 self.PLOT_CODE = CROSS_CODE
230 self.FTP_WEI = None
230 self.FTP_WEI = None
231 self.EXP_CODE = None
231 self.EXP_CODE = None
232 self.SUB_EXP_CODE = None
232 self.SUB_EXP_CODE = None
233 self.PLOT_POS = None
233 self.PLOT_POS = None
234
234
235 def getSubplots(self):
235 def getSubplots(self):
236
236
237 ncol = 4
237 ncol = 4
238 nrow = self.nplots
238 nrow = self.nplots
239
239
240 return nrow, ncol
240 return nrow, ncol
241
241
242 def setup(self, id, nplots, wintitle, showprofile=True, show=True):
242 def setup(self, id, nplots, wintitle, showprofile=True, show=True):
243
243
244 self.__showprofile = showprofile
244 self.__showprofile = showprofile
245 self.nplots = nplots
245 self.nplots = nplots
246
246
247 ncolspan = 1
247 ncolspan = 1
248 colspan = 1
248 colspan = 1
249
249
250 self.createFigure(id = id,
250 self.createFigure(id = id,
251 wintitle = wintitle,
251 wintitle = wintitle,
252 widthplot = self.WIDTH + self.WIDTHPROF,
252 widthplot = self.WIDTH + self.WIDTHPROF,
253 heightplot = self.HEIGHT + self.HEIGHTPROF,
253 heightplot = self.HEIGHT + self.HEIGHTPROF,
254 show=True)
254 show=True)
255
255
256 nrow, ncol = self.getSubplots()
256 nrow, ncol = self.getSubplots()
257
257
258 counter = 0
258 counter = 0
259 for y in range(nrow):
259 for y in range(nrow):
260 for x in range(ncol):
260 for x in range(ncol):
261 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan, colspan, 1)
261 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan, colspan, 1)
262
262
263 counter += 1
263 counter += 1
264
264
265 def run(self, dataOut, id, wintitle="", pairsList=None,
265 def run(self, dataOut, id, wintitle="", pairsList=None,
266 xmin=None, xmax=None, ymin=None, ymax=None, zmin=None, zmax=None,
266 xmin=None, xmax=None, ymin=None, ymax=None, zmin=None, zmax=None,
267 save=False, figpath='./', figfile=None, ftp=False, wr_period=1,
267 save=False, figpath='./', figfile=None, ftp=False, wr_period=1,
268 power_cmap='jet', coherence_cmap='jet', phase_cmap='RdBu_r', show=True,
268 power_cmap='jet', coherence_cmap='jet', phase_cmap='RdBu_r', show=True,
269 server=None, folder=None, username=None, password=None,
269 server=None, folder=None, username=None, password=None,
270 ftp_wei=0, exp_code=0, sub_exp_code=0, plot_pos=0):
270 ftp_wei=0, exp_code=0, sub_exp_code=0, plot_pos=0):
271
271
272 """
272 """
273
273
274 Input:
274 Input:
275 dataOut :
275 dataOut :
276 id :
276 id :
277 wintitle :
277 wintitle :
278 channelList :
278 channelList :
279 showProfile :
279 showProfile :
280 xmin : None,
280 xmin : None,
281 xmax : None,
281 xmax : None,
282 ymin : None,
282 ymin : None,
283 ymax : None,
283 ymax : None,
284 zmin : None,
284 zmin : None,
285 zmax : None
285 zmax : None
286 """
286 """
287
287
288 if pairsList == None:
288 if pairsList == None:
289 pairsIndexList = dataOut.pairsIndexList
289 pairsIndexList = dataOut.pairsIndexList
290 else:
290 else:
291 pairsIndexList = []
291 pairsIndexList = []
292 for pair in pairsList:
292 for pair in pairsList:
293 if pair not in dataOut.pairsList:
293 if pair not in dataOut.pairsList:
294 raise ValueError, "Pair %s is not in dataOut.pairsList" %str(pair)
294 raise ValueError, "Pair %s is not in dataOut.pairsList" %str(pair)
295 pairsIndexList.append(dataOut.pairsList.index(pair))
295 pairsIndexList.append(dataOut.pairsList.index(pair))
296
296
297 if pairsIndexList == []:
297 if pairsIndexList == []:
298 return
298 return
299
299
300 if len(pairsIndexList) > 4:
300 if len(pairsIndexList) > 4:
301 pairsIndexList = pairsIndexList[0:4]
301 pairsIndexList = pairsIndexList[0:4]
302 factor = dataOut.normFactor
302 factor = dataOut.normFactor
303 x = dataOut.getVelRange(1)
303 x = dataOut.getVelRange(1)
304 y = dataOut.getHeiRange()
304 y = dataOut.getHeiRange()
305 z = dataOut.data_spc[:,:,:]/factor
305 z = dataOut.data_spc[:,:,:]/factor
306 z = numpy.where(numpy.isfinite(z), z, numpy.NAN)
306 z = numpy.where(numpy.isfinite(z), z, numpy.NAN)
307
307
308 noise = dataOut.noise/factor
308 noise = dataOut.noise/factor
309
309
310 zdB = 10*numpy.log10(z)
310 zdB = 10*numpy.log10(z)
311 noisedB = 10*numpy.log10(noise)
311 noisedB = 10*numpy.log10(noise)
312
312
313
313
314 #thisDatetime = dataOut.datatime
314 #thisDatetime = dataOut.datatime
315 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
315 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
316 title = wintitle + " Cross-Spectra: %s" %(thisDatetime.strftime("%d-%b-%Y %H:%M:%S"))
316 title = wintitle + " Cross-Spectra: %s" %(thisDatetime.strftime("%d-%b-%Y %H:%M:%S"))
317 xlabel = "Velocity (m/s)"
317 xlabel = "Velocity (m/s)"
318 ylabel = "Range (Km)"
318 ylabel = "Range (Km)"
319
319
320 if not self.isConfig:
320 if not self.isConfig:
321
321
322 nplots = len(pairsIndexList)
322 nplots = len(pairsIndexList)
323
323
324 self.setup(id=id,
324 self.setup(id=id,
325 nplots=nplots,
325 nplots=nplots,
326 wintitle=wintitle,
326 wintitle=wintitle,
327 showprofile=False,
327 showprofile=False,
328 show=show)
328 show=show)
329
329
330 avg = numpy.abs(numpy.average(z, axis=1))
330 avg = numpy.abs(numpy.average(z, axis=1))
331 avgdB = 10*numpy.log10(avg)
331 avgdB = 10*numpy.log10(avg)
332
332
333 if xmin == None: xmin = numpy.nanmin(x)
333 if xmin == None: xmin = numpy.nanmin(x)
334 if xmax == None: xmax = numpy.nanmax(x)
334 if xmax == None: xmax = numpy.nanmax(x)
335 if ymin == None: ymin = numpy.nanmin(y)
335 if ymin == None: ymin = numpy.nanmin(y)
336 if ymax == None: ymax = numpy.nanmax(y)
336 if ymax == None: ymax = numpy.nanmax(y)
337 if zmin == None: zmin = numpy.floor(numpy.nanmin(noisedB)) - 3
337 if zmin == None: zmin = numpy.floor(numpy.nanmin(noisedB)) - 3
338 if zmax == None: zmax = numpy.ceil(numpy.nanmax(avgdB)) + 3
338 if zmax == None: zmax = numpy.ceil(numpy.nanmax(avgdB)) + 3
339
339
340 self.FTP_WEI = ftp_wei
340 self.FTP_WEI = ftp_wei
341 self.EXP_CODE = exp_code
341 self.EXP_CODE = exp_code
342 self.SUB_EXP_CODE = sub_exp_code
342 self.SUB_EXP_CODE = sub_exp_code
343 self.PLOT_POS = plot_pos
343 self.PLOT_POS = plot_pos
344
344
345 self.isConfig = True
345 self.isConfig = True
346
346
347 self.setWinTitle(title)
347 self.setWinTitle(title)
348
348
349 for i in range(self.nplots):
349 for i in range(self.nplots):
350 pair = dataOut.pairsList[pairsIndexList[i]]
350 pair = dataOut.pairsList[pairsIndexList[i]]
351 str_datetime = '%s %s'%(thisDatetime.strftime("%Y/%m/%d"),thisDatetime.strftime("%H:%M:%S"))
351 str_datetime = '%s %s'%(thisDatetime.strftime("%Y/%m/%d"),thisDatetime.strftime("%H:%M:%S"))
352 title = "Ch%d: %4.2fdB: %s" %(pair[0], noisedB[pair[0]], str_datetime)
352 title = "Ch%d: %4.2fdB: %s" %(pair[0], noisedB[pair[0]], str_datetime)
353 zdB = 10.*numpy.log10(dataOut.data_spc[pair[0],:,:]/factor)
353 zdB = 10.*numpy.log10(dataOut.data_spc[pair[0],:,:]/factor)
354 axes0 = self.axesList[i*self.__nsubplots]
354 axes0 = self.axesList[i*self.__nsubplots]
355 axes0.pcolor(x, y, zdB,
355 axes0.pcolor(x, y, zdB,
356 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax, zmin=zmin, zmax=zmax,
356 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax, zmin=zmin, zmax=zmax,
357 xlabel=xlabel, ylabel=ylabel, title=title,
357 xlabel=xlabel, ylabel=ylabel, title=title,
358 ticksize=9, colormap=power_cmap, cblabel='')
358 ticksize=9, colormap=power_cmap, cblabel='')
359
359
360 title = "Ch%d: %4.2fdB: %s" %(pair[1], noisedB[pair[1]], str_datetime)
360 title = "Ch%d: %4.2fdB: %s" %(pair[1], noisedB[pair[1]], str_datetime)
361 zdB = 10.*numpy.log10(dataOut.data_spc[pair[1],:,:]/factor)
361 zdB = 10.*numpy.log10(dataOut.data_spc[pair[1],:,:]/factor)
362 axes0 = self.axesList[i*self.__nsubplots+1]
362 axes0 = self.axesList[i*self.__nsubplots+1]
363 axes0.pcolor(x, y, zdB,
363 axes0.pcolor(x, y, zdB,
364 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax, zmin=zmin, zmax=zmax,
364 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax, zmin=zmin, zmax=zmax,
365 xlabel=xlabel, ylabel=ylabel, title=title,
365 xlabel=xlabel, ylabel=ylabel, title=title,
366 ticksize=9, colormap=power_cmap, cblabel='')
366 ticksize=9, colormap=power_cmap, cblabel='')
367
367
368 coherenceComplex = dataOut.data_cspc[pairsIndexList[i],:,:]/numpy.sqrt(dataOut.data_spc[pair[0],:,:]*dataOut.data_spc[pair[1],:,:])
368 coherenceComplex = dataOut.data_cspc[pairsIndexList[i],:,:]/numpy.sqrt(dataOut.data_spc[pair[0],:,:]*dataOut.data_spc[pair[1],:,:])
369 coherence = numpy.abs(coherenceComplex)
369 coherence = numpy.abs(coherenceComplex)
370 # phase = numpy.arctan(-1*coherenceComplex.imag/coherenceComplex.real)*180/numpy.pi
370 # phase = numpy.arctan(-1*coherenceComplex.imag/coherenceComplex.real)*180/numpy.pi
371 phase = numpy.arctan2(coherenceComplex.imag, coherenceComplex.real)*180/numpy.pi
371 phase = numpy.arctan2(coherenceComplex.imag, coherenceComplex.real)*180/numpy.pi
372
372
373 title = "Coherence %d%d" %(pair[0], pair[1])
373 title = "Coherence %d%d" %(pair[0], pair[1])
374 axes0 = self.axesList[i*self.__nsubplots+2]
374 axes0 = self.axesList[i*self.__nsubplots+2]
375 axes0.pcolor(x, y, coherence,
375 axes0.pcolor(x, y, coherence,
376 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax, zmin=0, zmax=1,
376 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax, zmin=0, zmax=1,
377 xlabel=xlabel, ylabel=ylabel, title=title,
377 xlabel=xlabel, ylabel=ylabel, title=title,
378 ticksize=9, colormap=coherence_cmap, cblabel='')
378 ticksize=9, colormap=coherence_cmap, cblabel='')
379
379
380 title = "Phase %d%d" %(pair[0], pair[1])
380 title = "Phase %d%d" %(pair[0], pair[1])
381 axes0 = self.axesList[i*self.__nsubplots+3]
381 axes0 = self.axesList[i*self.__nsubplots+3]
382 axes0.pcolor(x, y, phase,
382 axes0.pcolor(x, y, phase,
383 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax, zmin=-180, zmax=180,
383 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax, zmin=-180, zmax=180,
384 xlabel=xlabel, ylabel=ylabel, title=title,
384 xlabel=xlabel, ylabel=ylabel, title=title,
385 ticksize=9, colormap=phase_cmap, cblabel='')
385 ticksize=9, colormap=phase_cmap, cblabel='')
386
386
387
387
388
388
389 self.draw()
389 self.draw()
390
390
391 self.save(figpath=figpath,
391 self.save(figpath=figpath,
392 figfile=figfile,
392 figfile=figfile,
393 save=save,
393 save=save,
394 ftp=ftp,
394 ftp=ftp,
395 wr_period=wr_period,
395 wr_period=wr_period,
396 thisDatetime=thisDatetime)
396 thisDatetime=thisDatetime)
397
397
398
398
399 class RTIPlot(Figure):
399 class RTIPlot(Figure):
400
400
401 __isConfig = None
401 __isConfig = None
402 __nsubplots = None
402 __nsubplots = None
403
403
404 WIDTHPROF = None
404 WIDTHPROF = None
405 HEIGHTPROF = None
405 HEIGHTPROF = None
406 PREFIX = 'rti'
406 PREFIX = 'rti'
407
407
408 def __init__(self):
408 def __init__(self):
409
409
410 self.timerange = None
410 self.timerange = None
411 self.__isConfig = False
411 self.__isConfig = False
412 self.__nsubplots = 1
412 self.__nsubplots = 1
413
413
414 self.WIDTH = 800
414 self.WIDTH = 800
415 self.HEIGHT = 150
415 self.HEIGHT = 150
416 self.WIDTHPROF = 120
416 self.WIDTHPROF = 120
417 self.HEIGHTPROF = 0
417 self.HEIGHTPROF = 0
418 self.counter_imagwr = 0
418 self.counter_imagwr = 0
419
419
420 self.PLOT_CODE = RTI_CODE
420 self.PLOT_CODE = RTI_CODE
421
421
422 self.FTP_WEI = None
422 self.FTP_WEI = None
423 self.EXP_CODE = None
423 self.EXP_CODE = None
424 self.SUB_EXP_CODE = None
424 self.SUB_EXP_CODE = None
425 self.PLOT_POS = None
425 self.PLOT_POS = None
426 self.tmin = None
426 self.tmin = None
427 self.tmax = None
427 self.tmax = None
428
428
429 self.xmin = None
429 self.xmin = None
430 self.xmax = None
430 self.xmax = None
431
431
432 self.figfile = None
432 self.figfile = None
433
433
434 def getSubplots(self):
434 def getSubplots(self):
435
435
436 ncol = 1
436 ncol = 1
437 nrow = self.nplots
437 nrow = self.nplots
438
438
439 return nrow, ncol
439 return nrow, ncol
440
440
441 def setup(self, id, nplots, wintitle, showprofile=True, show=True):
441 def setup(self, id, nplots, wintitle, showprofile=True, show=True):
442
442
443 self.__showprofile = showprofile
443 self.__showprofile = showprofile
444 self.nplots = nplots
444 self.nplots = nplots
445
445
446 ncolspan = 1
446 ncolspan = 1
447 colspan = 1
447 colspan = 1
448 if showprofile:
448 if showprofile:
449 ncolspan = 7
449 ncolspan = 7
450 colspan = 6
450 colspan = 6
451 self.__nsubplots = 2
451 self.__nsubplots = 2
452
452
453 self.createFigure(id = id,
453 self.createFigure(id = id,
454 wintitle = wintitle,
454 wintitle = wintitle,
455 widthplot = self.WIDTH + self.WIDTHPROF,
455 widthplot = self.WIDTH + self.WIDTHPROF,
456 heightplot = self.HEIGHT + self.HEIGHTPROF,
456 heightplot = self.HEIGHT + self.HEIGHTPROF,
457 show=show)
457 show=show)
458
458
459 nrow, ncol = self.getSubplots()
459 nrow, ncol = self.getSubplots()
460
460
461 counter = 0
461 counter = 0
462 for y in range(nrow):
462 for y in range(nrow):
463 for x in range(ncol):
463 for x in range(ncol):
464
464
465 if counter >= self.nplots:
465 if counter >= self.nplots:
466 break
466 break
467
467
468 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan, colspan, 1)
468 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan, colspan, 1)
469
469
470 if showprofile:
470 if showprofile:
471 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan+colspan, 1, 1)
471 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan+colspan, 1, 1)
472
472
473 counter += 1
473 counter += 1
474
474
475 def run(self, dataOut, id, wintitle="", channelList=None, showprofile='True',
475 def run(self, dataOut, id, wintitle="", channelList=None, showprofile='True',
476 xmin=None, xmax=None, ymin=None, ymax=None, zmin=None, zmax=None,
476 xmin=None, xmax=None, ymin=None, ymax=None, zmin=None, zmax=None,
477 timerange=None,
477 timerange=None,
478 save=False, figpath='./', lastone=0,figfile=None, ftp=False, wr_period=1, show=True,
478 save=False, figpath='./', lastone=0,figfile=None, ftp=False, wr_period=1, show=True,
479 server=None, folder=None, username=None, password=None,
479 server=None, folder=None, username=None, password=None,
480 ftp_wei=0, exp_code=0, sub_exp_code=0, plot_pos=0):
480 ftp_wei=0, exp_code=0, sub_exp_code=0, plot_pos=0):
481
481
482 """
482 """
483
483
484 Input:
484 Input:
485 dataOut :
485 dataOut :
486 id :
486 id :
487 wintitle :
487 wintitle :
488 channelList :
488 channelList :
489 showProfile :
489 showProfile :
490 xmin : None,
490 xmin : None,
491 xmax : None,
491 xmax : None,
492 ymin : None,
492 ymin : None,
493 ymax : None,
493 ymax : None,
494 zmin : None,
494 zmin : None,
495 zmax : None
495 zmax : None
496 """
496 """
497
497
498 if channelList == None:
498 if channelList == None:
499 channelIndexList = dataOut.channelIndexList
499 channelIndexList = dataOut.channelIndexList
500 else:
500 else:
501 channelIndexList = []
501 channelIndexList = []
502 for channel in channelList:
502 for channel in channelList:
503 if channel not in dataOut.channelList:
503 if channel not in dataOut.channelList:
504 raise ValueError, "Channel %d is not in dataOut.channelList"
504 raise ValueError, "Channel %d is not in dataOut.channelList"
505 channelIndexList.append(dataOut.channelList.index(channel))
505 channelIndexList.append(dataOut.channelList.index(channel))
506
506
507 # if timerange != None:
507 # if timerange != None:
508 # self.timerange = timerange
508 # self.timerange = timerange
509
509
510 #tmin = None
510 #tmin = None
511 #tmax = None
511 #tmax = None
512 factor = dataOut.normFactor
512 factor = dataOut.normFactor
513 x = dataOut.getTimeRange()
513 x = dataOut.getTimeRange()
514 y = dataOut.getHeiRange()
514 y = dataOut.getHeiRange()
515
515
516 z = dataOut.data_spc[channelIndexList,:,:]/factor
516 z = dataOut.data_spc[channelIndexList,:,:]/factor
517 z = numpy.where(numpy.isfinite(z), z, numpy.NAN)
517 z = numpy.where(numpy.isfinite(z), z, numpy.NAN)
518 avg = numpy.average(z, axis=1)
518 avg = numpy.average(z, axis=1)
519
519
520 avgdB = 10.*numpy.log10(avg)
520 avgdB = 10.*numpy.log10(avg)
521
521
522
522
523 # thisDatetime = dataOut.datatime
523 # thisDatetime = dataOut.datatime
524 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
524 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
525 title = wintitle + " RTI" #: %s" %(thisDatetime.strftime("%d-%b-%Y"))
525 title = wintitle + " RTI" #: %s" %(thisDatetime.strftime("%d-%b-%Y"))
526 xlabel = ""
526 xlabel = ""
527 ylabel = "Range (Km)"
527 ylabel = "Range (Km)"
528
528
529 if not self.__isConfig:
529 if not self.__isConfig:
530
530
531 nplots = len(channelIndexList)
531 nplots = len(channelIndexList)
532
532
533 self.setup(id=id,
533 self.setup(id=id,
534 nplots=nplots,
534 nplots=nplots,
535 wintitle=wintitle,
535 wintitle=wintitle,
536 showprofile=showprofile,
536 showprofile=showprofile,
537 show=show)
537 show=show)
538
538
539 if timerange != None:
539 if timerange != None:
540 self.timerange = timerange
540 self.timerange = timerange
541
541
542 self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange)
542 self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange)
543
543
544 noise = dataOut.noise/factor
544 noise = dataOut.noise/factor
545 noisedB = 10*numpy.log10(noise)
545 noisedB = 10*numpy.log10(noise)
546
546
547 if ymin == None: ymin = numpy.nanmin(y)
547 if ymin == None: ymin = numpy.nanmin(y)
548 if ymax == None: ymax = numpy.nanmax(y)
548 if ymax == None: ymax = numpy.nanmax(y)
549 if zmin == None: zmin = numpy.floor(numpy.nanmin(noisedB)) - 3
549 if zmin == None: zmin = numpy.floor(numpy.nanmin(noisedB)) - 3
550 if zmax == None: zmax = numpy.ceil(numpy.nanmax(avgdB)) + 3
550 if zmax == None: zmax = numpy.ceil(numpy.nanmax(avgdB)) + 3
551
551
552 self.FTP_WEI = ftp_wei
552 self.FTP_WEI = ftp_wei
553 self.EXP_CODE = exp_code
553 self.EXP_CODE = exp_code
554 self.SUB_EXP_CODE = sub_exp_code
554 self.SUB_EXP_CODE = sub_exp_code
555 self.PLOT_POS = plot_pos
555 self.PLOT_POS = plot_pos
556
556
557 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
557 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
558 self.__isConfig = True
558 self.__isConfig = True
559 self.figfile = figfile
559 self.figfile = figfile
560
560
561 self.setWinTitle(title)
561 self.setWinTitle(title)
562
562
563 if ((self.xmax - x[1]) < (x[1]-x[0])):
563 if ((self.xmax - x[1]) < (x[1]-x[0])):
564 x[1] = self.xmax
564 x[1] = self.xmax
565
565
566 for i in range(self.nplots):
566 for i in range(self.nplots):
567 title = "Channel %d: %s" %(dataOut.channelList[i]+1, thisDatetime.strftime("%Y/%m/%d %H:%M:%S"))
567 title = "Channel %d: %s" %(dataOut.channelList[i]+1, thisDatetime.strftime("%Y/%m/%d %H:%M:%S"))
568 if ((dataOut.azimuth!=None) and (dataOut.zenith!=None)):
568 if ((dataOut.azimuth!=None) and (dataOut.zenith!=None)):
569 title = title + '_' + 'azimuth,zenith=%2.2f,%2.2f'%(dataOut.azimuth, dataOut.zenith)
569 title = title + '_' + 'azimuth,zenith=%2.2f,%2.2f'%(dataOut.azimuth, dataOut.zenith)
570 axes = self.axesList[i*self.__nsubplots]
570 axes = self.axesList[i*self.__nsubplots]
571 zdB = avgdB[i].reshape((1,-1))
571 zdB = avgdB[i].reshape((1,-1))
572 axes.pcolorbuffer(x, y, zdB,
572 axes.pcolorbuffer(x, y, zdB,
573 xmin=self.xmin, xmax=self.xmax, ymin=ymin, ymax=ymax, zmin=zmin, zmax=zmax,
573 xmin=self.xmin, xmax=self.xmax, ymin=ymin, ymax=ymax, zmin=zmin, zmax=zmax,
574 xlabel=xlabel, ylabel=ylabel, title=title, rti=True, XAxisAsTime=True,
574 xlabel=xlabel, ylabel=ylabel, title=title, rti=True, XAxisAsTime=True,
575 ticksize=9, cblabel='', cbsize="1%")
575 ticksize=9, cblabel='', cbsize="1%")
576
576
577 if self.__showprofile:
577 if self.__showprofile:
578 axes = self.axesList[i*self.__nsubplots +1]
578 axes = self.axesList[i*self.__nsubplots +1]
579 axes.pline(avgdB[i], y,
579 axes.pline(avgdB[i], y,
580 xmin=zmin, xmax=zmax, ymin=ymin, ymax=ymax,
580 xmin=zmin, xmax=zmax, ymin=ymin, ymax=ymax,
581 xlabel='dB', ylabel='', title='',
581 xlabel='dB', ylabel='', title='',
582 ytick_visible=False,
582 ytick_visible=False,
583 grid='x')
583 grid='x')
584
584
585 self.draw()
585 self.draw()
586
586
587 if x[1] >= self.axesList[0].xmax:
587 if x[1] >= self.axesList[0].xmax:
588 self.counter_imagwr = wr_period
588 self.counter_imagwr = wr_period
589 self.__isConfig = False
589 self.__isConfig = False
590 self.figfile = None
590 self.figfile = None
591
591
592 self.save(figpath=figpath,
592 self.save(figpath=figpath,
593 figfile=figfile,
593 figfile=figfile,
594 save=save,
594 save=save,
595 ftp=ftp,
595 ftp=ftp,
596 wr_period=wr_period,
596 wr_period=wr_period,
597 thisDatetime=thisDatetime,
597 thisDatetime=thisDatetime,
598 update_figfile=False)
598 update_figfile=False)
599
599
600 class CoherenceMap(Figure):
600 class CoherenceMap(Figure):
601 isConfig = None
601 isConfig = None
602 __nsubplots = None
602 __nsubplots = None
603
603
604 WIDTHPROF = None
604 WIDTHPROF = None
605 HEIGHTPROF = None
605 HEIGHTPROF = None
606 PREFIX = 'cmap'
606 PREFIX = 'cmap'
607
607
608 def __init__(self):
608 def __init__(self):
609 self.timerange = 2*60*60
609 self.timerange = 2*60*60
610 self.isConfig = False
610 self.isConfig = False
611 self.__nsubplots = 1
611 self.__nsubplots = 1
612
612
613 self.WIDTH = 800
613 self.WIDTH = 800
614 self.HEIGHT = 150
614 self.HEIGHT = 150
615 self.WIDTHPROF = 120
615 self.WIDTHPROF = 120
616 self.HEIGHTPROF = 0
616 self.HEIGHTPROF = 0
617 self.counter_imagwr = 0
617 self.counter_imagwr = 0
618
618
619 self.PLOT_CODE = COH_CODE
619 self.PLOT_CODE = COH_CODE
620
620
621 self.FTP_WEI = None
621 self.FTP_WEI = None
622 self.EXP_CODE = None
622 self.EXP_CODE = None
623 self.SUB_EXP_CODE = None
623 self.SUB_EXP_CODE = None
624 self.PLOT_POS = None
624 self.PLOT_POS = None
625 self.counter_imagwr = 0
625 self.counter_imagwr = 0
626
626
627 self.xmin = None
627 self.xmin = None
628 self.xmax = None
628 self.xmax = None
629
629
630 def getSubplots(self):
630 def getSubplots(self):
631 ncol = 1
631 ncol = 1
632 nrow = self.nplots*2
632 nrow = self.nplots*2
633
633
634 return nrow, ncol
634 return nrow, ncol
635
635
636 def setup(self, id, nplots, wintitle, showprofile=True, show=True):
636 def setup(self, id, nplots, wintitle, showprofile=True, show=True):
637 self.__showprofile = showprofile
637 self.__showprofile = showprofile
638 self.nplots = nplots
638 self.nplots = nplots
639
639
640 ncolspan = 1
640 ncolspan = 1
641 colspan = 1
641 colspan = 1
642 if showprofile:
642 if showprofile:
643 ncolspan = 7
643 ncolspan = 7
644 colspan = 6
644 colspan = 6
645 self.__nsubplots = 2
645 self.__nsubplots = 2
646
646
647 self.createFigure(id = id,
647 self.createFigure(id = id,
648 wintitle = wintitle,
648 wintitle = wintitle,
649 widthplot = self.WIDTH + self.WIDTHPROF,
649 widthplot = self.WIDTH + self.WIDTHPROF,
650 heightplot = self.HEIGHT + self.HEIGHTPROF,
650 heightplot = self.HEIGHT + self.HEIGHTPROF,
651 show=True)
651 show=True)
652
652
653 nrow, ncol = self.getSubplots()
653 nrow, ncol = self.getSubplots()
654
654
655 for y in range(nrow):
655 for y in range(nrow):
656 for x in range(ncol):
656 for x in range(ncol):
657
657
658 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan, colspan, 1)
658 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan, colspan, 1)
659
659
660 if showprofile:
660 if showprofile:
661 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan+colspan, 1, 1)
661 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan+colspan, 1, 1)
662
662
663 def run(self, dataOut, id, wintitle="", pairsList=None, showprofile='True',
663 def run(self, dataOut, id, wintitle="", pairsList=None, showprofile='True',
664 xmin=None, xmax=None, ymin=None, ymax=None, zmin=None, zmax=None,
664 xmin=None, xmax=None, ymin=None, ymax=None, zmin=None, zmax=None,
665 timerange=None,
665 timerange=None,
666 save=False, figpath='./', figfile=None, ftp=False, wr_period=1,
666 save=False, figpath='./', figfile=None, ftp=False, wr_period=1,
667 coherence_cmap='jet', phase_cmap='RdBu_r', show=True,
667 coherence_cmap='jet', phase_cmap='RdBu_r', show=True,
668 server=None, folder=None, username=None, password=None,
668 server=None, folder=None, username=None, password=None,
669 ftp_wei=0, exp_code=0, sub_exp_code=0, plot_pos=0):
669 ftp_wei=0, exp_code=0, sub_exp_code=0, plot_pos=0):
670
670
671 if pairsList == None:
671 if pairsList == None:
672 pairsIndexList = dataOut.pairsIndexList
672 pairsIndexList = dataOut.pairsIndexList
673 else:
673 else:
674 pairsIndexList = []
674 pairsIndexList = []
675 for pair in pairsList:
675 for pair in pairsList:
676 if pair not in dataOut.pairsList:
676 if pair not in dataOut.pairsList:
677 raise ValueError, "Pair %s is not in dataOut.pairsList" %(pair)
677 raise ValueError, "Pair %s is not in dataOut.pairsList" %(pair)
678 pairsIndexList.append(dataOut.pairsList.index(pair))
678 pairsIndexList.append(dataOut.pairsList.index(pair))
679
679
680 if pairsIndexList == []:
680 if pairsIndexList == []:
681 return
681 return
682
682
683 if len(pairsIndexList) > 4:
683 if len(pairsIndexList) > 4:
684 pairsIndexList = pairsIndexList[0:4]
684 pairsIndexList = pairsIndexList[0:4]
685
685
686 # tmin = None
686 # tmin = None
687 # tmax = None
687 # tmax = None
688 x = dataOut.getTimeRange()
688 x = dataOut.getTimeRange()
689 y = dataOut.getHeiRange()
689 y = dataOut.getHeiRange()
690
690
691 #thisDatetime = dataOut.datatime
691 #thisDatetime = dataOut.datatime
692 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
692 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
693 title = wintitle + " CoherenceMap" #: %s" %(thisDatetime.strftime("%d-%b-%Y"))
693 title = wintitle + " CoherenceMap" #: %s" %(thisDatetime.strftime("%d-%b-%Y"))
694 xlabel = ""
694 xlabel = ""
695 ylabel = "Range (Km)"
695 ylabel = "Range (Km)"
696
696
697 if not self.isConfig:
697 if not self.isConfig:
698 nplots = len(pairsIndexList)
698 nplots = len(pairsIndexList)
699 self.setup(id=id,
699 self.setup(id=id,
700 nplots=nplots,
700 nplots=nplots,
701 wintitle=wintitle,
701 wintitle=wintitle,
702 showprofile=showprofile,
702 showprofile=showprofile,
703 show=show)
703 show=show)
704
704
705 if timerange != None:
705 if timerange != None:
706 self.timerange = timerange
706 self.timerange = timerange
707
707
708 self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange)
708 self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange)
709
709
710 if ymin == None: ymin = numpy.nanmin(y)
710 if ymin == None: ymin = numpy.nanmin(y)
711 if ymax == None: ymax = numpy.nanmax(y)
711 if ymax == None: ymax = numpy.nanmax(y)
712 if zmin == None: zmin = 0.
712 if zmin == None: zmin = 0.
713 if zmax == None: zmax = 1.
713 if zmax == None: zmax = 1.
714
714
715 self.FTP_WEI = ftp_wei
715 self.FTP_WEI = ftp_wei
716 self.EXP_CODE = exp_code
716 self.EXP_CODE = exp_code
717 self.SUB_EXP_CODE = sub_exp_code
717 self.SUB_EXP_CODE = sub_exp_code
718 self.PLOT_POS = plot_pos
718 self.PLOT_POS = plot_pos
719
719
720 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
720 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
721
721
722 self.isConfig = True
722 self.isConfig = True
723
723
724 self.setWinTitle(title)
724 self.setWinTitle(title)
725
725
726 if ((self.xmax - x[1]) < (x[1]-x[0])):
726 if ((self.xmax - x[1]) < (x[1]-x[0])):
727 x[1] = self.xmax
727 x[1] = self.xmax
728
728
729 for i in range(self.nplots):
729 for i in range(self.nplots):
730
730
731 pair = dataOut.pairsList[pairsIndexList[i]]
731 pair = dataOut.pairsList[pairsIndexList[i]]
732
732
733 ccf = numpy.average(dataOut.data_cspc[pairsIndexList[i],:,:],axis=0)
733 ccf = numpy.average(dataOut.data_cspc[pairsIndexList[i],:,:],axis=0)
734 powa = numpy.average(dataOut.data_spc[pair[0],:,:],axis=0)
734 powa = numpy.average(dataOut.data_spc[pair[0],:,:],axis=0)
735 powb = numpy.average(dataOut.data_spc[pair[1],:,:],axis=0)
735 powb = numpy.average(dataOut.data_spc[pair[1],:,:],axis=0)
736
736
737
737
738 avgcoherenceComplex = ccf/numpy.sqrt(powa*powb)
738 avgcoherenceComplex = ccf/numpy.sqrt(powa*powb)
739 coherence = numpy.abs(avgcoherenceComplex)
739 coherence = numpy.abs(avgcoherenceComplex)
740
740
741 z = coherence.reshape((1,-1))
741 z = coherence.reshape((1,-1))
742
742
743 counter = 0
743 counter = 0
744
744
745 title = "Coherence %d%d: %s" %(pair[0], pair[1], thisDatetime.strftime("%d-%b-%Y %H:%M:%S"))
745 title = "Coherence %d%d: %s" %(pair[0], pair[1], thisDatetime.strftime("%d-%b-%Y %H:%M:%S"))
746 axes = self.axesList[i*self.__nsubplots*2]
746 axes = self.axesList[i*self.__nsubplots*2]
747 axes.pcolorbuffer(x, y, z,
747 axes.pcolorbuffer(x, y, z,
748 xmin=self.xmin, xmax=self.xmax, ymin=ymin, ymax=ymax, zmin=zmin, zmax=zmax,
748 xmin=self.xmin, xmax=self.xmax, ymin=ymin, ymax=ymax, zmin=zmin, zmax=zmax,
749 xlabel=xlabel, ylabel=ylabel, title=title, rti=True, XAxisAsTime=True,
749 xlabel=xlabel, ylabel=ylabel, title=title, rti=True, XAxisAsTime=True,
750 ticksize=9, cblabel='', colormap=coherence_cmap, cbsize="1%")
750 ticksize=9, cblabel='', colormap=coherence_cmap, cbsize="1%")
751
751
752 if self.__showprofile:
752 if self.__showprofile:
753 counter += 1
753 counter += 1
754 axes = self.axesList[i*self.__nsubplots*2 + counter]
754 axes = self.axesList[i*self.__nsubplots*2 + counter]
755 axes.pline(coherence, y,
755 axes.pline(coherence, y,
756 xmin=zmin, xmax=zmax, ymin=ymin, ymax=ymax,
756 xmin=zmin, xmax=zmax, ymin=ymin, ymax=ymax,
757 xlabel='', ylabel='', title='', ticksize=7,
757 xlabel='', ylabel='', title='', ticksize=7,
758 ytick_visible=False, nxticks=5,
758 ytick_visible=False, nxticks=5,
759 grid='x')
759 grid='x')
760
760
761 counter += 1
761 counter += 1
762
762
763 phase = numpy.arctan2(avgcoherenceComplex.imag, avgcoherenceComplex.real)*180/numpy.pi
763 phase = numpy.arctan2(avgcoherenceComplex.imag, avgcoherenceComplex.real)*180/numpy.pi
764
764
765 z = phase.reshape((1,-1))
765 z = phase.reshape((1,-1))
766
766
767 title = "Phase %d%d: %s" %(pair[0], pair[1], thisDatetime.strftime("%d-%b-%Y %H:%M:%S"))
767 title = "Phase %d%d: %s" %(pair[0], pair[1], thisDatetime.strftime("%d-%b-%Y %H:%M:%S"))
768 axes = self.axesList[i*self.__nsubplots*2 + counter]
768 axes = self.axesList[i*self.__nsubplots*2 + counter]
769 axes.pcolorbuffer(x, y, z,
769 axes.pcolorbuffer(x, y, z,
770 xmin=self.xmin, xmax=self.xmax, ymin=ymin, ymax=ymax, zmin=-180, zmax=180,
770 xmin=self.xmin, xmax=self.xmax, ymin=ymin, ymax=ymax, zmin=-180, zmax=180,
771 xlabel=xlabel, ylabel=ylabel, title=title, rti=True, XAxisAsTime=True,
771 xlabel=xlabel, ylabel=ylabel, title=title, rti=True, XAxisAsTime=True,
772 ticksize=9, cblabel='', colormap=phase_cmap, cbsize="1%")
772 ticksize=9, cblabel='', colormap=phase_cmap, cbsize="1%")
773
773
774 if self.__showprofile:
774 if self.__showprofile:
775 counter += 1
775 counter += 1
776 axes = self.axesList[i*self.__nsubplots*2 + counter]
776 axes = self.axesList[i*self.__nsubplots*2 + counter]
777 axes.pline(phase, y,
777 axes.pline(phase, y,
778 xmin=-180, xmax=180, ymin=ymin, ymax=ymax,
778 xmin=-180, xmax=180, ymin=ymin, ymax=ymax,
779 xlabel='', ylabel='', title='', ticksize=7,
779 xlabel='', ylabel='', title='', ticksize=7,
780 ytick_visible=False, nxticks=4,
780 ytick_visible=False, nxticks=4,
781 grid='x')
781 grid='x')
782
782
783 self.draw()
783 self.draw()
784
784
785 if x[1] >= self.axesList[0].xmax:
785 if x[1] >= self.axesList[0].xmax:
786 self.counter_imagwr = wr_period
786 self.counter_imagwr = wr_period
787 self.__isConfig = False
787 self.__isConfig = False
788 self.figfile = None
788 self.figfile = None
789
789
790 self.save(figpath=figpath,
790 self.save(figpath=figpath,
791 figfile=figfile,
791 figfile=figfile,
792 save=save,
792 save=save,
793 ftp=ftp,
793 ftp=ftp,
794 wr_period=wr_period,
794 wr_period=wr_period,
795 thisDatetime=thisDatetime,
795 thisDatetime=thisDatetime,
796 update_figfile=False)
796 update_figfile=False)
797
797
798 class PowerProfilePlot(Figure):
798 class PowerProfilePlot(Figure):
799
799
800 isConfig = None
800 isConfig = None
801 __nsubplots = None
801 __nsubplots = None
802
802
803 WIDTHPROF = None
803 WIDTHPROF = None
804 HEIGHTPROF = None
804 HEIGHTPROF = None
805 PREFIX = 'spcprofile'
805 PREFIX = 'spcprofile'
806
806
807 def __init__(self):
807 def __init__(self):
808 self.isConfig = False
808 self.isConfig = False
809 self.__nsubplots = 1
809 self.__nsubplots = 1
810
810
811 self.PLOT_CODE = POWER_CODE
811 self.PLOT_CODE = POWER_CODE
812
812
813 self.WIDTH = 300
813 self.WIDTH = 300
814 self.HEIGHT = 500
814 self.HEIGHT = 500
815 self.counter_imagwr = 0
815 self.counter_imagwr = 0
816
816
817 def getSubplots(self):
817 def getSubplots(self):
818 ncol = 1
818 ncol = 1
819 nrow = 1
819 nrow = 1
820
820
821 return nrow, ncol
821 return nrow, ncol
822
822
823 def setup(self, id, nplots, wintitle, show):
823 def setup(self, id, nplots, wintitle, show):
824
824
825 self.nplots = nplots
825 self.nplots = nplots
826
826
827 ncolspan = 1
827 ncolspan = 1
828 colspan = 1
828 colspan = 1
829
829
830 self.createFigure(id = id,
830 self.createFigure(id = id,
831 wintitle = wintitle,
831 wintitle = wintitle,
832 widthplot = self.WIDTH,
832 widthplot = self.WIDTH,
833 heightplot = self.HEIGHT,
833 heightplot = self.HEIGHT,
834 show=show)
834 show=show)
835
835
836 nrow, ncol = self.getSubplots()
836 nrow, ncol = self.getSubplots()
837
837
838 counter = 0
838 counter = 0
839 for y in range(nrow):
839 for y in range(nrow):
840 for x in range(ncol):
840 for x in range(ncol):
841 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan, colspan, 1)
841 self.addAxes(nrow, ncol*ncolspan, y, x*ncolspan, colspan, 1)
842
842
843 def run(self, dataOut, id, wintitle="", channelList=None,
843 def run(self, dataOut, id, wintitle="", channelList=None,
844 xmin=None, xmax=None, ymin=None, ymax=None,
844 xmin=None, xmax=None, ymin=None, ymax=None,
845 save=False, figpath='./', figfile=None, show=True,
845 save=False, figpath='./', figfile=None, show=True,
846 ftp=False, wr_period=1, server=None,
846 ftp=False, wr_period=1, server=None,
847 folder=None, username=None, password=None):
847 folder=None, username=None, password=None):
848
848
849
849
850 if channelList == None:
850 if channelList == None:
851 channelIndexList = dataOut.channelIndexList
851 channelIndexList = dataOut.channelIndexList
852 channelList = dataOut.channelList
852 channelList = dataOut.channelList
853 else:
853 else:
854 channelIndexList = []
854 channelIndexList = []
855 for channel in channelList:
855 for channel in channelList:
856 if channel not in dataOut.channelList:
856 if channel not in dataOut.channelList:
857 raise ValueError, "Channel %d is not in dataOut.channelList"
857 raise ValueError, "Channel %d is not in dataOut.channelList"
858 channelIndexList.append(dataOut.channelList.index(channel))
858 channelIndexList.append(dataOut.channelList.index(channel))
859
859
860 factor = dataOut.normFactor
860 factor = dataOut.normFactor
861
861
862 y = dataOut.getHeiRange()
862 y = dataOut.getHeiRange()
863
863
864 #for voltage
864 #for voltage
865 if dataOut.type == 'Voltage':
865 if dataOut.type == 'Voltage':
866 x = dataOut.data[channelIndexList,:] * numpy.conjugate(dataOut.data[channelIndexList,:])
866 x = dataOut.data[channelIndexList,:] * numpy.conjugate(dataOut.data[channelIndexList,:])
867 x = x.real
867 x = x.real
868 x = numpy.where(numpy.isfinite(x), x, numpy.NAN)
868 x = numpy.where(numpy.isfinite(x), x, numpy.NAN)
869
869
870 #for spectra
870 #for spectra
871 if dataOut.type == 'Spectra':
871 if dataOut.type == 'Spectra':
872 x = dataOut.data_spc[channelIndexList,:,:]/factor
872 x = dataOut.data_spc[channelIndexList,:,:]/factor
873 x = numpy.where(numpy.isfinite(x), x, numpy.NAN)
873 x = numpy.where(numpy.isfinite(x), x, numpy.NAN)
874 x = numpy.average(x, axis=1)
874 x = numpy.average(x, axis=1)
875
875
876
876
877 xdB = 10*numpy.log10(x)
877 xdB = 10*numpy.log10(x)
878
878
879 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
879 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
880 title = wintitle + " Power Profile %s" %(thisDatetime.strftime("%d-%b-%Y"))
880 title = wintitle + " Power Profile %s" %(thisDatetime.strftime("%d-%b-%Y"))
881 xlabel = "dB"
881 xlabel = "dB"
882 ylabel = "Range (Km)"
882 ylabel = "Range (Km)"
883
883
884 if not self.isConfig:
884 if not self.isConfig:
885
885
886 nplots = 1
886 nplots = 1
887
887
888 self.setup(id=id,
888 self.setup(id=id,
889 nplots=nplots,
889 nplots=nplots,
890 wintitle=wintitle,
890 wintitle=wintitle,
891 show=show)
891 show=show)
892
892
893 if ymin == None: ymin = numpy.nanmin(y)
893 if ymin == None: ymin = numpy.nanmin(y)
894 if ymax == None: ymax = numpy.nanmax(y)
894 if ymax == None: ymax = numpy.nanmax(y)
895 if xmin == None: xmin = numpy.nanmin(xdB)*0.9
895 if xmin == None: xmin = numpy.nanmin(xdB)*0.9
896 if xmax == None: xmax = numpy.nanmax(xdB)*1.1
896 if xmax == None: xmax = numpy.nanmax(xdB)*1.1
897
897
898 self.__isConfig = True
898 self.__isConfig = True
899
899
900 self.setWinTitle(title)
900 self.setWinTitle(title)
901
901
902 title = "Power Profile: %s" %(thisDatetime.strftime("%d-%b-%Y %H:%M:%S"))
902 title = "Power Profile: %s" %(thisDatetime.strftime("%d-%b-%Y %H:%M:%S"))
903 axes = self.axesList[0]
903 axes = self.axesList[0]
904
904
905 legendlabels = ["channel %d"%x for x in channelList]
905 legendlabels = ["channel %d"%x for x in channelList]
906 axes.pmultiline(xdB, y,
906 axes.pmultiline(xdB, y,
907 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax,
907 xmin=xmin, xmax=xmax, ymin=ymin, ymax=ymax,
908 xlabel=xlabel, ylabel=ylabel, title=title, legendlabels=legendlabels,
908 xlabel=xlabel, ylabel=ylabel, title=title, legendlabels=legendlabels,
909 ytick_visible=True, nxticks=5,
909 ytick_visible=True, nxticks=5,
910 grid='x')
910 grid='x')
911
911
912 self.draw()
912 self.draw()
913
913
914 self.save(figpath=figpath,
914 self.save(figpath=figpath,
915 figfile=figfile,
915 figfile=figfile,
916 save=save,
916 save=save,
917 ftp=ftp,
917 ftp=ftp,
918 wr_period=wr_period,
918 wr_period=wr_period,
919 thisDatetime=thisDatetime)
919 thisDatetime=thisDatetime)
920
920
921 class Noise(Figure):
921 class Noise(Figure):
922
922
923 isConfig = None
923 isConfig = None
924 __nsubplots = None
924 __nsubplots = None
925
925
926 PREFIX = 'noise'
926 PREFIX = 'noise'
927
927
928 def __init__(self):
928 def __init__(self):
929
929
930 self.timerange = 24*60*60
930 self.timerange = 24*60*60
931 self.isConfig = False
931 self.isConfig = False
932 self.__nsubplots = 1
932 self.__nsubplots = 1
933 self.counter_imagwr = 0
933 self.counter_imagwr = 0
934 self.WIDTH = 600
934 self.WIDTH = 600
935 self.HEIGHT = 300
935 self.HEIGHT = 300
936 self.WIDTHPROF = 120
936 self.WIDTHPROF = 120
937 self.HEIGHTPROF = 0
937 self.HEIGHTPROF = 0
938 self.xdata = None
938 self.xdata = None
939 self.ydata = None
939 self.ydata = None
940
940
941 self.PLOT_CODE = NOISE_CODE
941 self.PLOT_CODE = NOISE_CODE
942
942
943 self.FTP_WEI = None
943 self.FTP_WEI = None
944 self.EXP_CODE = None
944 self.EXP_CODE = None
945 self.SUB_EXP_CODE = None
945 self.SUB_EXP_CODE = None
946 self.PLOT_POS = None
946 self.PLOT_POS = None
947 self.figfile = None
947 self.figfile = None
948
948
949 self.xmin = None
949 self.xmin = None
950 self.xmax = None
950 self.xmax = None
951
951
952 def getSubplots(self):
952 def getSubplots(self):
953
953
954 ncol = 1
954 ncol = 1
955 nrow = 1
955 nrow = 1
956
956
957 return nrow, ncol
957 return nrow, ncol
958
958
959 def openfile(self, filename):
959 def openfile(self, filename):
960 dirname = os.path.dirname(filename)
960 dirname = os.path.dirname(filename)
961
961
962 if not os.path.exists(dirname):
962 if not os.path.exists(dirname):
963 os.mkdir(dirname)
963 os.mkdir(dirname)
964
964
965 f = open(filename,'w+')
965 f = open(filename,'w+')
966 f.write('\n\n')
966 f.write('\n\n')
967 f.write('JICAMARCA RADIO OBSERVATORY - Noise \n')
967 f.write('JICAMARCA RADIO OBSERVATORY - Noise \n')
968 f.write('DD MM YYYY HH MM SS Channel0 Channel1 Channel2 Channel3\n\n' )
968 f.write('DD MM YYYY HH MM SS Channel0 Channel1 Channel2 Channel3\n\n' )
969 f.close()
969 f.close()
970
970
971 def save_data(self, filename_phase, data, data_datetime):
971 def save_data(self, filename_phase, data, data_datetime):
972 f=open(filename_phase,'a')
972 f=open(filename_phase,'a')
973 timetuple_data = data_datetime.timetuple()
973 timetuple_data = data_datetime.timetuple()
974 day = str(timetuple_data.tm_mday)
974 day = str(timetuple_data.tm_mday)
975 month = str(timetuple_data.tm_mon)
975 month = str(timetuple_data.tm_mon)
976 year = str(timetuple_data.tm_year)
976 year = str(timetuple_data.tm_year)
977 hour = str(timetuple_data.tm_hour)
977 hour = str(timetuple_data.tm_hour)
978 minute = str(timetuple_data.tm_min)
978 minute = str(timetuple_data.tm_min)
979 second = str(timetuple_data.tm_sec)
979 second = str(timetuple_data.tm_sec)
980
980
981 data_msg = ''
981 data_msg = ''
982 for i in range(len(data)):
982 for i in range(len(data)):
983 data_msg += str(data[i]) + ' '
983 data_msg += str(data[i]) + ' '
984
984
985 f.write(day+' '+month+' '+year+' '+hour+' '+minute+' '+second+' ' + data_msg + '\n')
985 f.write(day+' '+month+' '+year+' '+hour+' '+minute+' '+second+' ' + data_msg + '\n')
986 f.close()
986 f.close()
987
987
988
988
989 def setup(self, id, nplots, wintitle, showprofile=True, show=True):
989 def setup(self, id, nplots, wintitle, showprofile=True, show=True):
990
990
991 self.__showprofile = showprofile
991 self.__showprofile = showprofile
992 self.nplots = nplots
992 self.nplots = nplots
993
993
994 ncolspan = 7
994 ncolspan = 7
995 colspan = 6
995 colspan = 6
996 self.__nsubplots = 2
996 self.__nsubplots = 2
997
997
998 self.createFigure(id = id,
998 self.createFigure(id = id,
999 wintitle = wintitle,
999 wintitle = wintitle,
1000 widthplot = self.WIDTH+self.WIDTHPROF,
1000 widthplot = self.WIDTH+self.WIDTHPROF,
1001 heightplot = self.HEIGHT+self.HEIGHTPROF,
1001 heightplot = self.HEIGHT+self.HEIGHTPROF,
1002 show=show)
1002 show=show)
1003
1003
1004 nrow, ncol = self.getSubplots()
1004 nrow, ncol = self.getSubplots()
1005
1005
1006 self.addAxes(nrow, ncol*ncolspan, 0, 0, colspan, 1)
1006 self.addAxes(nrow, ncol*ncolspan, 0, 0, colspan, 1)
1007
1007
1008
1008
1009 def run(self, dataOut, id, wintitle="", channelList=None, showprofile='True',
1009 def run(self, dataOut, id, wintitle="", channelList=None, showprofile='True',
1010 xmin=None, xmax=None, ymin=None, ymax=None,
1010 xmin=None, xmax=None, ymin=None, ymax=None,
1011 timerange=None,
1011 timerange=None,
1012 save=False, figpath='./', figfile=None, show=True, ftp=False, wr_period=1,
1012 save=False, figpath='./', figfile=None, show=True, ftp=False, wr_period=1,
1013 server=None, folder=None, username=None, password=None,
1013 server=None, folder=None, username=None, password=None,
1014 ftp_wei=0, exp_code=0, sub_exp_code=0, plot_pos=0):
1014 ftp_wei=0, exp_code=0, sub_exp_code=0, plot_pos=0):
1015
1015
1016 if channelList == None:
1016 if channelList == None:
1017 channelIndexList = dataOut.channelIndexList
1017 channelIndexList = dataOut.channelIndexList
1018 channelList = dataOut.channelList
1018 channelList = dataOut.channelList
1019 else:
1019 else:
1020 channelIndexList = []
1020 channelIndexList = []
1021 for channel in channelList:
1021 for channel in channelList:
1022 if channel not in dataOut.channelList:
1022 if channel not in dataOut.channelList:
1023 raise ValueError, "Channel %d is not in dataOut.channelList"
1023 raise ValueError, "Channel %d is not in dataOut.channelList"
1024 channelIndexList.append(dataOut.channelList.index(channel))
1024 channelIndexList.append(dataOut.channelList.index(channel))
1025
1025
1026 x = dataOut.getTimeRange()
1026 x = dataOut.getTimeRange()
1027 #y = dataOut.getHeiRange()
1027 #y = dataOut.getHeiRange()
1028 factor = dataOut.normFactor
1028 factor = dataOut.normFactor
1029 noise = dataOut.noise/factor
1029 noise = dataOut.noise/factor
1030 noisedB = 10*numpy.log10(noise)
1030 noisedB = 10*numpy.log10(noise)
1031
1031
1032 #thisDatetime = dataOut.datatime
1032 #thisDatetime = dataOut.datatime
1033 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
1033 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
1034 title = wintitle + " Noise" # : %s" %(thisDatetime.strftime("%d-%b-%Y"))
1034 title = wintitle + " Noise" # : %s" %(thisDatetime.strftime("%d-%b-%Y"))
1035 xlabel = ""
1035 xlabel = ""
1036 ylabel = "Intensity (dB)"
1036 ylabel = "Intensity (dB)"
1037
1037
1038 if not self.isConfig:
1038 if not self.isConfig:
1039
1039
1040 nplots = 1
1040 nplots = 1
1041
1041
1042 self.setup(id=id,
1042 self.setup(id=id,
1043 nplots=nplots,
1043 nplots=nplots,
1044 wintitle=wintitle,
1044 wintitle=wintitle,
1045 showprofile=showprofile,
1045 showprofile=showprofile,
1046 show=show)
1046 show=show)
1047
1047
1048 if timerange != None:
1048 if timerange != None:
1049 self.timerange = timerange
1049 self.timerange = timerange
1050
1050
1051 self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange)
1051 self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange)
1052
1052
1053 if ymin == None: ymin = numpy.floor(numpy.nanmin(noisedB)) - 10.0
1053 if ymin == None: ymin = numpy.floor(numpy.nanmin(noisedB)) - 10.0
1054 if ymax == None: ymax = numpy.nanmax(noisedB) + 10.0
1054 if ymax == None: ymax = numpy.nanmax(noisedB) + 10.0
1055
1055
1056 self.FTP_WEI = ftp_wei
1056 self.FTP_WEI = ftp_wei
1057 self.EXP_CODE = exp_code
1057 self.EXP_CODE = exp_code
1058 self.SUB_EXP_CODE = sub_exp_code
1058 self.SUB_EXP_CODE = sub_exp_code
1059 self.PLOT_POS = plot_pos
1059 self.PLOT_POS = plot_pos
1060
1060
1061
1061
1062 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
1062 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
1063 self.isConfig = True
1063 self.isConfig = True
1064 self.figfile = figfile
1064 self.figfile = figfile
1065 self.xdata = numpy.array([])
1065 self.xdata = numpy.array([])
1066 self.ydata = numpy.array([])
1066 self.ydata = numpy.array([])
1067
1067
1068 #open file beacon phase
1068 #open file beacon phase
1069 path = '%s%03d' %(self.PREFIX, self.id)
1069 path = '%s%03d' %(self.PREFIX, self.id)
1070 noise_file = os.path.join(path,'%s.txt'%self.name)
1070 noise_file = os.path.join(path,'%s.txt'%self.name)
1071 self.filename_noise = os.path.join(figpath,noise_file)
1071 self.filename_noise = os.path.join(figpath,noise_file)
1072 if save:
1072 if save:
1073 self.openfile(self.filename_noise)
1073 self.openfile(self.filename_noise)
1074
1074
1075
1075
1076 #store data beacon phase
1076 #store data beacon phase
1077 if save:
1077 if save:
1078 self.save_data(self.filename_noise, noisedB, thisDatetime)
1078 self.save_data(self.filename_noise, noisedB, thisDatetime)
1079
1079
1080
1080
1081 self.setWinTitle(title)
1081 self.setWinTitle(title)
1082
1082
1083
1083
1084 title = "Noise %s" %(thisDatetime.strftime("%Y/%m/%d %H:%M:%S"))
1084 title = "Noise %s" %(thisDatetime.strftime("%Y/%m/%d %H:%M:%S"))
1085
1085
1086 legendlabels = ["channel %d"%(idchannel+1) for idchannel in channelList]
1086 legendlabels = ["channel %d"%(idchannel+1) for idchannel in channelList]
1087 axes = self.axesList[0]
1087 axes = self.axesList[0]
1088
1088
1089 self.xdata = numpy.hstack((self.xdata, x[0:1]))
1089 self.xdata = numpy.hstack((self.xdata, x[0:1]))
1090
1090
1091 if len(self.ydata)==0:
1091 if len(self.ydata)==0:
1092 self.ydata = noisedB[channelIndexList].reshape(-1,1)
1092 self.ydata = noisedB[channelIndexList].reshape(-1,1)
1093 else:
1093 else:
1094 self.ydata = numpy.hstack((self.ydata, noisedB[channelIndexList].reshape(-1,1)))
1094 self.ydata = numpy.hstack((self.ydata, noisedB[channelIndexList].reshape(-1,1)))
1095
1095
1096
1096
1097 axes.pmultilineyaxis(x=self.xdata, y=self.ydata,
1097 axes.pmultilineyaxis(x=self.xdata, y=self.ydata,
1098 xmin=self.xmin, xmax=self.xmax, ymin=ymin, ymax=ymax,
1098 xmin=self.xmin, xmax=self.xmax, ymin=ymin, ymax=ymax,
1099 xlabel=xlabel, ylabel=ylabel, title=title, legendlabels=legendlabels, marker='x', markersize=8, linestyle="solid",
1099 xlabel=xlabel, ylabel=ylabel, title=title, legendlabels=legendlabels, marker='x', markersize=8, linestyle="solid",
1100 XAxisAsTime=True, grid='both'
1100 XAxisAsTime=True, grid='both'
1101 )
1101 )
1102
1102
1103 self.draw()
1103 self.draw()
1104
1104
1105 if x[1] >= self.axesList[0].xmax:
1105 if x[1] >= self.axesList[0].xmax:
1106 self.counter_imagwr = wr_period
1106 self.counter_imagwr = wr_period
1107 del self.xdata
1107 del self.xdata
1108 del self.ydata
1108 del self.ydata
1109 self.__isConfig = False
1109 self.__isConfig = False
1110 self.figfile = None
1110 self.figfile = None
1111
1111
1112 self.save(figpath=figpath,
1112 self.save(figpath=figpath,
1113 figfile=figfile,
1113 figfile=figfile,
1114 save=save,
1114 save=save,
1115 ftp=ftp,
1115 ftp=ftp,
1116 wr_period=wr_period,
1116 wr_period=wr_period,
1117 thisDatetime=thisDatetime,
1117 thisDatetime=thisDatetime,
1118 update_figfile=False)
1118 update_figfile=False)
1119
1119
1120
1120
1121 class BeaconPhase(Figure):
1121 class BeaconPhase(Figure):
1122
1122
1123 __isConfig = None
1123 __isConfig = None
1124 __nsubplots = None
1124 __nsubplots = None
1125
1125
1126 PREFIX = 'beacon_phase'
1126 PREFIX = 'beacon_phase'
1127
1127
1128 def __init__(self):
1128 def __init__(self):
1129
1129
1130 self.timerange = 24*60*60
1130 self.timerange = 24*60*60
1131 self.__isConfig = False
1131 self.__isConfig = False
1132 self.__nsubplots = 1
1132 self.__nsubplots = 1
1133 self.counter_imagwr = 0
1133 self.counter_imagwr = 0
1134 self.WIDTH = 600
1134 self.WIDTH = 600
1135 self.HEIGHT = 300
1135 self.HEIGHT = 300
1136 self.WIDTHPROF = 120
1136 self.WIDTHPROF = 120
1137 self.HEIGHTPROF = 0
1137 self.HEIGHTPROF = 0
1138 self.xdata = None
1138 self.xdata = None
1139 self.ydata = None
1139 self.ydata = None
1140
1140
1141 self.PLOT_CODE = BEACON_CODE
1141 self.PLOT_CODE = BEACON_CODE
1142
1142
1143 self.FTP_WEI = None
1143 self.FTP_WEI = None
1144 self.EXP_CODE = None
1144 self.EXP_CODE = None
1145 self.SUB_EXP_CODE = None
1145 self.SUB_EXP_CODE = None
1146 self.PLOT_POS = None
1146 self.PLOT_POS = None
1147
1147
1148 self.filename_phase = None
1148 self.filename_phase = None
1149
1149
1150 self.figfile = None
1150 self.figfile = None
1151
1151
1152 self.xmin = None
1152 self.xmin = None
1153 self.xmax = None
1153 self.xmax = None
1154
1154
1155 def getSubplots(self):
1155 def getSubplots(self):
1156
1156
1157 ncol = 1
1157 ncol = 1
1158 nrow = 1
1158 nrow = 1
1159
1159
1160 return nrow, ncol
1160 return nrow, ncol
1161
1161
1162 def setup(self, id, nplots, wintitle, showprofile=True, show=True):
1162 def setup(self, id, nplots, wintitle, showprofile=True, show=True):
1163
1163
1164 self.__showprofile = showprofile
1164 self.__showprofile = showprofile
1165 self.nplots = nplots
1165 self.nplots = nplots
1166
1166
1167 ncolspan = 7
1167 ncolspan = 7
1168 colspan = 6
1168 colspan = 6
1169 self.__nsubplots = 2
1169 self.__nsubplots = 2
1170
1170
1171 self.createFigure(id = id,
1171 self.createFigure(id = id,
1172 wintitle = wintitle,
1172 wintitle = wintitle,
1173 widthplot = self.WIDTH+self.WIDTHPROF,
1173 widthplot = self.WIDTH+self.WIDTHPROF,
1174 heightplot = self.HEIGHT+self.HEIGHTPROF,
1174 heightplot = self.HEIGHT+self.HEIGHTPROF,
1175 show=show)
1175 show=show)
1176
1176
1177 nrow, ncol = self.getSubplots()
1177 nrow, ncol = self.getSubplots()
1178
1178
1179 self.addAxes(nrow, ncol*ncolspan, 0, 0, colspan, 1)
1179 self.addAxes(nrow, ncol*ncolspan, 0, 0, colspan, 1)
1180
1180
1181 def save_phase(self, filename_phase):
1181 def save_phase(self, filename_phase):
1182 f = open(filename_phase,'w+')
1182 f = open(filename_phase,'w+')
1183 f.write('\n\n')
1183 f.write('\n\n')
1184 f.write('JICAMARCA RADIO OBSERVATORY - Beacon Phase \n')
1184 f.write('JICAMARCA RADIO OBSERVATORY - Beacon Phase \n')
1185 f.write('DD MM YYYY HH MM SS pair(2,0) pair(2,1) pair(2,3) pair(2,4)\n\n' )
1185 f.write('DD MM YYYY HH MM SS pair(2,0) pair(2,1) pair(2,3) pair(2,4)\n\n' )
1186 f.close()
1186 f.close()
1187
1187
1188 def save_data(self, filename_phase, data, data_datetime):
1188 def save_data(self, filename_phase, data, data_datetime):
1189 f=open(filename_phase,'a')
1189 f=open(filename_phase,'a')
1190 timetuple_data = data_datetime.timetuple()
1190 timetuple_data = data_datetime.timetuple()
1191 day = str(timetuple_data.tm_mday)
1191 day = str(timetuple_data.tm_mday)
1192 month = str(timetuple_data.tm_mon)
1192 month = str(timetuple_data.tm_mon)
1193 year = str(timetuple_data.tm_year)
1193 year = str(timetuple_data.tm_year)
1194 hour = str(timetuple_data.tm_hour)
1194 hour = str(timetuple_data.tm_hour)
1195 minute = str(timetuple_data.tm_min)
1195 minute = str(timetuple_data.tm_min)
1196 second = str(timetuple_data.tm_sec)
1196 second = str(timetuple_data.tm_sec)
1197 f.write(day+' '+month+' '+year+' '+hour+' '+minute+' '+second+' '+str(data[0])+' '+str(data[1])+' '+str(data[2])+' '+str(data[3])+'\n')
1197 f.write(day+' '+month+' '+year+' '+hour+' '+minute+' '+second+' '+str(data[0])+' '+str(data[1])+' '+str(data[2])+' '+str(data[3])+'\n')
1198 f.close()
1198 f.close()
1199
1199
1200
1200
1201 def run(self, dataOut, id, wintitle="", pairsList=None, showprofile='True',
1201 def run(self, dataOut, id, wintitle="", pairsList=None, showprofile='True',
1202 xmin=None, xmax=None, ymin=None, ymax=None,
1202 xmin=None, xmax=None, ymin=None, ymax=None,
1203 timerange=None,
1203 timerange=None,
1204 save=False, figpath='./', figfile=None, show=True, ftp=False, wr_period=1,
1204 save=False, figpath='./', figfile=None, show=True, ftp=False, wr_period=1,
1205 server=None, folder=None, username=None, password=None,
1205 server=None, folder=None, username=None, password=None,
1206 ftp_wei=0, exp_code=0, sub_exp_code=0, plot_pos=0):
1206 ftp_wei=0, exp_code=0, sub_exp_code=0, plot_pos=0):
1207
1207
1208 if pairsList == None:
1208 if pairsList == None:
1209 pairsIndexList = dataOut.pairsIndexList
1209 pairsIndexList = dataOut.pairsIndexList
1210 else:
1210 else:
1211 pairsIndexList = []
1211 pairsIndexList = []
1212 for pair in pairsList:
1212 for pair in pairsList:
1213 if pair not in dataOut.pairsList:
1213 if pair not in dataOut.pairsList:
1214 raise ValueError, "Pair %s is not in dataOut.pairsList" %(pair)
1214 raise ValueError, "Pair %s is not in dataOut.pairsList" %(pair)
1215 pairsIndexList.append(dataOut.pairsList.index(pair))
1215 pairsIndexList.append(dataOut.pairsList.index(pair))
1216
1216
1217 if pairsIndexList == []:
1217 if pairsIndexList == []:
1218 return
1218 return
1219
1219
1220 # if len(pairsIndexList) > 4:
1220 # if len(pairsIndexList) > 4:
1221 # pairsIndexList = pairsIndexList[0:4]
1221 # pairsIndexList = pairsIndexList[0:4]
1222
1222
1223 x = dataOut.getTimeRange()
1223 x = dataOut.getTimeRange()
1224 #y = dataOut.getHeiRange()
1224 #y = dataOut.getHeiRange()
1225
1225
1226
1226
1227 #thisDatetime = dataOut.datatime
1227 #thisDatetime = dataOut.datatime
1228 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
1228 thisDatetime = datetime.datetime.utcfromtimestamp(dataOut.getTimeRange()[0])
1229 title = wintitle + " Phase of Beacon Signal" # : %s" %(thisDatetime.strftime("%d-%b-%Y"))
1229 title = wintitle + " Phase of Beacon Signal" # : %s" %(thisDatetime.strftime("%d-%b-%Y"))
1230 xlabel = "Local Time"
1230 xlabel = "Local Time"
1231 ylabel = "Phase"
1231 ylabel = "Phase"
1232
1232
1233 nplots = len(pairsIndexList)
1233 nplots = len(pairsIndexList)
1234 #phase = numpy.zeros((len(pairsIndexList),len(dataOut.beacon_heiIndexList)))
1234 #phase = numpy.zeros((len(pairsIndexList),len(dataOut.beacon_heiIndexList)))
1235 phase_beacon = numpy.zeros(len(pairsIndexList))
1235 phase_beacon = numpy.zeros(len(pairsIndexList))
1236 for i in range(nplots):
1236 for i in range(nplots):
1237 pair = dataOut.pairsList[pairsIndexList[i]]
1237 pair = dataOut.pairsList[pairsIndexList[i]]
1238 ccf = numpy.average(dataOut.data_cspc[pairsIndexList[i],:,:],axis=0)
1238 ccf = numpy.average(dataOut.data_cspc[pairsIndexList[i],:,:],axis=0)
1239 powa = numpy.average(dataOut.data_spc[pair[0],:,:],axis=0)
1239 powa = numpy.average(dataOut.data_spc[pair[0],:,:],axis=0)
1240 powb = numpy.average(dataOut.data_spc[pair[1],:,:],axis=0)
1240 powb = numpy.average(dataOut.data_spc[pair[1],:,:],axis=0)
1241 avgcoherenceComplex = ccf/numpy.sqrt(powa*powb)
1241 avgcoherenceComplex = ccf/numpy.sqrt(powa*powb)
1242 phase = numpy.arctan2(avgcoherenceComplex.imag, avgcoherenceComplex.real)*180/numpy.pi
1242 phase = numpy.arctan2(avgcoherenceComplex.imag, avgcoherenceComplex.real)*180/numpy.pi
1243
1243
1244 #print "Phase %d%d" %(pair[0], pair[1])
1244 #print "Phase %d%d" %(pair[0], pair[1])
1245 #print phase[dataOut.beacon_heiIndexList]
1245 #print phase[dataOut.beacon_heiIndexList]
1246
1246
1247 phase_beacon[i] = numpy.average(phase[dataOut.beacon_heiIndexList])
1247 phase_beacon[i] = numpy.average(phase[dataOut.beacon_heiIndexList])
1248
1248
1249 if not self.__isConfig:
1249 if not self.__isConfig:
1250
1250
1251 nplots = len(pairsIndexList)
1251 nplots = len(pairsIndexList)
1252
1252
1253 self.setup(id=id,
1253 self.setup(id=id,
1254 nplots=nplots,
1254 nplots=nplots,
1255 wintitle=wintitle,
1255 wintitle=wintitle,
1256 showprofile=showprofile,
1256 showprofile=showprofile,
1257 show=show)
1257 show=show)
1258
1258
1259 if timerange != None:
1259 if timerange != None:
1260 self.timerange = timerange
1260 self.timerange = timerange
1261
1261
1262 self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange)
1262 self.xmin, self.xmax = self.getTimeLim(x, xmin, xmax, timerange)
1263
1263
1264 if ymin == None: ymin = numpy.nanmin(phase_beacon) - 10.0
1264 if ymin == None: ymin = numpy.nanmin(phase_beacon) - 10.0
1265 if ymax == None: ymax = numpy.nanmax(phase_beacon) + 10.0
1265 if ymax == None: ymax = numpy.nanmax(phase_beacon) + 10.0
1266
1266
1267 self.FTP_WEI = ftp_wei
1267 self.FTP_WEI = ftp_wei
1268 self.EXP_CODE = exp_code
1268 self.EXP_CODE = exp_code
1269 self.SUB_EXP_CODE = sub_exp_code
1269 self.SUB_EXP_CODE = sub_exp_code
1270 self.PLOT_POS = plot_pos
1270 self.PLOT_POS = plot_pos
1271
1271
1272 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
1272 self.name = thisDatetime.strftime("%Y%m%d_%H%M%S")
1273 self.__isConfig = True
1273 self.__isConfig = True
1274 self.figfile = figfile
1274 self.figfile = figfile
1275 self.xdata = numpy.array([])
1275 self.xdata = numpy.array([])
1276 self.ydata = numpy.array([])
1276 self.ydata = numpy.array([])
1277
1277
1278 #open file beacon phase
1278 #open file beacon phase
1279 path = '%s%03d' %(self.PREFIX, self.id)
1279 path = '%s%03d' %(self.PREFIX, self.id)
1280 beacon_file = os.path.join(path,'%s.txt'%self.name)
1280 beacon_file = os.path.join(path,'%s.txt'%self.name)
1281 self.filename_phase = os.path.join(figpath,beacon_file)
1281 self.filename_phase = os.path.join(figpath,beacon_file)
1282 #self.save_phase(self.filename_phase)
1282 #self.save_phase(self.filename_phase)
1283
1283
1284
1284
1285 #store data beacon phase
1285 #store data beacon phase
1286 #self.save_data(self.filename_phase, phase_beacon, thisDatetime)
1286 #self.save_data(self.filename_phase, phase_beacon, thisDatetime)
1287
1287
1288 self.setWinTitle(title)
1288 self.setWinTitle(title)
1289
1289
1290
1290
1291 title = "Beacon Signal %s" %(thisDatetime.strftime("%Y/%m/%d %H:%M:%S"))
1291 title = "Beacon Signal %s" %(thisDatetime.strftime("%Y/%m/%d %H:%M:%S"))
1292
1292
1293 legendlabels = ["pairs %d%d"%(pair[0], pair[1]) for pair in dataOut.pairsList]
1293 legendlabels = ["pairs %d%d"%(pair[0], pair[1]) for pair in dataOut.pairsList]
1294
1294
1295 axes = self.axesList[0]
1295 axes = self.axesList[0]
1296
1296
1297 self.xdata = numpy.hstack((self.xdata, x[0:1]))
1297 self.xdata = numpy.hstack((self.xdata, x[0:1]))
1298
1298
1299 if len(self.ydata)==0:
1299 if len(self.ydata)==0:
1300 self.ydata = phase_beacon.reshape(-1,1)
1300 self.ydata = phase_beacon.reshape(-1,1)
1301 else:
1301 else:
1302 self.ydata = numpy.hstack((self.ydata, phase_beacon.reshape(-1,1)))
1302 self.ydata = numpy.hstack((self.ydata, phase_beacon.reshape(-1,1)))
1303
1303
1304
1304
1305 axes.pmultilineyaxis(x=self.xdata, y=self.ydata,
1305 axes.pmultilineyaxis(x=self.xdata, y=self.ydata,
1306 xmin=self.xmin, xmax=self.xmax, ymin=ymin, ymax=ymax,
1306 xmin=self.xmin, xmax=self.xmax, ymin=ymin, ymax=ymax,
1307 xlabel=xlabel, ylabel=ylabel, title=title, legendlabels=legendlabels, marker='x', markersize=8, linestyle="solid",
1307 xlabel=xlabel, ylabel=ylabel, title=title, legendlabels=legendlabels, marker='x', markersize=8, linestyle="solid",
1308 XAxisAsTime=True, grid='both'
1308 XAxisAsTime=True, grid='both'
1309 )
1309 )
1310
1310
1311 self.draw()
1311 self.draw()
1312
1312
1313 if x[1] >= self.axesList[0].xmax:
1313 if x[1] >= self.axesList[0].xmax:
1314 self.counter_imagwr = wr_period
1314 self.counter_imagwr = wr_period
1315 del self.xdata
1315 del self.xdata
1316 del self.ydata
1316 del self.ydata
1317 self.__isConfig = False
1317 self.__isConfig = False
1318 self.figfile = None
1318 self.figfile = None
1319
1319
1320 self.save(figpath=figpath,
1320 self.save(figpath=figpath,
1321 figfile=figfile,
1321 figfile=figfile,
1322 save=save,
1322 save=save,
1323 ftp=ftp,
1323 ftp=ftp,
1324 wr_period=wr_period,
1324 wr_period=wr_period,
1325 thisDatetime=thisDatetime,
1325 thisDatetime=thisDatetime,
1326 update_figfile=False)
1326 update_figfile=False)
1 NO CONTENT: file renamed from schainpy/test/150km_January_longPulse.py to schainpy/scripts/150km_January_longPulse.py
NO CONTENT: file renamed from schainpy/test/150km_January_longPulse.py to schainpy/scripts/150km_January_longPulse.py
1 NO CONTENT: file renamed from schainpy/test/150km_January_shortPulse.py to schainpy/scripts/150km_January_shortPulse.py
NO CONTENT: file renamed from schainpy/test/150km_January_shortPulse.py to schainpy/scripts/150km_January_shortPulse.py
1 NO CONTENT: file renamed from schainpy/test/150km_january_1.py to schainpy/scripts/150km_january_1.py
NO CONTENT: file renamed from schainpy/test/150km_january_1.py to schainpy/scripts/150km_january_1.py
1 NO CONTENT: file renamed from schainpy/test/150km_january_3.py to schainpy/scripts/150km_january_3.py
NO CONTENT: file renamed from schainpy/test/150km_january_3.py to schainpy/scripts/150km_january_3.py
1 NO CONTENT: file renamed from schainpy/test/150km_jicamarca.xml to schainpy/scripts/150km_jicamarca.xml
NO CONTENT: file renamed from schainpy/test/150km_jicamarca.xml to schainpy/scripts/150km_jicamarca.xml
1 NO CONTENT: file renamed from schainpy/test/EWDrifts_estimation01.py to schainpy/scripts/EWDrifts_estimation01.py
NO CONTENT: file renamed from schainpy/test/EWDrifts_estimation01.py to schainpy/scripts/EWDrifts_estimation01.py
1 NO CONTENT: file renamed from schainpy/test/EWDrifts_estimation02.py to schainpy/scripts/EWDrifts_estimation02.py
NO CONTENT: file renamed from schainpy/test/EWDrifts_estimation02.py to schainpy/scripts/EWDrifts_estimation02.py
1 NO CONTENT: file renamed from schainpy/test/Meteor_JASMET30MHz_Winds.py to schainpy/scripts/Meteor_JASMET30MHz_Winds.py
NO CONTENT: file renamed from schainpy/test/Meteor_JASMET30MHz_Winds.py to schainpy/scripts/Meteor_JASMET30MHz_Winds.py
1 NO CONTENT: file renamed from schainpy/test/Meteor_JASMET30Mhz_Beacon.py to schainpy/scripts/Meteor_JASMET30Mhz_Beacon.py
NO CONTENT: file renamed from schainpy/test/Meteor_JASMET30Mhz_Beacon.py to schainpy/scripts/Meteor_JASMET30Mhz_Beacon.py
1 NO CONTENT: file renamed from schainpy/test/Meteor_JASMET50MHz_Winds.py to schainpy/scripts/Meteor_JASMET50MHz_Winds.py
NO CONTENT: file renamed from schainpy/test/Meteor_JASMET50MHz_Winds.py to schainpy/scripts/Meteor_JASMET50MHz_Winds.py
1 NO CONTENT: file renamed from schainpy/test/Meteor_JASMET50Mhz_Beacon.py to schainpy/scripts/Meteor_JASMET50Mhz_Beacon.py
NO CONTENT: file renamed from schainpy/test/Meteor_JASMET50Mhz_Beacon.py to schainpy/scripts/Meteor_JASMET50Mhz_Beacon.py
1 NO CONTENT: file renamed from schainpy/test/WindProfiler_DBS01.py to schainpy/scripts/WindProfiler_DBS01.py
NO CONTENT: file renamed from schainpy/test/WindProfiler_DBS01.py to schainpy/scripts/WindProfiler_DBS01.py
1 NO CONTENT: file renamed from schainpy/test/WindProfiler_SA01.py to schainpy/scripts/WindProfiler_SA01.py
NO CONTENT: file renamed from schainpy/test/WindProfiler_SA01.py to schainpy/scripts/WindProfiler_SA01.py
1 NO CONTENT: file renamed from schainpy/test/__init__.py to schainpy/scripts/__init__.py
NO CONTENT: file renamed from schainpy/test/__init__.py to schainpy/scripts/__init__.py
1 NO CONTENT: file renamed from schainpy/test/amisr_EEJ.py to schainpy/scripts/amisr_EEJ.py
NO CONTENT: file renamed from schainpy/test/amisr_EEJ.py to schainpy/scripts/amisr_EEJ.py
1 NO CONTENT: file renamed from schainpy/test/amisr_proc.py to schainpy/scripts/amisr_proc.py
NO CONTENT: file renamed from schainpy/test/amisr_proc.py to schainpy/scripts/amisr_proc.py
1 NO CONTENT: file renamed from schainpy/test/amisr_reader.py to schainpy/scripts/amisr_reader.py
NO CONTENT: file renamed from schainpy/test/amisr_reader.py to schainpy/scripts/amisr_reader.py
1 NO CONTENT: file renamed from schainpy/test/amisr_reader_exp.py to schainpy/scripts/amisr_reader_exp.py
NO CONTENT: file renamed from schainpy/test/amisr_reader_exp.py to schainpy/scripts/amisr_reader_exp.py
1 NO CONTENT: file renamed from schainpy/test/amisr_reader_exp_ex2.py to schainpy/scripts/amisr_reader_exp_ex2.py
NO CONTENT: file renamed from schainpy/test/amisr_reader_exp_ex2.py to schainpy/scripts/amisr_reader_exp_ex2.py
1 NO CONTENT: file renamed from schainpy/test/amisr_spreadF.py to schainpy/scripts/amisr_spreadF.py
NO CONTENT: file renamed from schainpy/test/amisr_spreadF.py to schainpy/scripts/amisr_spreadF.py
1 NO CONTENT: file renamed from schainpy/test/amisr_windEstimation.py to schainpy/scripts/amisr_windEstimation.py
NO CONTENT: file renamed from schainpy/test/amisr_windEstimation.py to schainpy/scripts/amisr_windEstimation.py
1 NO CONTENT: file renamed from schainpy/test/beacon_phase.py to schainpy/scripts/beacon_phase.py
NO CONTENT: file renamed from schainpy/test/beacon_phase.py to schainpy/scripts/beacon_phase.py
1 NO CONTENT: file renamed from schainpy/test/hf_plot_pdata.py to schainpy/scripts/hf_plot_pdata.py
NO CONTENT: file renamed from schainpy/test/hf_plot_pdata.py to schainpy/scripts/hf_plot_pdata.py
1 NO CONTENT: file renamed from schainpy/test/hf_test.py to schainpy/scripts/hf_test.py
NO CONTENT: file renamed from schainpy/test/hf_test.py to schainpy/scripts/hf_test.py
1 NO CONTENT: file renamed from schainpy/test/hf_write_pdata.py to schainpy/scripts/hf_write_pdata.py
NO CONTENT: file renamed from schainpy/test/hf_write_pdata.py to schainpy/scripts/hf_write_pdata.py
1 NO CONTENT: file renamed from schainpy/test/jasmet30_16april.py to schainpy/scripts/jasmet30_16april.py
NO CONTENT: file renamed from schainpy/test/jasmet30_16april.py to schainpy/scripts/jasmet30_16april.py
1 NO CONTENT: file renamed from schainpy/test/jasmet50_16april.py to schainpy/scripts/jasmet50_16april.py
NO CONTENT: file renamed from schainpy/test/jasmet50_16april.py to schainpy/scripts/jasmet50_16april.py
1 NO CONTENT: file renamed from schainpy/test/mst_isr_eej_blocks.py to schainpy/scripts/mst_isr_eej_blocks.py
NO CONTENT: file renamed from schainpy/test/mst_isr_eej_blocks.py to schainpy/scripts/mst_isr_eej_blocks.py
1 NO CONTENT: file renamed from schainpy/test/mst_isr_eej_processing.py to schainpy/scripts/mst_isr_eej_processing.py
NO CONTENT: file renamed from schainpy/test/mst_isr_eej_processing.py to schainpy/scripts/mst_isr_eej_processing.py
1 NO CONTENT: file renamed from schainpy/test/plot_eej.py to schainpy/scripts/plot_eej.py
NO CONTENT: file renamed from schainpy/test/plot_eej.py to schainpy/scripts/plot_eej.py
1 NO CONTENT: file renamed from schainpy/test/plot_isr.py to schainpy/scripts/plot_isr.py
NO CONTENT: file renamed from schainpy/test/plot_isr.py to schainpy/scripts/plot_isr.py
1 NO CONTENT: file renamed from schainpy/test/plot_mst.py to schainpy/scripts/plot_mst.py
NO CONTENT: file renamed from schainpy/test/plot_mst.py to schainpy/scripts/plot_mst.py
1 NO CONTENT: file renamed from schainpy/test/sousy.py to schainpy/scripts/sousy.py
NO CONTENT: file renamed from schainpy/test/sousy.py to schainpy/scripts/sousy.py
1 NO CONTENT: file renamed from schainpy/test/testRawData.py to schainpy/scripts/testRawData.py
NO CONTENT: file renamed from schainpy/test/testRawData.py to schainpy/scripts/testRawData.py
1 NO CONTENT: file renamed from schainpy/test/test_eej_blocks.py to schainpy/scripts/test_eej_blocks.py
NO CONTENT: file renamed from schainpy/test/test_eej_blocks.py to schainpy/scripts/test_eej_blocks.py
1 NO CONTENT: file renamed from schainpy/test/test_isr_blocks.py to schainpy/scripts/test_isr_blocks.py
NO CONTENT: file renamed from schainpy/test/test_isr_blocks.py to schainpy/scripts/test_isr_blocks.py
1 NO CONTENT: file renamed from schainpy/test/test_mst_blocks.py to schainpy/scripts/test_mst_blocks.py
NO CONTENT: file renamed from schainpy/test/test_mst_blocks.py to schainpy/scripts/test_mst_blocks.py
@@ -1,31 +1,31
1 '''
1 '''
2 Created on Jul 16, 2014
2 Created on Jul 16, 2014
3
3
4 @author: roj-idl71
4 @author: roj-idl71
5 '''
5 '''
6
6
7 from distutils.core import setup, Extension
7 from distutils.core import setup, Extension
8
8
9 setup(name="schainpy",
9 setup(name="schainpy",
10 version="2.0",
10 version="2.0",
11 description="Python tools to read, write and process Jicamarca data",
11 description="Python tools to read, write and process Jicamarca data",
12 author="Miguel Urco",
12 author="Miguel Urco",
13 author_email="miguel.urco@jro.igp.gob.pe",
13 author_email="miguel.urco@jro.igp.gob.pe",
14 url="http://jro.igp.gob.pe",
14 url="http://jro.igp.gob.pe",
15 packages = {'schainpy',
15 packages = {'schainpy',
16 'schainpy.model',
16 'schainpy.model',
17 'schainpy.model.data',
17 'schainpy.model.data',
18 'schainpy.model.graphics',
18 'schainpy.model.graphics',
19 'schainpy.model.io',
19 'schainpy.model.io',
20 'schainpy.model.proc',
20 'schainpy.model.proc',
21 'schainpy.model.utils',
21 'schainpy.model.utils',
22 'schainpy.gui',
22 'schainpy.gui',
23 'schainpy.gui.figure',
23 'schainpy.gui.figures',
24 'schainpy.gui.viewcontroller',
24 'schainpy.gui.viewcontroller',
25 'schainpy.gui.viewer',
25 'schainpy.gui.viewer',
26 'schainpy.gui.viewer.windows'},
26 'schainpy.gui.viewer.windows'},
27 py_modules=['schainpy.serializer.DataTranslate',
27 py_modules=['schainpy.serializer.DataTranslate',
28 'schainpy.serializer.JROSerializer'],
28 'schainpy.serializer.JROSerializer'],
29 package_data={'schainpy.gui.figure': ['*.jpg', '*.png', '*.gif']},
29 package_data={'schainpy.gui.figures': ['*.jpg', '*.jpeg', '*.png', '*.gif']},
30 include_package_data=True,
30 include_package_data=True,
31 scripts =['schainpy/gui/schaingui.py']) No newline at end of file
31 scripts =['schainpy/gui/schainGUI']) No newline at end of file
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now