rapidtide 3.0.3__py3-none-any.whl → 3.0.5__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/io.py CHANGED
@@ -1426,6 +1426,8 @@ def writebidstsv(
1426
1426
  yaxislabel="arbitrary value",
1427
1427
  starttime=0.0,
1428
1428
  append=False,
1429
+ samplerate_tolerance=1e-6,
1430
+ starttime_tolerance=1e-6,
1429
1431
  colsinjson=True,
1430
1432
  colsintsv=False,
1431
1433
  omitjson=False,
@@ -1498,8 +1500,8 @@ def writebidstsv(
1498
1500
  )
1499
1501
  compressed = incompressed
1500
1502
  if (
1501
- (insamplerate == samplerate)
1502
- and (instarttime == starttime)
1503
+ np.fabs(insamplerate - samplerate) < samplerate_tolerance
1504
+ and np.fabs(instarttime - starttime) < starttime_tolerance
1503
1505
  and reshapeddata.shape[1] == indata.shape[1]
1504
1506
  ):
1505
1507
  startcol = len(incolumns)
@@ -1938,7 +1940,12 @@ def parsefilespec(filespec, debug=False):
1938
1940
  if debug:
1939
1941
  print(f"PARSEFILESPEC: input string >>>{filespec}<<<")
1940
1942
  print(f"PARSEFILESPEC: platform is {platform.system()}")
1941
- if filespec[1] == ":" and platform.system() == "Windows":
1943
+
1944
+ specialcase = False
1945
+ if len(inputlist) > 1:
1946
+ if filespec[1] == ":" and platform.system() == "Windows":
1947
+ specialcase = True
1948
+ if specialcase:
1942
1949
  thefilename = ":".join([inputlist[0], inputlist[1]])
1943
1950
  if len(inputlist) == 3:
1944
1951
  thecolspec = inputlist[2]
@@ -23,7 +23,6 @@ import matplotlib as mpl
23
23
  import rapidtide.qualitycheck as rapidtide_quality
24
24
  import rapidtide.workflows.rapidtide as rapidtide_workflow
25
25
  import rapidtide.workflows.rapidtide_parser as rapidtide_parser
26
- import rapidtide.workflows.retroregress as rapidtide_retroregress
27
26
  from rapidtide.tests.utils import get_examples_path, get_test_temp_path
28
27
 
29
28
 
@@ -57,7 +56,6 @@ def test_fullrunrapidtide_v1(debug=False, local=False, displayplots=False):
57
56
  rapidtide_workflow.rapidtide_main(rapidtide_parser.process_args(inputargs=inputargs))
58
57
  rapidtide_quality.qualitycheck(os.path.join(testtemproot, "sub-RAPIDTIDETEST1"))
59
58
 
60
-
61
59
  # test fixval
62
60
  inputargs = [
63
61
  os.path.join(exampleroot, "sub-RAPIDTIDETEST.nii.gz"),
@@ -0,0 +1,140 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ #
4
+ # Copyright 2016-2025 Blaise Frederick
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+ #
19
+ import numpy as np
20
+
21
+ from rapidtide.workflows.adjustoffset import _get_parser as adjustoffset_getparser
22
+ from rapidtide.workflows.aligntcs import _get_parser as aligntcs_getparser
23
+ from rapidtide.workflows.applydlfilter import _get_parser as applydlfilter_getparser
24
+ from rapidtide.workflows.atlasaverage import _get_parser as atlasaverage_getparser
25
+ from rapidtide.workflows.atlastool import _get_parser as atlastool_getparser
26
+ from rapidtide.workflows.calctexticc import _get_parser as calctexticc_getparser
27
+ from rapidtide.workflows.ccorrica import _get_parser as ccorrica_getparser
28
+ from rapidtide.workflows.delayvar import _get_parser as delayvar_getparser
29
+ from rapidtide.workflows.diffrois import _get_parser as diffrois_getparser
30
+ from rapidtide.workflows.endtidalproc import _get_parser as endtidalproc_getparser
31
+ from rapidtide.workflows.fdica import _get_parser as fdica_getparser
32
+ from rapidtide.workflows.filtnifti import _get_parser as filtnifti_getparser
33
+ from rapidtide.workflows.filttc import _get_parser as filttc_getparser
34
+ from rapidtide.workflows.fixtr import _get_parser as fixtr_getparser
35
+ from rapidtide.workflows.gmscalc import _get_parser as gmscalc_getparser
36
+ from rapidtide.workflows.happy_parser import _get_parser as happy_parser_getparser
37
+ from rapidtide.workflows.happy2std import _get_parser as happy2std_getparser
38
+ from rapidtide.workflows.histnifti import _get_parser as histnifti_getparser
39
+ from rapidtide.workflows.histtc import _get_parser as histtc_getparser
40
+ from rapidtide.workflows.linfitfilt import _get_parser as linfitfilt_getparser
41
+ from rapidtide.workflows.localflow import _get_parser as localflow_getparser
42
+ from rapidtide.workflows.mergequality import _get_parser as mergequality_getparser
43
+ from rapidtide.workflows.niftidecomp import _get_parser_temporal as niftidecomp_getparser_temporal
44
+ from rapidtide.workflows.niftidecomp import _get_parser_spatial as niftidecomp_getparser_spatial
45
+ from rapidtide.workflows.niftistats import _get_parser as niftistats_getparser
46
+ from rapidtide.workflows.pairproc import _get_parser as pairproc_getparser
47
+ from rapidtide.workflows.pairwisemergenifti import _get_parser as pairwisemergenifti_getparser
48
+ from rapidtide.workflows.physiofreq import _get_parser as physiofreq_getparser
49
+ from rapidtide.workflows.pixelcomp import _get_parser as pixelcomp_getparser
50
+ from rapidtide.workflows.plethquality import _get_parser as plethquality_getparser
51
+ from rapidtide.workflows.polyfitim import _get_parser as polyfitim_getparser
52
+ from rapidtide.workflows.proj2flow import _get_parser as proj2flow_getparser
53
+ from rapidtide.workflows.rankimage import _get_parser as rankimage_getparser
54
+ from rapidtide.workflows.rapidtide2std import _get_parser as rapidtide2std_getparser
55
+ from rapidtide.workflows.resamplenifti import _get_parser as resamplenifti_getparser
56
+ from rapidtide.workflows.resampletc import _get_parser as resampletc_getparser
57
+ from rapidtide.workflows.retrolagtcs import _get_parser as retrolagtcs_getparser
58
+ from rapidtide.workflows.retroregress import _get_parser as retroregress_getparser
59
+ from rapidtide.workflows.roisummarize import _get_parser as roisummarize_getparser
60
+ from rapidtide.workflows.runqualitycheck import _get_parser as runqualitycheck_getparser
61
+ from rapidtide.workflows.showarbcorr import _get_parser as showarbcorr_getparser
62
+ from rapidtide.workflows.showhist import _get_parser as showhist_getparser
63
+ from rapidtide.workflows.showstxcorr import _get_parser as showstxcorr_getparser
64
+ from rapidtide.workflows.showtc import _get_parser as showtc_getparser
65
+ from rapidtide.workflows.showxcorrx import _get_parser as showxcorrx_getparser
66
+ from rapidtide.workflows.showxy import _get_parser as showxy_getparser
67
+ from rapidtide.workflows.simdata import _get_parser as simdata_getparser
68
+ from rapidtide.workflows.spatialfit import _get_parser as spatialfit_getparser
69
+ from rapidtide.workflows.spatialmi import _get_parser as spatialmi_getparser
70
+ from rapidtide.workflows.spectrogram import _get_parser as spectrogram_getparser
71
+ from rapidtide.workflows.synthASL import _get_parser as synthASL_getparser
72
+ from rapidtide.workflows.tcfrom2col import _get_parser as tcfrom2col_getparser
73
+ from rapidtide.workflows.tcfrom3col import _get_parser as tcfrom3col_getparser
74
+ from rapidtide.workflows.variabilityizer import _get_parser as variabilityizer_getparser
75
+
76
+
77
+ def test_parsers(debug=False):
78
+ parserlist = [ adjustoffset_getparser,
79
+ aligntcs_getparser,
80
+ applydlfilter_getparser,
81
+ atlasaverage_getparser,
82
+ atlastool_getparser,
83
+ calctexticc_getparser,
84
+ ccorrica_getparser,
85
+ delayvar_getparser,
86
+ diffrois_getparser,
87
+ endtidalproc_getparser,
88
+ fdica_getparser,
89
+ filtnifti_getparser,
90
+ filttc_getparser,
91
+ fixtr_getparser,
92
+ gmscalc_getparser,
93
+ happy_parser_getparser,
94
+ happy2std_getparser,
95
+ histnifti_getparser,
96
+ histtc_getparser,
97
+ linfitfilt_getparser,
98
+ localflow_getparser,
99
+ mergequality_getparser,
100
+ niftidecomp_getparser_temporal,
101
+ niftidecomp_getparser_spatial,
102
+ niftistats_getparser,
103
+ pairproc_getparser,
104
+ pairwisemergenifti_getparser,
105
+ physiofreq_getparser,
106
+ pixelcomp_getparser,
107
+ plethquality_getparser,
108
+ polyfitim_getparser,
109
+ proj2flow_getparser,
110
+ rankimage_getparser,
111
+ rapidtide2std_getparser,
112
+ resamplenifti_getparser,
113
+ resampletc_getparser,
114
+ retrolagtcs_getparser,
115
+ retroregress_getparser,
116
+ roisummarize_getparser,
117
+ runqualitycheck_getparser,
118
+ showarbcorr_getparser,
119
+ showhist_getparser,
120
+ showstxcorr_getparser,
121
+ showtc_getparser,
122
+ showxcorrx_getparser,
123
+ showxy_getparser,
124
+ simdata_getparser,
125
+ spatialfit_getparser,
126
+ spatialmi_getparser,
127
+ spectrogram_getparser,
128
+ synthASL_getparser,
129
+ tcfrom2col_getparser,
130
+ tcfrom3col_getparser,
131
+ variabilityizer_getparser ]
132
+
133
+ for thegetparser in parserlist:
134
+ theusage = thegetparser().format_help()
135
+ if debug:
136
+ print(theusage)
137
+
138
+
139
+ if __name__ == "__main__":
140
+ test_parsers(debug=True)
@@ -0,0 +1,70 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ #
4
+ # Copyright 2016-2025 Blaise Frederick
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+ #
19
+ import os
20
+ import argparse
21
+ import rapidtide.workflows.parser_funcs as pf
22
+ from rapidtide.tests.utils import get_examples_path, get_test_temp_path
23
+
24
+ def _get_parser():
25
+ """
26
+ Argument parser for adjust offset
27
+ """
28
+ parser = argparse.ArgumentParser(
29
+ prog="dummy",
30
+ description="dummy",
31
+ allow_abbrev=False,
32
+ )
33
+
34
+ # Required arguments
35
+ parser.add_argument(
36
+ "inputmap",
37
+ type=lambda x: pf.is_valid_file(parser, x),
38
+ help="The name of the rapidtide maxtime map.",
39
+ )
40
+
41
+ return parser
42
+
43
+
44
+ def test_parserfuncs(debug=False, local=False, displayplots=False):
45
+ # set input and output directories
46
+ if local:
47
+ exampleroot = "../data/examples/src"
48
+ testtemproot = "./tmp"
49
+ else:
50
+ exampleroot = get_examples_path()
51
+ testtemproot = get_test_temp_path()
52
+
53
+
54
+ theparser = _get_parser()
55
+
56
+ filename = os.path.join(exampleroot,"sub-RAPIDTIDETEST_desc-oversampledmovingregressor_timeseries.json")
57
+ retval = pf.is_valid_file(theparser, filename)
58
+ print(filename, retval)
59
+
60
+ #filename = os.path.join(exampleroot,"sub-RAPIDTIDETEST_desc-oversampledmovingregressor_timeseriesxyz.json")
61
+ #retval = pf.is_valid_file(theparser, filename)
62
+ #print(filename, retval)
63
+
64
+ filename = os.path.join(exampleroot,"sub-RAPIDTIDETEST_desc-oversampledmovingregressor_timeseries.json:acolname")
65
+ retval = pf.is_valid_file(theparser, filename)
66
+ print(filename, retval)
67
+
68
+
69
+ if __name__ == "__main__":
70
+ test_parserfuncs(debug=True, local=True, displayplots=True)
@@ -59,7 +59,9 @@ def main(runninglocally=False):
59
59
  verbose=verbose,
60
60
  )
61
61
 
62
+ print("getting overlays")
62
63
  theoverlays = thesubject.getoverlays()
64
+ print("getting regressors")
63
65
  theregressors = thesubject.getregressors()
64
66
 
65
67
  assert thesubject.focusregressor == "prefilt"
@@ -3463,7 +3463,7 @@ def rapidtide_main(argparsingfunc):
3463
3463
  cifti_hdr=theinputdata.cifti_hdr,
3464
3464
  )
