rapidtide 3.0a7__py3-none-any.whl → 3.0a9__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.
- rapidtide/OrthoImageItem.py +24 -5
- rapidtide/RapidtideDataset.py +43 -4
- rapidtide/data/examples/src/testfmri +4 -15
- rapidtide/happy_supportfuncs.py +21 -0
- rapidtide/helper_classes.py +10 -1
- rapidtide/io.py +1 -1
- rapidtide/simfuncfit.py +1 -1
- rapidtide/tidepoolTemplate.py +84 -167
- rapidtide/tidepoolTemplate.ui +64 -44
- rapidtide/tidepoolTemplate_alt.py +90 -172
- rapidtide/tidepoolTemplate_alt.ui +63 -44
- rapidtide/tidepoolTemplate_alt2.ui +1965 -0
- rapidtide/tidepoolTemplate_alt_qt6.py +17 -3
- rapidtide/tidepoolTemplate_big.py +992 -0
- rapidtide/tidepoolTemplate_big.ui +2395 -0
- rapidtide/tidepoolTemplate_big_qt6.py +990 -0
- rapidtide/tidepoolTemplate_qt6.py +19 -9
- rapidtide/workflows/rapidtide.py +8 -5
- rapidtide/workflows/tidepool.py +548 -466
- {rapidtide-3.0a7.dist-info → rapidtide-3.0a9.dist-info}/METADATA +1 -1
- {rapidtide-3.0a7.dist-info → rapidtide-3.0a9.dist-info}/RECORD +25 -21
- {rapidtide-3.0a7.dist-info → rapidtide-3.0a9.dist-info}/WHEEL +1 -1
- {rapidtide-3.0a7.dist-info → rapidtide-3.0a9.dist-info}/LICENSE +0 -0
- {rapidtide-3.0a7.dist-info → rapidtide-3.0a9.dist-info}/entry_points.txt +0 -0
- {rapidtide-3.0a7.dist-info → rapidtide-3.0a9.dist-info}/top_level.txt +0 -0
|
@@ -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.
|
|
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,
|
|
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)
|
|
@@ -134,8 +134,15 @@ class Ui_MainWindow(object):
|
|
|
134
134
|
self.setMask_Button = QtWidgets.QPushButton(parent=self.layoutWidget)
|
|
135
135
|
self.setMask_Button.setObjectName("setMask_Button")
|
|
136
136
|
self.verticalLayout_3.addWidget(self.setMask_Button)
|
|
137
|
+
self.nextFile_Button = QtWidgets.QPushButton(parent=self.layoutWidget)
|
|
138
|
+
self.nextFile_Button.setObjectName("nextFile_Button")
|
|
139
|
+
self.verticalLayout_3.addWidget(self.nextFile_Button)
|
|
137
140
|
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
|
|
138
141
|
self.verticalLayout_3.addItem(spacerItem1)
|
|
142
|
+
self.transparency_checkBox = QtWidgets.QCheckBox(parent=self.layoutWidget)
|
|
143
|
+
self.transparency_checkBox.setChecked(False)
|
|
144
|
+
self.transparency_checkBox.setObjectName("transparency_checkBox")
|
|
145
|
+
self.verticalLayout_3.addWidget(self.transparency_checkBox)
|
|
139
146
|
self.dispmin_doubleSpinBox = QtWidgets.QDoubleSpinBox(parent=self.layoutWidget)
|
|
140
147
|
self.dispmin_doubleSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
|
|
141
148
|
self.dispmin_doubleSpinBox.setDecimals(3)
|
|
@@ -167,13 +174,13 @@ class Ui_MainWindow(object):
|
|
|
167
174
|
self.thermal_radioButton.setObjectName("thermal_radioButton")
|
|
168
175
|
self.colormap_buttonGroup.addButton(self.thermal_radioButton)
|
|
169
176
|
self.colormap_verticalLayout.addWidget(self.thermal_radioButton)
|
|
170
|
-
self.
|
|
177
|
+
self.plasma_radioButton = QtWidgets.QRadioButton(parent=self.layoutWidget)
|
|
171
178
|
font = QtGui.QFont()
|
|
172
179
|
font.setPointSize(10)
|
|
173
|
-
self.
|
|
174
|
-
self.
|
|
175
|
-
self.colormap_buttonGroup.addButton(self.
|
|
176
|
-
self.colormap_verticalLayout.addWidget(self.
|
|
180
|
+
self.plasma_radioButton.setFont(font)
|
|
181
|
+
self.plasma_radioButton.setObjectName("plasma_radioButton")
|
|
182
|
+
self.colormap_buttonGroup.addButton(self.plasma_radioButton)
|
|
183
|
+
self.colormap_verticalLayout.addWidget(self.plasma_radioButton)
|
|
177
184
|
self.rainbow_radioButton = QtWidgets.QRadioButton(parent=self.layoutWidget)
|
|
178
185
|
font = QtGui.QFont()
|
|
179
186
|
font.setPointSize(10)
|
|
@@ -604,7 +611,7 @@ class Ui_MainWindow(object):
|
|
|
604
611
|
self.label_12.setObjectName("label_12")
|
|
605
612
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
606
613
|
self.menubar = QtWidgets.QMenuBar(parent=MainWindow)
|
|
607
|
-
self.menubar.setGeometry(QtCore.QRect(0, 0, 1129,
|
|
614
|
+
self.menubar.setGeometry(QtCore.QRect(0, 0, 1129, 24))
|
|
608
615
|
self.menubar.setObjectName("menubar")
|
|
609
616
|
MainWindow.setMenuBar(self.menubar)
|
|
610
617
|
self.statusbar = QtWidgets.QStatusBar(parent=MainWindow)
|
|
@@ -626,10 +633,13 @@ class Ui_MainWindow(object):
|
|
|
626
633
|
self.resetDispSmart_Button.setText(_translate("MainWindow", "Smart"))
|
|
627
634
|
self.saveDisp_Button.setText(_translate("MainWindow", "Save"))
|
|
628
635
|
self.setMask_Button.setText(_translate("MainWindow", "No mask"))
|
|
636
|
+
self.nextFile_Button.setText(_translate("MainWindow", "Next file"))
|
|
637
|
+
self.transparency_checkBox.setToolTip(_translate("MainWindow", "With transparency on, map values outside the range limits are not displayed."))
|
|
638
|
+
self.transparency_checkBox.setText(_translate("MainWindow", "Transparency"))
|
|
629
639
|
self.label_2.setText(_translate("MainWindow", "Colormap"))
|
|
630
640
|
self.gray_radioButton.setText(_translate("MainWindow", "Gray"))
|
|
631
641
|
self.thermal_radioButton.setText(_translate("MainWindow", "Thermal"))
|
|
632
|
-
self.
|
|
642
|
+
self.plasma_radioButton.setText(_translate("MainWindow", "Plasma"))
|
|
633
643
|
self.rainbow_radioButton.setText(_translate("MainWindow", "Rainbow"))
|
|
634
644
|
self.viridis_radioButton.setText(_translate("MainWindow", "Viridis"))
|
|
635
645
|
self.turbo_radioButton.setText(_translate("MainWindow", "Turbo"))
|
rapidtide/workflows/rapidtide.py
CHANGED
|
@@ -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 =
|
|
1972
|
-
acmininpts =
|
|
1973
|
-
acmaxinpts =
|
|
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
|
-
|
|
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)")]
|