rapidtide 3.0.7__py3-none-any.whl → 3.0.7.1__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/_version.py +3 -3
- rapidtide/data/examples/src/testfmri +1 -1
- rapidtide/workflows/rapidtide.py +12 -6
- rapidtide/workflows/rapidtide_parser.py +3 -3
- rapidtide/workflows/retroregress.py +21 -3
- {rapidtide-3.0.7.dist-info → rapidtide-3.0.7.1.dist-info}/METADATA +1 -1
- {rapidtide-3.0.7.dist-info → rapidtide-3.0.7.1.dist-info}/RECORD +11 -11
- {rapidtide-3.0.7.dist-info → rapidtide-3.0.7.1.dist-info}/WHEEL +0 -0
- {rapidtide-3.0.7.dist-info → rapidtide-3.0.7.1.dist-info}/entry_points.txt +0 -0
- {rapidtide-3.0.7.dist-info → rapidtide-3.0.7.1.dist-info}/licenses/LICENSE +0 -0
- {rapidtide-3.0.7.dist-info → rapidtide-3.0.7.1.dist-info}/top_level.txt +0 -0
rapidtide/_version.py
CHANGED
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2025-06-
|
|
11
|
+
"date": "2025-06-16T15:12:43-0400",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "3.0.7"
|
|
14
|
+
"full-revisionid": "6dead8e554dd0464bdfc65de24889374508f920d",
|
|
15
|
+
"version": "3.0.7.1"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -6,6 +6,7 @@ rapidtide \
|
|
|
6
6
|
--searchrange -5 20 \
|
|
7
7
|
--simcalcrange 50 -1 \
|
|
8
8
|
--outputlevel more \
|
|
9
|
+
--sLFOfiltmask \
|
|
9
10
|
--graymattermask sub-RAPIDTIDETEST_synthseg.nii.gz:SSEG_GRAY \
|
|
10
11
|
--brainmask sub-RAPIDTIDETEST_brainmask.nii.gz \
|
|
11
12
|
--whitemattermask sub-RAPIDTIDETEST_synthseg.nii.gz:SSEG_WHITE \
|
|
@@ -20,7 +21,6 @@ rapidtide \
|
|
|
20
21
|
--searchrange -5 20 \
|
|
21
22
|
--simcalcrange 50 -1 \
|
|
22
23
|
--outputlevel more \
|
|
23
|
-
--nosLFOfiltmask \
|
|
24
24
|
--graymattermask sub-RAPIDTIDETEST_synthseg.nii.gz:SSEG_GRAY \
|
|
25
25
|
--brainmask sub-RAPIDTIDETEST_brainmask.nii.gz \
|
|
26
26
|
--whitemattermask sub-RAPIDTIDETEST_synthseg.nii.gz:SSEG_WHITE \
|
rapidtide/workflows/rapidtide.py
CHANGED
|
@@ -629,7 +629,6 @@ def rapidtide_main(argparsingfunc):
|
|
|
629
629
|
)
|
|
630
630
|
else:
|
|
631
631
|
internaloffsetexcludemask_valid = None
|
|
632
|
-
|
|
633
632
|
tide_util.logmem("after selecting valid voxels")
|
|
634
633
|
|
|
635
634
|
# move fmri_data_valid into shared memory
|
|
@@ -742,7 +741,7 @@ def rapidtide_main(argparsingfunc):
|
|
|
742
741
|
theheader["dim"][4] = 1
|
|
743
742
|
theheader["pixdim"][4] = 1.0
|
|
744
743
|
maplist = [
|
|
745
|
-
(confoundr2, "confoundfilterR2", "map", None, "R2 of the motion/confound regression")
|
|
744
|
+
(confoundr2, "confoundfilterR2", "map", None, "R2 of the motion/confound regression"),
|
|
746
745
|
]
|
|
747
746
|
tide_io.savemaplist(
|
|
748
747
|
outputname,
|
|
@@ -2656,9 +2655,10 @@ def rapidtide_main(argparsingfunc):
|
|
|
2656
2655
|
optiondict["currentstage"] = "presLFOfit"
|
|
2657
2656
|
tide_io.writedicttojson(optiondict, f"{outputname}_desc-runoptions_info.json")
|
|
2658
2657
|
if optiondict["dolinfitfilt"] or optiondict["docvrmap"] or optiondict["refinedelay"]:
|
|
2659
|
-
sLFOfiltmask
|
|
2660
|
-
|
|
2661
|
-
|
|
2658
|
+
if optiondict["sLFOfiltmask"]:
|
|
2659
|
+
sLFOfiltmask = fitmask + 0.0
|
|
2660
|
+
else:
|
|
2661
|
+
sLFOfiltmask = fitmask * 0.0 + 1.0
|
|
2662
2662
|
if optiondict["dolinfitfilt"]:
|
|
2663
2663
|
if optiondict["refinedelay"]:
|
|
2664
2664
|
TimingLGR.info("Setting up for delay refinement and sLFO filtering")
|
|
@@ -3549,7 +3549,13 @@ def rapidtide_main(argparsingfunc):
|
|
|
3549
3549
|
if theinputdata.filetype != "nifti":
|
|
3550
3550
|
unfiltmeanvalue = meanvalue
|
|
3551
3551
|
maplist = [
|
|
3552
|
-
(
|
|
3552
|
+
(
|
|
3553
|
+
unfiltmeanvalue,
|
|
3554
|
+
"unfiltmean",
|
|
3555
|
+
"map",
|
|
3556
|
+
None,
|
|
3557
|
+
"Voxelwise mean of fmri data before smoothing",
|
|
3558
|
+
),
|
|
3553
3559
|
(meanvalue, "mean", "map", None, "Voxelwise mean of fmri data"),
|
|
3554
3560
|
(stddevvalue, "std", "map", None, "Voxelwise standard deviation of fmri data"),
|
|
3555
3561
|
(covvalue, "CoV", "map", None, "Voxelwise coefficient of variation of fmri data"),
|
|
@@ -1463,10 +1463,10 @@ def _get_parser():
|
|
|
1463
1463
|
default=False,
|
|
1464
1464
|
)
|
|
1465
1465
|
experimental.add_argument(
|
|
1466
|
-
"--
|
|
1467
|
-
dest="
|
|
1466
|
+
"--sLFOfiltmask",
|
|
1467
|
+
dest="sLFOfiltmask",
|
|
1468
1468
|
action="store_true",
|
|
1469
|
-
help=("
|
|
1469
|
+
help=("Limit sLFO filter to fit voxels."),
|
|
1470
1470
|
default=False,
|
|
1471
1471
|
)
|
|
1472
1472
|
experimental.add_argument(
|
|
@@ -219,6 +219,13 @@ def _get_parser():
|
|
|
219
219
|
help=("Output lots of helpful information on a limited subset of operations."),
|
|
220
220
|
default=False,
|
|
221
221
|
)
|
|
222
|
+
parser.add_argument(
|
|
223
|
+
"--sLFOfiltmask",
|
|
224
|
+
dest="sLFOfiltmask",
|
|
225
|
+
action="store_true",
|
|
226
|
+
help=("Limit sLFO filter to fit voxels."),
|
|
227
|
+
default=False,
|
|
228
|
+
)
|
|
222
229
|
experimental = parser.add_argument_group(
|
|
223
230
|
"Experimental options (not fully tested, or not tested at all, may not work). Beware!"
|
|
224
231
|
)
|
|
@@ -515,6 +522,10 @@ def retroregress(args):
|
|
|
515
522
|
lagtimes_valid = lagtimes_spacebytime[validvoxels]
|
|
516
523
|
corrmask_valid = corrmask_spacebytime[validvoxels]
|
|
517
524
|
procmask_valid = procmask_spacebytime[validvoxels]
|
|
525
|
+
if args.sLFOfiltmask:
|
|
526
|
+
sLFOfiltmask_valid = corrmask_spacebytime[validvoxels] + 0.0
|
|
527
|
+
else:
|
|
528
|
+
sLFOfiltmask_valid = corrmask_spacebytime[validvoxels] * 0.0 + 1.0
|
|
518
529
|
if args.debug:
|
|
519
530
|
print(f"{fmri_data_valid.shape=}")
|
|
520
531
|
|
|
@@ -638,7 +649,7 @@ def retroregress(args):
|
|
|
638
649
|
validvoxels,
|
|
639
650
|
initial_fmri_x,
|
|
640
651
|
lagtimes_valid,
|
|
641
|
-
|
|
652
|
+
sLFOfiltmask_valid,
|
|
642
653
|
genlagtc,
|
|
643
654
|
mode,
|
|
644
655
|
outputname,
|
|
@@ -770,7 +781,7 @@ def retroregress(args):
|
|
|
770
781
|
validvoxels,
|
|
771
782
|
initial_fmri_x,
|
|
772
783
|
lagstouse_valid,
|
|
773
|
-
|
|
784
|
+
sLFOfiltmask_valid,
|
|
774
785
|
genlagtc,
|
|
775
786
|
mode,
|
|
776
787
|
outputname,
|
|
@@ -1032,6 +1043,13 @@ def retroregress(args):
|
|
|
1032
1043
|
"corrfitREAD",
|
|
1033
1044
|
"mask",
|
|
1034
1045
|
None,
|
|
1046
|
+
"Correlation mask read for calculation",
|
|
1047
|
+
),
|
|
1048
|
+
(
|
|
1049
|
+
sLFOfiltmask_valid,
|
|
1050
|
+
"corrfitUSED",
|
|
1051
|
+
"mask",
|
|
1052
|
+
None,
|
|
1035
1053
|
"Correlation mask used for calculation",
|
|
1036
1054
|
),
|
|
1037
1055
|
(
|
|
@@ -1255,7 +1273,7 @@ def retroregress(args):
|
|
|
1255
1273
|
validvoxels,
|
|
1256
1274
|
initial_fmri_x,
|
|
1257
1275
|
lagstouse_valid,
|
|
1258
|
-
|
|
1276
|
+
sLFOfiltmask_valid,
|
|
1259
1277
|
genlagtc,
|
|
1260
1278
|
mode,
|
|
1261
1279
|
outputname,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rapidtide
|
|
3
|
-
Version: 3.0.7
|
|
3
|
+
Version: 3.0.7.1
|
|
4
4
|
Summary: Tools for performing correlation analysis on fMRI data.
|
|
5
5
|
Author: Taylor Salo, Daniel M. Drucker, Ph.D., Jeffrey N Stout, Yaroslav O. Halchenko, Derek Monroe
|
|
6
6
|
Author-email: "Blaise deB. Frederick" <blaise.frederick@gmail.com>
|
|
@@ -11,7 +11,7 @@ rapidtide/OrthoImageItem.py,sha256=w70QNZUelMI7wTWYaqOfkJEb38PdsxgSf0NLdyjlcNs,2
|
|
|
11
11
|
rapidtide/RapidtideDataset.py,sha256=mHK6dL1cFSSM5jYw6rkzb57lWVVz-TGX-xMeV8IqF-M,53013
|
|
12
12
|
rapidtide/RegressorRefiner.py,sha256=dPG9Vy2nlqxv2Mx9vrYtgYTsNGcVIwWknawDrNdpZxQ,17232
|
|
13
13
|
rapidtide/__init__.py,sha256=cECnPfGNIWXETiummGLjKcNXLROSDiFlLp-RpZSavwc,97
|
|
14
|
-
rapidtide/_version.py,sha256=
|
|
14
|
+
rapidtide/_version.py,sha256=nGOK9Y4kAlCPPzJq-zQNTe4jFVy3RCsh5YI-vm-Avnw,499
|
|
15
15
|
rapidtide/calccoherence.py,sha256=-_vglu0MZB85Aodw6GpYhBApFBt5eslppfxF4rXM6Xg,3409
|
|
16
16
|
rapidtide/calcnullsimfunc.py,sha256=34osvoQ_tWk3VeFk7g3TYsmpPVRMIkEX31KYvx5Ox_A,5032
|
|
17
17
|
rapidtide/calcsimfunc.py,sha256=xCPYns-XOnLWjwujbP7a7EwGEzhEwOHMf04RpFlL3SI,4713
|
|
@@ -65,7 +65,7 @@ rapidtide/data/examples/src/testdecomp,sha256=xxxr510aOBjtpJy4aQNAFTyEFZD6QdHp6-
|
|
|
65
65
|
rapidtide/data/examples/src/testdelayvar,sha256=tMn1k8IfvBL7MKhgGC6EGcSkChtXWKp1bENOGG4SagI,330
|
|
66
66
|
rapidtide/data/examples/src/testfileorfloat,sha256=9r4mz7pBV_8iFZya9kmtfbnTRS3-94Cx9Q63Ni3mkZs,815
|
|
67
67
|
rapidtide/data/examples/src/testfingerprint,sha256=RlAIC1lMDWMGzZKxY24DJRuaUEL0BenSFBey0gL5dqU,402
|
|
68
|
-
rapidtide/data/examples/src/testfmri,sha256=
|
|
68
|
+
rapidtide/data/examples/src/testfmri,sha256=esoO2phGnKgFPS31VRsCibVNOONsgmkNCJGpPTxRgpo,970
|
|
69
69
|
rapidtide/data/examples/src/testfmridocker,sha256=jjL7bK29rrcog6uO9BtvcyAU3Sv8_5cbw2nqKoiZ95o,1193
|
|
70
70
|
rapidtide/data/examples/src/testfrozen,sha256=K3qUWDRKPPiCXRgIFuPdwUUjUTzf4QBW8UUhR75NzDM,283
|
|
71
71
|
rapidtide/data/examples/src/testfuncs,sha256=zjq9u7mXMf0UlbUgePyS1mj7QHclicmw6NY0g31SqeY,1551
|
|
@@ -322,14 +322,14 @@ rapidtide/workflows/plethquality.py,sha256=kTO74C5aSBmomzt59zs1VeiO_C5SPTxvyZZ0v
|
|
|
322
322
|
rapidtide/workflows/polyfitim.py,sha256=bVKBrrFa0WjWZju4Lkrr8_9mFWALqCxkpCX28540GQA,10184
|
|
323
323
|
rapidtide/workflows/proj2flow.py,sha256=SbkYTRZ_SViVfiM0QJjo20RrICtbsQpEd2i9o9XDgPU,7290
|
|
324
324
|
rapidtide/workflows/rankimage.py,sha256=9opJb3OikO69wtN8zgF3XJxgoHy1-erzZiDKs8pDM6U,3482
|
|
325
|
-
rapidtide/workflows/rapidtide.py,sha256=
|
|
325
|
+
rapidtide/workflows/rapidtide.py,sha256=g2EJzfAOo-mTw6233kHa4m1NpB71mIqaEHpd_QBw1Pc,154310
|
|
326
326
|
rapidtide/workflows/rapidtide2std.py,sha256=coxEnRAof6NNpeXjjECPazx5Wotf4l1SJCnaVEvmHQY,10483
|
|
327
|
-
rapidtide/workflows/rapidtide_parser.py,sha256=
|
|
327
|
+
rapidtide/workflows/rapidtide_parser.py,sha256=hnzEyD_SYAZ2puzmuceg9ezWB14UwUofCrd86R-L16k,78437
|
|
328
328
|
rapidtide/workflows/regressfrommaps.py,sha256=GTpqnOkyA1A3Ki0oZ0ugSJrjrYa2gbtIGeKPpF49IxU,5319
|
|
329
329
|
rapidtide/workflows/resamplenifti.py,sha256=GJE7f8bzMRY3QYiMYZOD8bDnga4ah97sp-ZL3yaaIFA,4717
|
|
330
330
|
rapidtide/workflows/resampletc.py,sha256=B4YIKn3qpDaM9dIhYjGwPl-2LtaEhm9fnMBzfBgAUSs,3959
|
|
331
331
|
rapidtide/workflows/retrolagtcs.py,sha256=ep1Ve1GS9NqqE6Pw9kxeWyw78sEg-M1IV-KuSnivd7Y,10847
|
|
332
|
-
rapidtide/workflows/retroregress.py,sha256=
|
|
332
|
+
rapidtide/workflows/retroregress.py,sha256=rCtUbrU8AQJvo8_9mx99ty9CQD4RdvFYCAcDFbcnWJk,53239
|
|
333
333
|
rapidtide/workflows/roisummarize.py,sha256=gnGcWOXRgRm6USgilj9K9Q3Mt5oUNCaincvJj1_ayPs,6710
|
|
334
334
|
rapidtide/workflows/runqualitycheck.py,sha256=JIA2olhDk66HHSbLvsFrZieQq56YCIpbWpFzz0_ShHM,2434
|
|
335
335
|
rapidtide/workflows/showarbcorr.py,sha256=FYgc_L8E0IqUeB4XpFZIFXHMuzWYLxQykwyfYTVZ0G8,14115
|
|
@@ -348,9 +348,9 @@ rapidtide/workflows/tcfrom3col.py,sha256=kV3V-qZ7A7LkD96aHVXabvohA8udsflHXnzsQIw
|
|
|
348
348
|
rapidtide/workflows/tidepool.py,sha256=Cac0zhS2ZT6myY_H2A0dAIox8ZoFyf42iB3flSb0qbw,86612
|
|
349
349
|
rapidtide/workflows/utils.py,sha256=urIN-042oUCRDusVUSjBelVN3Te2JP3svY3ckq-yBMU,5379
|
|
350
350
|
rapidtide/workflows/variabilityizer.py,sha256=h7Hhrxn84MclRfbAvKIZJoNzlcKO-8d9lZ6y6YFStk8,3167
|
|
351
|
-
rapidtide-3.0.7.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
352
|
-
rapidtide-3.0.7.dist-info/METADATA,sha256=
|
|
353
|
-
rapidtide-3.0.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
354
|
-
rapidtide-3.0.7.dist-info/entry_points.txt,sha256=9NVvZpIx9U6lTWlTFF2ev-wuPAHJxcXI_901_EcGRYA,3323
|
|
355
|
-
rapidtide-3.0.7.dist-info/top_level.txt,sha256=MnNXGfbrIBc9RnAqzBHOWd3GQO-aIUDnRTz4_5VjH5g,16
|
|
356
|
-
rapidtide-3.0.7.dist-info/RECORD,,
|
|
351
|
+
rapidtide-3.0.7.1.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
|
352
|
+
rapidtide-3.0.7.1.dist-info/METADATA,sha256=nFeUGcVYOj4-7nzYgVFTVdvvdZ5vCIRIbLnc__fwWVs,15690
|
|
353
|
+
rapidtide-3.0.7.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
354
|
+
rapidtide-3.0.7.1.dist-info/entry_points.txt,sha256=9NVvZpIx9U6lTWlTFF2ev-wuPAHJxcXI_901_EcGRYA,3323
|
|
355
|
+
rapidtide-3.0.7.1.dist-info/top_level.txt,sha256=MnNXGfbrIBc9RnAqzBHOWd3GQO-aIUDnRTz4_5VjH5g,16
|
|
356
|
+
rapidtide-3.0.7.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|