rapidtide 3.0a15__py3-none-any.whl → 3.0.2__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/DerivativeDelay.py +0 -4
- rapidtide/data/examples/src/testfmri +2 -2
- rapidtide/data/examples/src/testretro +9 -13
- rapidtide/happy_supportfuncs.py +70 -234
- rapidtide/io.py +19 -23
- rapidtide/refinedelay.py +4 -7
- rapidtide/tests/cleanposttest +0 -1
- rapidtide/tests/test_fullrunrapidtide_v3.py +10 -0
- rapidtide/tests/test_fullrunrapidtide_v6.py +0 -1
- rapidtide/tests/test_refinedelay.py +0 -3
- rapidtide/voxelData.py +125 -14
- rapidtide/workflows/delayestimation.py +8 -13
- rapidtide/workflows/delayvar.py +11 -13
- rapidtide/workflows/happy.py +72 -179
- rapidtide/workflows/rapidtide.py +99 -226
- rapidtide/workflows/regressfrommaps.py +12 -7
- rapidtide/workflows/retroregress.py +396 -336
- {rapidtide-3.0a15.dist-info → rapidtide-3.0.2.dist-info}/METADATA +7 -9
- {rapidtide-3.0a15.dist-info → rapidtide-3.0.2.dist-info}/RECORD +23 -23
- {rapidtide-3.0a15.dist-info → rapidtide-3.0.2.dist-info}/WHEEL +1 -1
- {rapidtide-3.0a15.dist-info → rapidtide-3.0.2.dist-info}/entry_points.txt +0 -0
- {rapidtide-3.0a15.dist-info → rapidtide-3.0.2.dist-info}/licenses/LICENSE +0 -0
- {rapidtide-3.0a15.dist-info → rapidtide-3.0.2.dist-info}/top_level.txt +0 -0
|
@@ -53,6 +53,7 @@ def regressfrommaps(
|
|
|
53
53
|
mp_chunksize=50000,
|
|
54
54
|
showprogressbar=True,
|
|
55
55
|
alwaysmultiproc=False,
|
|
56
|
+
saveEVsandquit=False,
|
|
56
57
|
debug=False,
|
|
57
58
|
):
|
|
58
59
|
if debug:
|
|
@@ -107,12 +108,6 @@ def regressfrommaps(
|
|
|
107
108
|
},
|
|
108
109
|
)
|
|
109
110
|
|
|
110
|
-
# and do the filtering
|
|
111
|
-
if LGR is not None:
|
|
112
|
-
LGR.info("Start filtering operation")
|
|
113
|
-
if TimingLGR is not None:
|
|
114
|
-
TimingLGR.info("Start filtering operation")
|
|
115
|
-
|
|
116
111
|
if regressderivs > 0:
|
|
117
112
|
if debug:
|
|
118
113
|
print(f"adding derivatives up to order {regressderivs} prior to regression")
|
|
@@ -126,9 +121,19 @@ def regressfrommaps(
|
|
|
126
121
|
print(f"using raw lagged regressors for regression")
|
|
127
122
|
regressorset = lagtc
|
|
128
123
|
evset = rt_floatset(genlagtc.yfromx(initial_fmri_x))
|
|
129
|
-
|
|
130
124
|
if debug:
|
|
131
125
|
print(f"{regressorset.shape=}")
|
|
126
|
+
|
|
127
|
+
if saveEVsandquit:
|
|
128
|
+
return 0, regressorset, evset
|
|
129
|
+
|
|
130
|
+
# now do the filtering
|
|
131
|
+
if LGR is not None:
|
|
132
|
+
LGR.info("Start filtering operation")
|
|
133
|
+
if TimingLGR is not None:
|
|
134
|
+
TimingLGR.info("Start filtering operation")
|
|
135
|
+
|
|
136
|
+
|
|
132
137
|
voxelsprocessed_regressionfilt = tide_linfitfiltpass.linfitfiltpass(
|
|
133
138
|
numvalidspatiallocs,
|
|
134
139
|
fmri_data_valid,
|