3465
3465
 
3466
- if optiondict["refinedelay"] and False:
3466
+ if optiondict["refinedelay"]:
3467
3467
  # filter the fmri data to the lfo band
3468
3468
  print("filtering fmri_data to sLFO band")
3469
3469
  for i in range(fmri_data_valid.shape[0]):
@@ -3504,7 +3504,13 @@ def rapidtide_main(argparsingfunc):
3504
3504
  )
3505
3505
 
3506
3506
  maplist = [
3507
- (rvalue, "maxcorralt", "map", None, "R value of the inband sLFO fit, with sign"),
3507
+ (
3508
+ rvalue,
3509
+ "maxcorrrefined",
3510
+ "map",
3511
+ None,
3512
+ "R value of the inband sLFO fit, with sign",
3513
+ ),
3508
3514
  ]
3509
3515
 
3510
3516
  tide_io.savemaplist(
@@ -187,8 +187,10 @@ def rapidtide2std(args):
187
187
 
188
188
  thefmrimaps = [
189
189
  "desc-maxtime_map",
190
+ "desc-maxtimerefined_map",
190
191
  "desc-timepercentile_map",
191
192
  "desc-maxcorr_map",
193
+ "desc-maxcorrrefined_map",
192
194
  "desc-maxwidth_map",
193
195
  "desc-MTT_map",
194
196
  "desc-corrfit_mask",
@@ -1916,7 +1916,7 @@ def process_args(inputargs=None):
1916
1916
 
1917
1917
  if args["in_file"].endswith("txt") and args["realtr"] == "auto":
1918
1918
  raise ValueError(
1919
- "Either --datatstep or --datafreq must be provided " "if data file is a text file."
1919
+ "Either --datatstep or --datafreq must be provided if data file is a text file."
1920
1920
  )
1921
1921
 
1922
1922
  if args["realtr"] != "auto":
@@ -1925,7 +1925,7 @@ def process_args(inputargs=None):
1925
1925
  if tide_io.checkifcifti(args["in_file"]):
1926
1926
  fmri_tr, dummy = tide_io.getciftitr(nib.load(args["in_file"]).header)
1927
1927
  else:
1928
- fmri_tr = nib.load(args["in_file"]).header.get_zooms()[3]
1928
+ fmri_tr, dummy = tide_io.fmritimeinfo(args["in_file"])
1929
1929
  args["realtr"] = fmri_tr
1930
1930
 
1931
1931
  if args["inputfreq"] == "auto":
@@ -20,6 +20,7 @@ import argparse
20
20
  import copy
21
21
  import logging
22
22
  import os
23
+ import platform
23
24
  import sys
24
25
  import time
25
26
  from pathlib import Path
@@ -163,13 +164,13 @@ def _get_parser():
163
164
  default=True,
164
165
  )
165
166
  parser.add_argument(
166
- "--refinecorr",
167
+ "--norefinecorr",
167
168
  dest="refinecorr",
168
- action="store_true",
169
+ action="store_false",
169
170
  help=(
170
- "Recalculate the maxcorr map using GLM coefficient of determination from bandpassed data."
171
+ "Don't recalculate the maxcorr map using GLM coefficient of determination from bandpassed data."
171
172
  ),
172
- default=False,
173
+ default=True,
173
174
  )
174
175
  parser.add_argument(
175
176
  "--nofilterwithrefineddelay",
@@ -819,6 +820,10 @@ def retroregress(args):
819
820
  ]
820
821
  anatomicmasks = []
821
822
  for thisanatomic in anatomiclist:
823
+ try:
824
+ thename = therunoptions[thisanatomic[0]]
825
+ except KeyError:
826
+ therunoptions[thisanatomic[0]] = None
822
827
  if therunoptions[thisanatomic[0]] is not None:
823
828
  anatomicmasks.append(
824
829
  tide_mask.readamask(
@@ -1237,13 +1242,13 @@ def retroregress(args):
1237
1242
  TimingLGR.info("Finishing output save")
1238
1243
 
1239
1244
  if args.refinecorr:
1240
- TimingLGR.info("Filtering for maxcorralt calculation start")
1245
+ TimingLGR.info("Filtering for maxcorrrefined calculation start")
1241
1246
  for thevoxel in range(fmri_data_valid.shape[0]):
1242
1247
  fmri_data_valid[thevoxel, :] = theprefilter.apply(
1243
1248
  1.0 / fmritr, fmri_data_valid[thevoxel, :]
1244
1249
  )
1245
- TimingLGR.info("Filtering for maxcorralt calculation complete")
1246
- TimingLGR.info("GLM for maxcorralt calculation start")
1250
+ TimingLGR.info("Filtering for maxcorrrefined calculation complete")
1251
+ TimingLGR.info("GLM for maxcorrrefined calculation start")
1247
1252
  voxelsprocessed_regressionfilt, regressorset, evset = (
1248
1253
  tide_regressfrommaps.regressfrommaps(
1249
1254
  fmri_data_valid,
@@ -1275,7 +1280,7 @@ def retroregress(args):
1275
1280
  )
1276
1281
  )
1277
1282
  TimingLGR.info(
1278
- "GLM for maxcorralt calculation done",
1283
+ "GLM for maxcorrrefined calculation done",
1279
1284
  {
1280
1285
  "message2": voxelsprocessed_regressionfilt,
1281
1286
  "message3": "voxels",
@@ -1285,7 +1290,7 @@ def retroregress(args):
1285
1290
  maplist = [
1286
1291
  (
1287
1292
  rvalue,
1288
- "maxcorralt",
1293
+ "maxcorrrefined",
1289
1294
  "map",
1290
1295
  None,
1291
1296
  "R value for the lfo component of the delayed regressor, with sign",
@@ -1385,6 +1390,14 @@ def retroregress(args):
1385
1390
  therunoptions["retroregress_runtime"] = time.strftime(
1386
1391
  "%a, %d %b %Y %H:%M:%S %Z", time.localtime(time.time())
1387
1392
  )
1393
+ (
1394
+ therunoptions["retroregress_release_version"],
1395
+ therunoptions["retroregress_git_sha"],
1396
+ therunoptions["retroregress_git_date"],
1397
+ therunoptions["retroregress_git_isdirty"],
1398
+ ) = tide_util.version()
1399
+ therunoptions["retroregress_python_version"] = str(sys.version_info)
1400
+ therunoptions["retroregress_nodename"] = platform.node()
1388
1401
 
1389
1402
  # clean up shared memory
1390
1403
  if usesharedmem:
@@ -53,46 +53,44 @@ def _get_parser():
53
53
 
54
54
  for band in ["lfo", "resp", "cardiac"]:
55
55
  parser.add_argument(
56
- "--" + band + "pctfile",
57
- dest=(band + "pctfile"),
56
+ f"--{band}pctfile",
57
+ dest=(f"{band}pctfile"),
58
58
  action="store",
59
59
  type=lambda x: pf.is_valid_file(parser, x),
60
60
  metavar="FILE",
61
- help=(
62
- "3D NIFTI file with the " + band + " amplitude in percent of mean at every point"
63
- ),
61
+ help=(f"3D NIFTI file with the {band} amplitude in percent of mean at every point"),
64
62
  default=None,
65
63
  )
66
64
  parser.add_argument(
67
- "--" + band + "lagfile",
68
- dest=(band + "lagfile"),
65
+ f"--{band}lagfile",
66
+ dest=(f"{band}lagfile"),
69
67
  action="store",
70
68
  type=lambda x: pf.is_valid_file(parser, x),
71
69
  metavar="FILE",
72
- help=("3D NIFTI file with the " + band + " delay value in seconds at every point"),
70
+ help=(f"3D NIFTI file with the {band} delay value in seconds at every point"),
73
71
  default=None,
74
72
  )
75
73
  parser.add_argument(
76
- "--" + band + "regressor",
77
- dest=(band + "regressor"),
74
+ f"--{band}regressor",
75
+ dest=(f"{band}regressor"),
78
76
  action="store",
79
77
  type=lambda x: pf.is_valid_file(parser, x),
80
78
  metavar="FILE",
81
- help=("The LFO regressor text file"),
79
+ help=(f"The {band} regressor text file"),
82
80
  default=None,
83
81
  )
84
82
  parser.add_argument(
85
- "--" + band + "samprate",
86
- dest=(band + "samprate"),
83
+ f"--{band}samprate",
84
+ dest=(f"{band}samprate"),
87
85
  action="store",
88
86
  type=float,
89
87
  metavar="SAMPRATE",
90
- help=("The sample rate of the LFO regressor file, in Hz"),
88
+ help=(f"The sample rate of the {band} regressor file, in Hz"),
91
89
  default=None,
92
90
  )
93
91
  parser.add_argument(
94
- "--" + band + "starttime",
95
- dest=(band + "starttime"),
92
+ f"--{band}starttime",
93
+ dest=(f"{band}starttime"),
96
94
  action="store",
97
95
  type=float,
98
96
  metavar="STARTTIME",
@@ -317,7 +315,7 @@ def simdata(args):
317
315
  sliceoffsettimes *= fmritr
318
316
 
319
317
  nim_fmri, fmridata, fmriheader, fmridims, fmrisizes = tide_io.readfromnifti(args.fmrifilename)
320
- print("fmri data: ", numtrs, " timepoints, tr = ", fmritr)
318
+ print(f"fmri data: {numtrs} timepoints, tr = {fmritr}")
321
319
 
322
320
  # prepare the output timepoints
323
321
  initial_fmri_x = (
@@ -328,12 +326,8 @@ def simdata(args):
328
326
  )
329
327
  print("length of fmri after removing skip:", len(initial_fmri_x))
330
328
  print(
331
- "fmri time has length",
332
- len(initial_fmri_x),
333
- "and runs runs from ",
334
- initial_fmri_x[0],
335
- " to ",
336
- initial_fmri_x[-1],
329
+ f"fmri time has length {len(initial_fmri_x)}",
330
+ f"and runs runs from {initial_fmri_x[0]} to {initial_fmri_x[-1]}",
337
331
  )
338
332
 
339
333
  # read in the immean file
@@ -1982,6 +1982,12 @@ def tidepool(args):
1982
1982
  "display": True,
1983
1983
  "funcmask": "p_lt_0p050_mask",
1984
1984
  },
1985
+ "lagstrengthsrefined": {
1986
+ "colormap": gen_thermal_state(),
1987
+ "label": "Refined similarity coefficient",
1988
+ "display": True,
1989
+ "funcmask": "p_lt_0p050_mask",
1990
+ },
1985
1991
  "lagsigma": {
1986
1992
  "colormap": gen_plasma_state(),
1987
1993
  "label": "Similarity width",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rapidtide
3
- Version: 3.0.3
3
+ Version: 3.0.5
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>
@@ -9,10 +9,10 @@ cloud/simple-cp-test,sha256=5ef8wmLfcKdny59BV6_DnAPj7O_mi0rOHdFZVN2iiLA,421
9
9
  rapidtide/Colortables.py,sha256=OVtgnQ9xTJPgfdyK1ktESHRjBh09cxLVPZvgUvV5jOo,5814
10
10
  rapidtide/DerivativeDelay.py,sha256=B3ElHcaAvxH3qB0n6l4rIX5FXsRHp_PE_H3ky-5XdoQ,7107
11
11
  rapidtide/OrthoImageItem.py,sha256=w70QNZUelMI7wTWYaqOfkJEb38PdsxgSf0NLdyjlcNs,21669
12
- rapidtide/RapidtideDataset.py,sha256=BdchNX8aqcPW8dmjJQPNnmAYX0wFMMIJCLdVG3EokT4,52241
12
+ rapidtide/RapidtideDataset.py,sha256=sccBQf8T9zvOMSHHXG7pwEm-sUyzbyZ4i0rFuWMwj3A,52343
13
13
  rapidtide/RegressorRefiner.py,sha256=dPG9Vy2nlqxv2Mx9vrYtgYTsNGcVIwWknawDrNdpZxQ,17232
14
14
  rapidtide/__init__.py,sha256=cECnPfGNIWXETiummGLjKcNXLROSDiFlLp-RpZSavwc,97
15
- rapidtide/_version.py,sha256=w4vUyi4REvA9LeJul_uv8AcuFACKR4WIGQRoh2xocL8,24506
15
+ rapidtide/_version.py,sha256=3OU9TRfkXZJGKZEHjxydZN1ypyAIfk88M2iVvYOHK_0,497
16
16
  rapidtide/calcandfitcorrpairs.py,sha256=dlKxjKSlgCF9AF_dRoPeIGc9dz1DIluYfKLQzTSQsd0,7397
17
17
  rapidtide/calccoherence.py,sha256=VayovUVA5X-eWmjJG0GNxI_Giw7vRjTDFvWcV6NVfq0,4512
18
18
  rapidtide/calcnullsimfunc.py,sha256=92q7Yw8VeSjA9UfcD-hHN9MgoaUcoKuR9VGBmt_n45M,7150
@@ -25,7 +25,7 @@ rapidtide/filter.py,sha256=GySR0UdlrfNzWs9HOdvsIGlfHKThT9KdamNk0Y0JHeU,71647
25
25
  rapidtide/fit.py,sha256=whveHKtqC-cPWxclCf86-5iBAtXOdXL2G1yg082q6R8,67955
26
26
  rapidtide/happy_supportfuncs.py,sha256=NlcZdD7wXQ65xYaB_t035PeSBC-FxbTy6x4B272q5x0,41968
27
27
  rapidtide/helper_classes.py,sha256=2m2zcFUgE12JhYL0HQJEafJ1pFa0Zsb46Lpi9iw3Qbg,51470
28
- rapidtide/io.py,sha256=nHhCJCiL_XgB5DY75_64cx6dYq1muohfrTZUlh5fVD8,74812
28
+ rapidtide/io.py,sha256=A3qFJdFFf1XSVlqPvoOF733OoxrRcbRO-gSEoh_95bE,75037
29
29
  rapidtide/linfitfiltpass.py,sha256=fR8vQQrH8yfXyaMNNsELA7xCv_Ro7qpZSXX_PbIFtx0,16142
30
30
  rapidtide/makelaggedtcs.py,sha256=XC0-tTKfcV4qQeoOlF3PiAdbvMuDZetrifsmWc0wQTw,3998
31
31
  rapidtide/maskutil.py,sha256=IBEgxmHvQ2fnBoTeFu7vw_w3uf91NxpW3IgTDirhWH0,10890
@@ -235,13 +235,14 @@ rapidtide/tests/test_fullrunhappy_v2.py,sha256=KvibzQKw3HceMAltX19ZzgxtJ5w4LdKci
235
235
  rapidtide/tests/test_fullrunhappy_v3.py,sha256=Oy2UoFy4Tiye0fNuSsh9bF4PlclGHc6oGlKCoAdCOXc,1950
236
236
  rapidtide/tests/test_fullrunhappy_v4.py,sha256=n3LylIDexTly06sk5TUnrQhfizkf98Mo4VEaw3uNkr4,1960
237
237
  rapidtide/tests/test_fullrunhappy_v5.py,sha256=BK240KjaJs9mHFgTmsDjCW3miBd4dDTn6qZxAYD3HTA,1896
238
- rapidtide/tests/test_fullrunrapidtide_v1.py,sha256=42alaL-si5kPrtE-9QZ-zgCV__YsHxjqVoxidn65qdA,3162
238
+ rapidtide/tests/test_fullrunrapidtide_v1.py,sha256=XhMjNG0EIyzGnGaI6Q_imSkjFDyScx1y-bwAWBlzC2w,3095
239
239
  rapidtide/tests/test_fullrunrapidtide_v2.py,sha256=KOuKoY5-Ryry7rlpIp-OzmCW2rYqGMIDa6JYqt57Tjk,3138
240
240
  rapidtide/tests/test_fullrunrapidtide_v3.py,sha256=i9RZCJ7ZieYnH0eIC38FuyN_uV9stDwuPuUoSVKJzXo,2889
241
241
  rapidtide/tests/test_fullrunrapidtide_v4.py,sha256=DTEom1FPHn21WZZveiCCf4L_NabR9BMzLNoAA8RuDv0,2118
242
242
  rapidtide/tests/test_fullrunrapidtide_v5.py,sha256=NzTYGXaWsJzd7uIIgom_NPwl3EmGCRxlylaUEVN3gxU,1779
243
243
  rapidtide/tests/test_fullrunrapidtide_v6.py,sha256=qjxniiLjkA8sFK3_spNpF13PsN_6ONTB8VtcSYAZ_a0,4368
244
244
  rapidtide/tests/test_fullrunrapidtide_v7.py,sha256=MKZ1Xi2pl04eb-cdxe6BeWkKqFWFTXAPZu3L_s7QNJk,4250
245
+ rapidtide/tests/test_getparsers.py,sha256=kSloiKUsoWSQnaHdCKYPUPmXX31KlmRXtUQyveW7Sxk,6830
245
246
  rapidtide/tests/test_io.py,sha256=bNl-Aa8JfBkghA8OmVKPcjO-YGGQmXEp-1d29peWszc,17093
246
247
  rapidtide/tests/test_linfitfiltpass.py,sha256=Q_XbDujj4tGc3X_I37IJJBDsvAs0m-S_oU8WG7DcGKU,5554
247
248
  rapidtide/tests/test_mi.py,sha256=Yia_TE1VxQfT0cZFdwsw6pb2l5E3PmY89zhKSfKus3g,2272
@@ -249,6 +250,7 @@ rapidtide/tests/test_miscmath.py,sha256=Kng7InnANKQeWPlY0ZwdIQnYT79U6sNH1w63pCx1
249
250
  rapidtide/tests/test_motionregress.py,sha256=HS8Ph4-5owWp8oK6bwdy1FelJxDA0FE045JUnitth-4,5588
250
251
  rapidtide/tests/test_nullcorr.py,sha256=cs39wIW8anDQMg13EtTQf_5kr7yT9SSSSve9_7QWm34,6446
251
252
  rapidtide/tests/test_padvec.py,sha256=41Pnm5zJkWeOXbM0dngS7mRkGwJ4es4O5aiEQ8YJ3rs,6728
253
+ rapidtide/tests/test_parserfuncs.py,sha256=moebtQVwiQ_g0XMmaiAY-wnO9rcSEby6V66PBrM42NY,2203
252
254
  rapidtide/tests/test_phaseanalysis.py,sha256=6d9nuSsVLjHW1br2BXvJxVQMjFcbuUuYGNjt3t7-odk,2150
253
255
  rapidtide/tests/test_rapidtideparser.py,sha256=Dmf_48Kgw9UW2L5pr8bVT1j5rBx__veAdiaAmYpIYCQ,5555
254
256
  rapidtide/tests/test_refinedelay.py,sha256=PNDbnmyRvogCZGiq08MtCsPWWJtLB9zzLXk0fvjmYm8,8473
@@ -258,7 +260,7 @@ rapidtide/tests/test_simulate.py,sha256=9zLY3PxmLgXdQcDHX5B0INyhhB_KOjwpBZkIEDVc
258
260
  rapidtide/tests/test_stcorrelate.py,sha256=ExYA58MDvJt3qGZAbEHSg-aMKtIKAX_zTacxiA0mttE,2493
259
261
  rapidtide/tests/test_timeshift.py,sha256=J4aLZI0ZvnB-vJZEAqwrcsarGRfKkKSY7IToyuhlqcg,3045
260
262
  rapidtide/tests/test_valtoindex.py,sha256=z-_m8d4Zo5pMeH2-vOhFM62hD4M7zcNx8rMrFA78fTI,1179
261
- rapidtide/tests/test_zRapidtideDataset.py,sha256=omevoP3Al73Y59--XVP7kMY584B0c5ANxJcVtQ_5rg4,2168
263
+ rapidtide/tests/test_zRapidtideDataset.py,sha256=kR0ILh_F7lmcBLaPYxLvjOyzUrUnwZF3iLyezLbgCsI,2230
262
264
  rapidtide/tests/usercustomize.py,sha256=iP8Vh35CixAbBD5He7gjQwmqYGItRGoNS_OD4sdDEe8,159
263
265
  rapidtide/tests/utils.py,sha256=qs3GlHZjfMXLgtdXfA-nIIoyWAKbpvTwxB_ZcyTvYnA,3254
264
266
  rapidtide/tests/testdata/100206_REST1_LR_cardfromfmri_25.0Hz.txt,sha256=w_ocCt0muJse-VZvqzPIBiveBo0Rp2sjoSP04Am0vgM,423304
@@ -321,14 +323,14 @@ rapidtide/workflows/plethquality.py,sha256=kTO74C5aSBmomzt59zs1VeiO_C5SPTxvyZZ0v
321
323
  rapidtide/workflows/polyfitim.py,sha256=bVKBrrFa0WjWZju4Lkrr8_9mFWALqCxkpCX28540GQA,10184
322
324
  rapidtide/workflows/proj2flow.py,sha256=SbkYTRZ_SViVfiM0QJjo20RrICtbsQpEd2i9o9XDgPU,7290
323
325
  rapidtide/workflows/rankimage.py,sha256=9opJb3OikO69wtN8zgF3XJxgoHy1-erzZiDKs8pDM6U,3482
324
- rapidtide/workflows/rapidtide.py,sha256=S91w9i1Gy_p9wBFxTzj-8dzcZDlsST1K0JcOYandVDk,153872
325
- rapidtide/workflows/rapidtide2std.py,sha256=8i1M5hKikYFA1JcrMYYqLRVgy0Mo7kwHUqImliO6c_0,10413
326
- rapidtide/workflows/rapidtide_parser.py,sha256=gJ9YPEi7dwkaw04jsfzqTI3W2GJDtaP8MSZhDqX4Cpk,78250
326
+ rapidtide/workflows/rapidtide.py,sha256=KdSgXM6PFA7ZScSlW3oqV7iD7XNViqul1dSP8V_SWNw,153985
327
+ rapidtide/workflows/rapidtide2std.py,sha256=coxEnRAof6NNpeXjjECPazx5Wotf4l1SJCnaVEvmHQY,10483
328
+ rapidtide/workflows/rapidtide_parser.py,sha256=iBJ1H2VFCqQznRxvMyhDnQEfa9higvZBfUjzqFX0x4M,78244
327
329
  rapidtide/workflows/regressfrommaps.py,sha256=2qkD6e3wJ7Wo4M3xsQBHGOlzoZkz6IJv8vT92kv5RZE,5355
328
330
  rapidtide/workflows/resamplenifti.py,sha256=GJE7f8bzMRY3QYiMYZOD8bDnga4ah97sp-ZL3yaaIFA,4717
329
331
  rapidtide/workflows/resampletc.py,sha256=B4YIKn3qpDaM9dIhYjGwPl-2LtaEhm9fnMBzfBgAUSs,3959
330
332
  rapidtide/workflows/retrolagtcs.py,sha256=ep1Ve1GS9NqqE6Pw9kxeWyw78sEg-M1IV-KuSnivd7Y,10847
331
- rapidtide/workflows/retroregress.py,sha256=7mCtv7A0YulQPQUIUc1ebE0DbT9pxiEDewK0guJUF1Q,52061
333
+ rapidtide/workflows/retroregress.py,sha256=sd7L_ri8av1euINcpKLgokrPGQo7QKQDguf0OWL8xD0,52631
332
334
  rapidtide/workflows/roisummarize.py,sha256=gnGcWOXRgRm6USgilj9K9Q3Mt5oUNCaincvJj1_ayPs,6710
333
335
  rapidtide/workflows/runqualitycheck.py,sha256=JIA2olhDk66HHSbLvsFrZieQq56YCIpbWpFzz0_ShHM,2434
334
336
  rapidtide/workflows/showarbcorr.py,sha256=mJpF2wSaMNw_jPZv4ru4x9x-rIOTDAABYZw7ZYesjF8,13606
@@ -337,19 +339,19 @@ rapidtide/workflows/showstxcorr.py,sha256=FulltRbjGaBBIIRF9Wc_4oU2bpmMjfc3tZus5T
337
339
  rapidtide/workflows/showtc.py,sha256=mddcdbpRzLXIiTqnutVqQapa9fudAeK3uALBVgM-dDE,18835
338
340
  rapidtide/workflows/showxcorrx.py,sha256=pPGIUqF7cVuPmq8aaZ-OSup6akeKQC85fJPqUEyG31w,31370
339
341
  rapidtide/workflows/showxy.py,sha256=p-1pkE5cKVd2zMQ-kSI3-Xk21jHSLiQPa-ql1DIO-vc,10532
340
- rapidtide/workflows/simdata.py,sha256=Cyr_6ByERUiDbXQmJUOlwxLxlA4RagpIBfBILJU-BJs,13920
342
+ rapidtide/workflows/simdata.py,sha256=YahDPmVM-lOV1qgpbfkq6QwrS2Pa99IRlfMglNXDQ1I,13827
341
343
  rapidtide/workflows/spatialfit.py,sha256=2p_f7nqYKauLTvwmhyfn7FiJ1BMzFsRxHfCQe2ULoXk,9136
342
344
  rapidtide/workflows/spatialmi.py,sha256=_Vvb2lukopzNh9QL9g6XBRvTlartZgq6Fzc2je-sbY8,13407
343
345
  rapidtide/workflows/spectrogram.py,sha256=7_CzFgX9ppE_2C4GiSP235BRUoh3YspCR_57_5Lx4HA,6452
344
346
  rapidtide/workflows/synthASL.py,sha256=v4zkfrXbb6Y06IsAhSm3ZmL4UTPYWaK3vPnP3bKr-co,4971
345
347
  rapidtide/workflows/tcfrom2col.py,sha256=o7IEQ-YqN_VDu-f_9lme4DtSn8EbYCK5TCwGBGGr0YY,1936
346
348
  rapidtide/workflows/tcfrom3col.py,sha256=kV3V-qZ7A7LkD96aHVXabvohA8udsflHXnzsQIwiKug,1938
347
- rapidtide/workflows/tidepool.py,sha256=v67ONVgAv_CguVLmcvVu7g6SzG3uPwvBp-JhrB7xWPk,86396
349
+ rapidtide/workflows/tidepool.py,sha256=Cac0zhS2ZT6myY_H2A0dAIox8ZoFyf42iB3flSb0qbw,86612
348
350
  rapidtide/workflows/utils.py,sha256=urIN-042oUCRDusVUSjBelVN3Te2JP3svY3ckq-yBMU,5379
349
351
  rapidtide/workflows/variabilityizer.py,sha256=h7Hhrxn84MclRfbAvKIZJoNzlcKO-8d9lZ6y6YFStk8,3167
350
- rapidtide-3.0.3.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
351
- rapidtide-3.0.3.dist-info/METADATA,sha256=xVmotT3otkMEGyBKu2FoqxtEgVbeoq_81f-f8YSbAck,15688
352
- rapidtide-3.0.3.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
353
- rapidtide-3.0.3.dist-info/entry_points.txt,sha256=9NVvZpIx9U6lTWlTFF2ev-wuPAHJxcXI_901_EcGRYA,3323
354
- rapidtide-3.0.3.dist-info/top_level.txt,sha256=MnNXGfbrIBc9RnAqzBHOWd3GQO-aIUDnRTz4_5VjH5g,16
355
- rapidtide-3.0.3.dist-info/RECORD,,
352
+ rapidtide-3.0.5.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
353
+ rapidtide-3.0.5.dist-info/METADATA,sha256=T7MB_JdlZs48d-PfR-Xrtv5rOEE_BPrsnRBE-Y_Fhdw,15688
354
+ rapidtide-3.0.5.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
355
+ rapidtide-3.0.5.dist-info/entry_points.txt,sha256=9NVvZpIx9U6lTWlTFF2ev-wuPAHJxcXI_901_EcGRYA,3323
356
+ rapidtide-3.0.5.dist-info/top_level.txt,sha256=MnNXGfbrIBc9RnAqzBHOWd3GQO-aIUDnRTz4_5VjH5g,16
357
+ rapidtide-3.0.5.dist-info/RECORD,,