@@ -549,18 +549,32 class BasicWindow(QMainWindow,Ui_BasicWindow): | |||
|
549 | 549 | if self.volGraphCebshow.isChecked(): |
|
550 | 550 | opObj10=self.upObj.addOperation(name='Scope', optype='other') |
|
551 | 551 | self.operObjList.append(opObj10) |
|
552 | self.idImag += 1 | |
|
553 | opObj10.addParameter(name='id', value=int(self.idImag), format='int') | |
|
554 | ||
|
552 | 555 | channelList=self.volGraphChannelList.text() |
|
553 |
|
|
|
556 | if self.volGraphChannelList.isModified(): | |
|
557 | try: | |
|
558 | opObj10.addParameter(name='channelList', value=channelList, format='int') | |
|
559 | except: | |
|
560 | return 0 | |
|
561 | ||
|
562 | xvalue= self.volGraphfreqrange.text() | |
|
563 | if self.volGraphfreqrange.isModified(): | |
|
564 | xvalueList=xvalue.split(',') | |
|
565 | try: | |
|
566 | opObj10.addParameter(name='xmin', value=xvalueList[0], format='int') | |
|
567 | opObj10.addParameter(name='xmax', value=xvalueList[1], format='int') | |
|
568 | except: | |
|
569 | return 0 | |
|
554 | 570 | yvalue= self.volGraphHeightrange.text() |
|
555 | ||
|
556 | opObj1.addParameter(name='idfigure', value=int(self.idImag), format='int') | |
|
557 | opObj10.addParameter(name='channelList', value=channelList, format='int') | |
|
558 | xvalueList=xvalue.split(',') | |
|
559 |
opObj10.addParameter(name=' |
|
|
560 | opObj10.addParameter(name='xmax', value=xvalueList[1], format='int') | |
|
561 | yvalueList=yvalue.split(",") | |
|
562 | opObj10.addParameter(name='ymin', value=yvalueList[0], format='int') | |
|
563 | opObj10.addParameter(name='ymax', value=yvalueList[1], format='int') | |
|
571 | if self.volGraphHeightrange.isModified(): | |
|
572 | yvalueList=yvalue.split(",") | |
|
573 | try: | |
|
574 | opObj10.addParameter(name='ymin', value=yvalueList[0], format='int') | |
|
575 | opObj10.addParameter(name='ymax', value=yvalueList[1], format='int') | |
|
576 | except: | |
|
577 | return 0 | |
|
564 | 578 | |
|
565 | 579 | if self.volGraphCebSave.isChecked(): |
|
566 | 580 | opObj10.addParameter(name='save', value='1', format='int') |
@@ -639,16 +653,20 class BasicWindow(QMainWindow,Ui_BasicWindow): | |||
|
639 | 653 | if self.__treeObjDict[i]==self.indexclick: |
|
640 | 654 | if self.__upObjDict.has_key(i)==True: |
|
641 | 655 | self.upObj=self.__upObjDict[i] |
|
642 | value1=self.specOpnFFTpoints.text() | |
|
643 | try: | |
|
644 | value1=int(self.specOpnFFTpoints.text()) | |
|
645 |
self. |
|
|
646 | except: | |
|
647 | self.tabgraphSpectra.setEnabled(False) | |
|
648 |
self. |
|
|
649 |
self.console. |
|
|
650 | return 0 | |
|
651 | self.upObj.addParameter(name='nFFTPoints',value=value1,format='int') | |
|
656 | if self.datatype==".r": | |
|
657 | value1=self.specOpnFFTpoints.text() | |
|
658 | try: | |
|
659 | value1=int(self.specOpnFFTpoints.text()) | |
|
660 | self.tabgraphSpectra.setEnabled(True) | |
|
661 | except: | |
|
662 | self.tabgraphSpectra.setEnabled(False) | |
|
663 | self.console.clear() | |
|
664 | self.console.append("Please Write the number of FFT") | |
|
665 | return 0 | |
|
666 | self.upObj.addParameter(name='nFFTPoints',value=value1,format='int') | |
|
667 | else: | |
|
668 | pass | |
|
669 | ||
|
652 | 670 | # self.operObjList.append(opObj10) |
|
653 | 671 | if self.specOpCebCrossSpectra.isChecked(): |
|
654 | 672 | value2=self.specOppairsList.text() |
@@ -870,7 +888,7 class BasicWindow(QMainWindow,Ui_BasicWindow): | |||
|
870 | 888 | opObj10=self.upObj.addOperation(name='SpectraPlot',optype='other') |
|
871 | 889 | |
|
872 | 890 | self.idImag += 1 |
|
873 |
opObj10.addParameter(name='id |
|
|
891 | opObj10.addParameter(name='id', value=int(self.idImag), format='int') | |
|
874 | 892 | |
|
875 | 893 | channelList=self.specGgraphChannelList.text() |
|
876 | 894 | if self.specGgraphChannelList.isModified(): |
@@ -924,7 +942,7 class BasicWindow(QMainWindow,Ui_BasicWindow): | |||
|
924 | 942 | |
|
925 | 943 | |
|
926 | 944 | self.idImag += 1 |
|
927 |
opObj10.addParameter(name='id |
|
|
945 | opObj10.addParameter(name='id', value=int(self.idImag), format='int') | |
|
928 | 946 | |
|
929 | 947 | channelList=self.specGgraphChannelList.text() |
|
930 | 948 | if self.specGgraphChannelList.isModified(): |
@@ -974,7 +992,7 class BasicWindow(QMainWindow,Ui_BasicWindow): | |||
|
974 | 992 | opObj10=self.upObj.addOperation(name='RTIPlot',optype='other') |
|
975 | 993 | |
|
976 | 994 | self.idImag += 1 |
|
977 |
opObj10.addParameter(name='id |
|
|
995 | opObj10.addParameter(name='id', value=int(self.idImag), format='int') | |
|
978 | 996 | |
|
979 | 997 | channelList=self.specGgraphChannelList.text() |
|
980 | 998 | if self.specGgraphChannelList.isModified(): |
@@ -1025,7 +1043,7 class BasicWindow(QMainWindow,Ui_BasicWindow): | |||
|
1025 | 1043 | opObj10.addParameter(name='phase_cmap', value='RdBu_r', format='str') |
|
1026 | 1044 | |
|
1027 | 1045 | self.idImag += 1 |
|
1028 |
opObj10.addParameter(name='id |
|
|
1046 | opObj10.addParameter(name='id', value=int(self.idImag), format='int') | |
|
1029 | 1047 | |
|
1030 | 1048 | channelList=self.specGgraphChannelList.text() |
|
1031 | 1049 | if self.specGgraphChannelList.isModified(): |
@@ -1074,7 +1092,7 class BasicWindow(QMainWindow,Ui_BasicWindow): | |||
|
1074 | 1092 | opObj10=self.upObj.addOperation(name='RTIfromNoise',optype='other') |
|
1075 | 1093 | |
|
1076 | 1094 | self.idImag += 1 |
|
1077 |
opObj10.addParameter(name='id |
|
|
1095 | opObj10.addParameter(name='id', value=int(self.idImag), format='int') | |
|
1078 | 1096 | |
|
1079 | 1097 | channelList=self.specGgraphChannelList.text() |
|
1080 | 1098 | if self.specGgraphChannelList.isModified(): |
@@ -1112,7 +1130,7 class BasicWindow(QMainWindow,Ui_BasicWindow): | |||
|
1112 | 1130 | if self.specGraphPowerprofile.isChecked(): |
|
1113 | 1131 | opObj10=self.upObj.addOperation(name='ProfilePlot',optype='other') |
|
1114 | 1132 | self.idImag += 1 |
|
1115 |
opObj10.addParameter(name='id |
|
|
1133 | opObj10.addParameter(name='id', value=int(self.idImag), format='int') | |
|
1116 | 1134 | |
|
1117 | 1135 | channelList=self.specGgraphChannelList.text() |
|
1118 | 1136 | if self.specGgraphChannelList.isModified(): |
General Comments 0
You need to be logged in to leave comments.
Login now