rapidtide 3.0a8__py3-none-any.whl → 3.0a10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  # Form implementation generated from reading ui file 'tidepoolTemplate.ui'
2
2
  #
3
- # Created by: PyQt6 UI code generator 6.7.1
3
+ # Created by: PyQt6 UI code generator 6.8.1
4
4
  #
5
5
  # WARNING: Any manual changes made to this file will be lost when pyuic6 is
6
6
  # run again. Do not edit this file unless you know what you are doing.
@@ -54,7 +54,7 @@ class Ui_MainWindow(object):
54
54
  self.label.setWordWrap(True)
55
55
  self.label.setObjectName("label")
56
56
  self.layoutWidget = QtWidgets.QWidget(parent=self.imageData_groupBox)
57
- self.layoutWidget.setGeometry(QtCore.QRect(10, 20, 1073, 286))
57
+ self.layoutWidget.setGeometry(QtCore.QRect(10, 20, 1074, 286))
58
58
  self.layoutWidget.setObjectName("layoutWidget")
59
59
  self.largeimage_horizontalLayout = QtWidgets.QHBoxLayout(self.layoutWidget)
60
60
  self.largeimage_horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SizeConstraint.SetNoConstraint)
@@ -136,6 +136,10 @@ class Ui_MainWindow(object):
136
136
  self.verticalLayout_3.addWidget(self.setMask_Button)
137
137
  spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
138
138
  self.verticalLayout_3.addItem(spacerItem1)
139
+ self.transparency_checkBox = QtWidgets.QCheckBox(parent=self.layoutWidget)
140
+ self.transparency_checkBox.setChecked(False)
141
+ self.transparency_checkBox.setObjectName("transparency_checkBox")
142
+ self.verticalLayout_3.addWidget(self.transparency_checkBox)
139
143
  self.dispmin_doubleSpinBox = QtWidgets.QDoubleSpinBox(parent=self.layoutWidget)
140
144
  self.dispmin_doubleSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
141
145
  self.dispmin_doubleSpinBox.setDecimals(3)
@@ -167,13 +171,13 @@ class Ui_MainWindow(object):
167
171
  self.thermal_radioButton.setObjectName("thermal_radioButton")
168
172
  self.colormap_buttonGroup.addButton(self.thermal_radioButton)
169
173
  self.colormap_verticalLayout.addWidget(self.thermal_radioButton)
170
- self.GYR_radioButton = QtWidgets.QRadioButton(parent=self.layoutWidget)
174
+ self.plasma_radioButton = QtWidgets.QRadioButton(parent=self.layoutWidget)
171
175
  font = QtGui.QFont()
172
176
  font.setPointSize(10)
173
- self.GYR_radioButton.setFont(font)
174
- self.GYR_radioButton.setObjectName("GYR_radioButton")
175
- self.colormap_buttonGroup.addButton(self.GYR_radioButton)
176
- self.colormap_verticalLayout.addWidget(self.GYR_radioButton)
177
+ self.plasma_radioButton.setFont(font)
178
+ self.plasma_radioButton.setObjectName("plasma_radioButton")
179
+ self.colormap_buttonGroup.addButton(self.plasma_radioButton)
180
+ self.colormap_verticalLayout.addWidget(self.plasma_radioButton)
177
181
  self.rainbow_radioButton = QtWidgets.QRadioButton(parent=self.layoutWidget)
178
182
  font = QtGui.QFont()
179
183
  font.setPointSize(10)
@@ -604,7 +608,7 @@ class Ui_MainWindow(object):
604
608
  self.label_12.setObjectName("label_12")
605
609
  MainWindow.setCentralWidget(self.centralwidget)
606
610
  self.menubar = QtWidgets.QMenuBar(parent=MainWindow)
607
- self.menubar.setGeometry(QtCore.QRect(0, 0, 1129, 22))
611
+ self.menubar.setGeometry(QtCore.QRect(0, 0, 1129, 24))
608
612
  self.menubar.setObjectName("menubar")
609
613
  MainWindow.setMenuBar(self.menubar)
610
614
  self.statusbar = QtWidgets.QStatusBar(parent=MainWindow)
@@ -626,10 +630,12 @@ class Ui_MainWindow(object):
626
630
  self.resetDispSmart_Button.setText(_translate("MainWindow", "Smart"))
627
631
  self.saveDisp_Button.setText(_translate("MainWindow", "Save"))
628
632
  self.setMask_Button.setText(_translate("MainWindow", "No mask"))
633
+ self.transparency_checkBox.setToolTip(_translate("MainWindow", "With transparency on, map values outside the range limits are not displayed."))
634
+ self.transparency_checkBox.setText(_translate("MainWindow", "Transparency"))
629
635
  self.label_2.setText(_translate("MainWindow", "Colormap"))
630
636
  self.gray_radioButton.setText(_translate("MainWindow", "Gray"))
631
637
  self.thermal_radioButton.setText(_translate("MainWindow", "Thermal"))
632
- self.GYR_radioButton.setText(_translate("MainWindow", "GYR"))
638
+ self.plasma_radioButton.setText(_translate("MainWindow", "Plasma"))
633
639
  self.rainbow_radioButton.setText(_translate("MainWindow", "Rainbow"))
634
640
  self.viridis_radioButton.setText(_translate("MainWindow", "Viridis"))
635
641
  self.turbo_radioButton.setText(_translate("MainWindow", "Turbo"))
@@ -1968,11 +1968,13 @@ def rapidtide_main(argparsingfunc):
1968
1968
  if optiondict["check_autocorrelation"]:
1969
1969
  LGR.info("checking reference regressor autocorrelation properties")
1970
1970
  optiondict["lagmod"] = 1000.0
1971
- lagindpad = corrorigin - 2 * np.max((lagmininpts, lagmaxinpts))
1972
- acmininpts = lagmininpts + lagindpad
1973
- acmaxinpts = lagmaxinpts + lagindpad
1971
+ lagindpad = np.max((lagmininpts, lagmaxinpts))
1972
+ acmininpts = lagindpad
1973
+ acmaxinpts = lagindpad
1974
1974
  theCorrelator.setreftc(referencetc)
1975
1975
  theCorrelator.setlimits(acmininpts, acmaxinpts)
1976
+ # theCorrelator.setlimits(lagmininpts, lagmaxinpts)
1977
+ print("check_autocorrelation:", acmininpts, acmaxinpts, lagmininpts, lagmaxinpts)
1976
1978
  thexcorr, accheckcorrscale, dummy = theCorrelator.run(
1977
1979
  resampref_y[osvalidsimcalcstart : osvalidsimcalcend + 1]
1978
1980
  )
@@ -2156,7 +2158,8 @@ def rapidtide_main(argparsingfunc):
2156
2158
  theMutualInformationator.setreftc(cleaned_resampref_y)
2157
2159
  dummy, trimmedcorrscale, dummy = theCorrelator.getfunction()
2158
2160
  thefitter.setcorrtimeaxis(trimmedcorrscale)
2159
- # add parallel path for mutualinformationator BBF
2161
+
2162
+ # parallel path for mutual information
2160
2163
  if optiondict["similaritymetric"] == "mutualinfo":
2161
2164
  theSimFunc = theMutualInformationator
2162
2165
  else:
@@ -3838,7 +3841,7 @@ def rapidtide_main(argparsingfunc):
3838
3841
  (fitmask, "corrfit", "mask", None, "Voxels where correlation value was fit"),
3839
3842
  (failreason, "corrfitfailreason", "info", None, "Result codes for correlation fit"),
3840
3843
  ]
3841
- MTT = np.square(lagsigma) - (optiondict["acwidth"] * optiondict["acwidth"])
3844
+ MTT = np.square(lagsigma) - 0.5 * (optiondict["acwidth"] * optiondict["acwidth"])
3842
3845
  MTT = np.where(MTT > 0.0, MTT, 0.0)
3843
3846
  MTT = np.sqrt(MTT)
3844
3847
  savelist += [(MTT, "MTT", "map", "second", "Mean transit time (estimated)")]