rapidtide 3.0a12__tar.gz → 3.0a14__tar.gz

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.
Files changed (363) hide show
  1. {rapidtide-3.0a12 → rapidtide-3.0a14}/CHANGELOG.md +18 -3
  2. {rapidtide-3.0a12/rapidtide.egg-info → rapidtide-3.0a14}/PKG-INFO +3 -2
  3. {rapidtide-3.0a12 → rapidtide-3.0a14}/cloud/gmscalc-HCPYA +1 -1
  4. {rapidtide-3.0a12 → rapidtide-3.0a14}/cloud/rapidtide-HCPYA +3 -3
  5. {rapidtide-3.0a12 → rapidtide-3.0a14}/pyproject.toml +3 -2
  6. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/Colortables.py +10 -10
  7. rapidtide-3.0a14/rapidtide/DerivativeDelay.py +213 -0
  8. rapidtide-3.0a12/rapidtide/Refiner.py → rapidtide-3.0a14/rapidtide/RegressorRefiner.py +1 -1
  9. rapidtide-3.0a14/rapidtide/__init__.py +4 -0
  10. rapidtide-3.0a14/rapidtide/data/examples/src/test_mlregressallt.py +70 -0
  11. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testalign +1 -1
  12. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testboth +1 -1
  13. rapidtide-3.0a14/rapidtide/data/examples/src/testcifti +11 -0
  14. rapidtide-3.0a14/rapidtide/data/examples/src/testdelayvar +14 -0
  15. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testfmri +1 -0
  16. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testglmfilt +8 -6
  17. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testhappy +1 -1
  18. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testnewrefine +11 -11
  19. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testretro +16 -7
  20. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testretrolagtcs +1 -1
  21. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/dlfilter.py +0 -1
  22. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/fit.py +41 -9
  23. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/happy_supportfuncs.py +5 -0
  24. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/io.py +13 -2
  25. rapidtide-3.0a12/rapidtide/glmpass.py → rapidtide-3.0a14/rapidtide/linfitfiltpass.py +23 -19
  26. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/makelaggedtcs.py +8 -5
  27. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/multiproc.py +8 -11
  28. rapidtide-3.0a14/rapidtide/refinedelay.py +494 -0
  29. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/resample.py +3 -0
  30. rapidtide-3.0a14/rapidtide/scripts/delayvar.py +28 -0
  31. rapidtide-3.0a12/rapidtide/scripts/glmfilt.py → rapidtide-3.0a14/rapidtide/scripts/linfitfilt.py +2 -2
  32. rapidtide-3.0a14/rapidtide/scripts/retroregress.py +28 -0
  33. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/stupidramtricks.py +9 -7
  34. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/simfuncfit.py +1 -1
  35. rapidtide-3.0a14/rapidtide/tests/cleanposttest +21 -0
  36. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_delayestimation.py +3 -3
  37. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_fastresampler.py +1 -2
  38. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_fullrunhappy_v1.py +14 -6
  39. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_fullrunhappy_v2.py +17 -9
  40. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_fullrunhappy_v3.py +16 -8
  41. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_fullrunhappy_v4.py +16 -8
  42. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_fullrunhappy_v5.py +14 -6
  43. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_fullrunrapidtide_v1.py +20 -12
  44. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_fullrunrapidtide_v2.py +21 -13
  45. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_fullrunrapidtide_v3.py +15 -7
  46. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_fullrunrapidtide_v4.py +14 -7
  47. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_fullrunrapidtide_v5.py +13 -5
  48. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_fullrunrapidtide_v6.py +34 -26
  49. rapidtide-3.0a12/rapidtide/tests/test_glmpass.py → rapidtide-3.0a14/rapidtide/tests/test_linfitfiltpass.py +9 -9
  50. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_motionregress.py +3 -3
  51. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_refinedelay.py +14 -12
  52. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tidepoolTemplate_alt_qt6.py +172 -45
  53. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tidepoolTemplate_big_qt6.py +196 -53
  54. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tidepoolTemplate_qt6.py +150 -39
  55. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/atlasaverage.py +40 -12
  56. rapidtide-3.0a14/rapidtide/workflows/delayvar.py +1136 -0
  57. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/happy.py +37 -11
  58. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/happy_parser.py +4 -4
  59. rapidtide-3.0a12/rapidtide/workflows/glmfilt.py → rapidtide-3.0a14/rapidtide/workflows/linfitfilt.py +4 -4
  60. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/rapidtide.py +246 -178
  61. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/rapidtide_parser.py +116 -101
  62. rapidtide-3.0a12/rapidtide/workflows/glmfrommaps.py → rapidtide-3.0a14/rapidtide/workflows/regressfrommaps.py +30 -26
  63. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/retrolagtcs.py +13 -12
  64. rapidtide-3.0a12/rapidtide/workflows/retroglm.py → rapidtide-3.0a14/rapidtide/workflows/retroregress.py +182 -141
  65. {rapidtide-3.0a12 → rapidtide-3.0a14/rapidtide.egg-info}/PKG-INFO +3 -2
  66. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide.egg-info/SOURCES.txt +14 -9
  67. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide.egg-info/entry_points.txt +3 -2
  68. {rapidtide-3.0a12 → rapidtide-3.0a14}/versioneer.py +3 -3
  69. rapidtide-3.0a12/rapidtide/__init__.py +0 -3
  70. rapidtide-3.0a12/rapidtide/data/examples/src/test_mlregressallt.py +0 -55
  71. rapidtide-3.0a12/rapidtide/data/examples/src/testoutputsize +0 -45
  72. rapidtide-3.0a12/rapidtide/refinedelay.py +0 -369
  73. rapidtide-3.0a12/rapidtide/scripts/retroglm.py +0 -28
  74. {rapidtide-3.0a12 → rapidtide-3.0a14}/CODE_OF_CONDUCT.md +0 -0
  75. {rapidtide-3.0a12 → rapidtide-3.0a14}/CONTRIBUTING.md +0 -0
  76. {rapidtide-3.0a12 → rapidtide-3.0a14}/INSTALL.rst +0 -0
  77. {rapidtide-3.0a12 → rapidtide-3.0a14}/LICENSE +0 -0
  78. {rapidtide-3.0a12 → rapidtide-3.0a14}/MANIFEST.in +0 -0
  79. {rapidtide-3.0a12 → rapidtide-3.0a14}/README.rst +0 -0
  80. {rapidtide-3.0a12 → rapidtide-3.0a14}/TODO.md +0 -0
  81. {rapidtide-3.0a12 → rapidtide-3.0a14}/USAGE.rst +0 -0
  82. {rapidtide-3.0a12 → rapidtide-3.0a14}/cloud/download-nda-data +0 -0
  83. {rapidtide-3.0a12 → rapidtide-3.0a14}/cloud/downloadcmd-auther +0 -0
  84. {rapidtide-3.0a12 → rapidtide-3.0a14}/cloud/list-rapidtide-relevant-images +0 -0
  85. {rapidtide-3.0a12 → rapidtide-3.0a14}/cloud/mount-and-run +0 -0
  86. {rapidtide-3.0a12 → rapidtide-3.0a14}/cloud/rapidtide-cloud-test +0 -0
  87. {rapidtide-3.0a12 → rapidtide-3.0a14}/cloud/simple-cp-test +0 -0
  88. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/OrthoImageItem.py +0 -0
  89. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/RapidtideDataset.py +0 -0
  90. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/_version.py +1 -1
  91. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/calcandfitcorrpairs.py +0 -0
  92. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/calccoherence.py +0 -0
  93. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/calcnullsimfunc.py +0 -0
  94. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/calcsimfunc.py +0 -0
  95. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/correlate.py +0 -0
  96. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/installtestdata +0 -0
  97. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/test_findmaxlag.py +0 -0
  98. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/test_io +0 -0
  99. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/test_rapidtidecompare +0 -0
  100. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testatlasaverage +0 -0
  101. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testcomplex +0 -0
  102. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testdecomp +0 -0
  103. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testfileorfloat +0 -0
  104. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testfingerprint +0 -0
  105. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testfmridocker +0 -0
  106. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testfrozen +0 -0
  107. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testfuncs +0 -0
  108. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testinitdelay +0 -0
  109. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testlinfit +0 -0
  110. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testlocalflow +0 -0
  111. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testnoiseamp +2 -2
  112. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testoscorr +0 -0
  113. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testpad +0 -0
  114. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testrefineonly +0 -0
  115. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/examples/src/testsimdata +0 -0
  116. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/models/model_revised/model.h5 +0 -0
  117. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/models/model_revised/model_meta.json +0 -0
  118. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/models/model_serdar/model.h5 +0 -0
  119. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/models/model_serdar/model_meta.json +0 -0
  120. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/models/model_serdar2/model.h5 +0 -0
  121. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/models/model_serdar2/model_meta.json +0 -0
  122. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/ASPECTS_2mm.nii.gz +0 -0
  123. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/ASPECTS_2mm_mask.nii.gz +0 -0
  124. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/ASPECTS_3mm.nii.gz +0 -0
  125. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/ASPECTS_3mm_mask.nii.gz +0 -0
  126. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/ASPECTS_regions.txt +0 -0
  127. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/ATTbasedFlowTerritories_split_2mm.nii.gz +0 -0
  128. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/ATTbasedFlowTerritories_split_2mm_mask.nii.gz +0 -0
  129. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/ATTbasedFlowTerritories_split_regions.txt +0 -0
  130. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200_binmask_2mm.nii.gz +0 -0
  131. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200_lag_2mm.nii.gz +0 -0
  132. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200_mask_2mm.nii.gz +0 -0
  133. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200_negmask_2mm.nii.gz +0 -0
  134. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200_sigma_2mm.nii.gz +0 -0
  135. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200_strength_2mm.nii.gz +0 -0
  136. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_MTT_2mm.nii.gz +0 -0
  137. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_binmask_2mm.nii.gz +0 -0
  138. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_csf_2mm.nii.gz +0 -0
  139. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_gray_2mm.nii.gz +0 -0
  140. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_graylaghist.json +0 -0
  141. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_graylaghist.tsv.gz +0 -0
  142. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_laghist.json +0 -0
  143. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_laghist.tsv.gz +0 -0
  144. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_mask_2mm.nii.gz +0 -0
  145. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_maxcorr_2mm.nii.gz +0 -0
  146. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_maxtime_2mm.nii.gz +0 -0
  147. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_maxwidth_2mm.nii.gz +0 -0
  148. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_negmask_2mm.nii.gz +0 -0
  149. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_timepercentile_2mm.nii.gz +0 -0
  150. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_white_2mm.nii.gz +0 -0
  151. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_whitelaghist.json +0 -0
  152. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/HCP1200v2_whitelaghist.tsv.gz +0 -0
  153. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1-seg2.xml +0 -0
  154. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1-seg2_regions.txt +0 -0
  155. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1-seg2_space-MNI152NLin6Asym_2mm.nii.gz +0 -0
  156. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1.xml +0 -0
  157. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1_regions.txt +0 -0
  158. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1_space-MNI152NLin6Asym_2mm.nii.gz +0 -0
  159. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1_space-MNI152NLin6Asym_2mm_mask.nii.gz +0 -0
  160. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL2.xml +0 -0
  161. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL2_regions.txt +0 -0
  162. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL2_space-MNI152NLin6Asym_2mm.nii.gz +0 -0
  163. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL2_space-MNI152NLin6Asym_2mm_mask.nii.gz +0 -0
  164. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/MNI152_T1_1mm_Brain_FAST_seg.nii.gz +0 -0
  165. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/MNI152_T1_1mm_Brain_Mask.nii.gz +0 -0
  166. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/MNI152_T1_2mm_Brain_FAST_seg.nii.gz +0 -0
  167. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/MNI152_T1_2mm_Brain_Mask.nii.gz +0 -0
  168. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/MNI152_T1_3mm.nii.gz +0 -0
  169. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/MNI152_T1_3mm_brain_mask.nii.gz +0 -0
  170. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/data/reference/slicetimes/HCP-YA_slicetimes.txt +0 -0
  171. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/externaltools.py +0 -0
  172. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/fMRIData_class.py +0 -0
  173. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/filter.py +0 -0
  174. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/helper_classes.py +0 -0
  175. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/maskutil.py +0 -0
  176. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/miscmath.py +0 -0
  177. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/patchmatch.py +0 -0
  178. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/peakeval.py +0 -0
  179. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/qualitycheck.py +0 -0
  180. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/refineregressor.py +0 -0
  181. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/__init__.py +0 -0
  182. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/adjustoffset.py +0 -0
  183. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/aligntcs.py +0 -0
  184. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/applydlfilter.py +0 -0
  185. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/atlasaverage.py +0 -0
  186. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/atlastool.py +0 -0
  187. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/calcicc.py +0 -0
  188. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/calctexticc.py +0 -0
  189. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/calcttest.py +0 -0
  190. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/ccorrica.py +0 -0
  191. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/diffrois.py +0 -0
  192. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/endtidalproc.py +0 -0
  193. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/fdica.py +0 -0
  194. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/filtnifti.py +0 -0
  195. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/filttc.py +0 -0
  196. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/fingerprint.py +0 -0
  197. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/fixtr.py +0 -0
  198. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/gmscalc.py +0 -0
  199. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/happy.py +0 -0
  200. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/happy2std.py +0 -0
  201. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/happywarp.py +0 -0
  202. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/histnifti.py +0 -0
  203. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/histtc.py +0 -0
  204. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/localflow.py +0 -0
  205. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/mergequality.py +0 -0
  206. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/pairproc.py +0 -0
  207. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/pairwisemergenifti.py +0 -0
  208. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/physiofreq.py +0 -0
  209. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/pixelcomp.py +0 -0
  210. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/plethquality.py +0 -0
  211. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/polyfitim.py +0 -0
  212. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/proj2flow.py +0 -0
  213. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/rankimage.py +0 -0
  214. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/rapidtide.py +0 -0
  215. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/rapidtide2std.py +0 -0
  216. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/resamplenifti.py +0 -0
  217. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/resampletc.py +0 -0
  218. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/retrolagtcs.py +0 -0
  219. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/roisummarize.py +0 -0
  220. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/runqualitycheck.py +0 -0
  221. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/showarbcorr.py +0 -0
  222. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/showhist.py +0 -0
  223. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/showstxcorr.py +0 -0
  224. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/showtc.py +0 -0
  225. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/showxcorr_legacy.py +0 -0
  226. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/showxcorrx.py +0 -0
  227. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/showxy.py +0 -0
  228. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/simdata.py +0 -0
  229. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/spatialdecomp.py +0 -0
  230. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/spatialfit.py +0 -0
  231. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/spatialmi.py +0 -0
  232. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/spectrogram.py +0 -0
  233. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/synthASL.py +0 -0
  234. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/tcfrom2col.py +0 -0
  235. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/tcfrom3col.py +0 -0
  236. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/temporaldecomp.py +0 -0
  237. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/testhrv.py +0 -0
  238. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/threeD.py +0 -0
  239. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/tidepool.py +0 -0
  240. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/scripts/variabilityizer.py +0 -0
  241. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/stats.py +0 -0
  242. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/.coveragerc +0 -0
  243. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/__init__.py +0 -0
  244. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/matplotlibrc +0 -0
  245. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/resethappytargets +0 -0
  246. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/resetrapidtidetargets +0 -0
  247. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/resettargets +0 -0
  248. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/runlocaltest +0 -0
  249. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/showdirectories +0 -0
  250. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/showkernels +0 -0
  251. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_aliasedcorrelate.py +0 -0
  252. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_aligntcs.py +0 -0
  253. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_calcicc.py +0 -0
  254. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_congrid.py +0 -0
  255. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_correlate.py +0 -0
  256. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_corrpass.py +0 -0
  257. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_doresample.py +0 -0
  258. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_filter.py +0 -0
  259. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_findmaxlag.py +0 -0
  260. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_io.py +0 -0
  261. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_mi.py +0 -0
  262. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_miscmath.py +0 -0
  263. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_nullcorr.py +0 -0
  264. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_padvec.py +0 -0
  265. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_phaseanalysis.py +0 -0
  266. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_rapidtideparser.py +0 -0
  267. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_runmisc.py +0 -0
  268. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_sharedmem.py +0 -0
  269. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_simulate.py +0 -0
  270. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_stcorrelate.py +0 -0
  271. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_timeshift.py +0 -0
  272. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_valtoindex.py +0 -0
  273. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/test_zRapidtideDataset.py +0 -0
  274. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/100206_REST1_LR_cardfromfmri_25.0Hz.txt +0 -0
  275. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/100206_REST1_LR_cardfromfmri_dlfiltered_25.0Hz.txt +0 -0
  276. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/100206_REST1_LR_info.txt +0 -0
  277. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/100206_REST1_LR_normcardfromfmri_25.0Hz.txt +0 -0
  278. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/100206_REST1_LR_normcardfromfmri_dlfiltered_25.0Hz.txt +0 -0
  279. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/100206_REST1_LR_normpleth_25.0Hz.txt +0 -0
  280. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/100206_REST1_LR_pleth_25.0Hz.txt +0 -0
  281. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/100206_REST1_LR_pleth_dlfiltered_25.0Hz.txt +0 -0
  282. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/fmri_globalmean.txt +0 -0
  283. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/happy_phase1target_vesselmask.nii.gz +0 -0
  284. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/happy_phase2output_vesselmask.nii.gz +0 -0
  285. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/happy_target_vesselmask.nii.gz +0 -0
  286. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/lforegressor.txt +0 -0
  287. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/lt_rt.txt +0 -0
  288. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/phasetest.txt +0 -0
  289. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/rapidtide2x_phase1target_reference_fmrires.txt +0 -0
  290. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/stcorrtest_Rvalue.txt +0 -0
  291. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/stcorrtest_delay.txt +0 -0
  292. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/stcorrtest_mask.txt +0 -0
  293. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/stcorrtest_pearson.txt +0 -0
  294. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/stcorrtest_pvalue.txt +0 -0
  295. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/testdata/testfilt.txt +0 -0
  296. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/tmp/.placeholder.txt +0 -0
  297. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/usercustomize.py +0 -0
  298. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tests/utils.py +0 -0
  299. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tidepoolTemplate.py +0 -0
  300. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tidepoolTemplate.ui +0 -0
  301. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tidepoolTemplate_alt.py +0 -0
  302. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tidepoolTemplate_alt.ui +0 -0
  303. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tidepoolTemplate_big.py +0 -0
  304. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/tidepoolTemplate_big.ui +0 -0
  305. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/transformerdlfilter.py +0 -0
  306. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/util.py +0 -0
  307. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/wiener.py +0 -0
  308. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/wiener2.py +0 -0
  309. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/__init__.py +0 -0
  310. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/adjustoffset.py +0 -0
  311. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/aligntcs.py +0 -0
  312. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/applydlfilter.py +0 -0
  313. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/atlastool.py +0 -0
  314. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/calctexticc.py +0 -0
  315. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/ccorrica.py +0 -0
  316. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/diffrois.py +0 -0
  317. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/endtidalproc.py +0 -0
  318. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/fdica.py +0 -0
  319. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/filtnifti.py +0 -0
  320. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/filttc.py +0 -0
  321. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/fixtr.py +0 -0
  322. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/gmscalc.py +0 -0
  323. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/happy2std.py +0 -0
  324. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/histnifti.py +0 -0
  325. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/histtc.py +0 -0
  326. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/localflow.py +0 -0
  327. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/mergequality.py +0 -0
  328. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/niftidecomp.py +0 -0
  329. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/niftistats.py +0 -0
  330. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/pairproc.py +0 -0
  331. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/pairwisemergenifti.py +0 -0
  332. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/parser_funcs.py +0 -0
  333. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/physiofreq.py +0 -0
  334. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/pixelcomp.py +0 -0
  335. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/plethquality.py +0 -0
  336. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/polyfitim.py +0 -0
  337. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/proj2flow.py +0 -0
  338. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/rankimage.py +0 -0
  339. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/rapidtide2std.py +0 -0
  340. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/resamplenifti.py +0 -0
  341. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/resampletc.py +0 -0
  342. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/roisummarize.py +0 -0
  343. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/runqualitycheck.py +0 -0
  344. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/showarbcorr.py +0 -0
  345. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/showhist.py +0 -0
  346. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/showstxcorr.py +0 -0
  347. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/showtc.py +0 -0
  348. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/showxcorrx.py +0 -0
  349. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/showxy.py +0 -0
  350. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/simdata.py +0 -0
  351. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/spatialfit.py +0 -0
  352. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/spatialmi.py +0 -0
  353. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/spectrogram.py +0 -0
  354. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/synthASL.py +0 -0
  355. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/tcfrom2col.py +0 -0
  356. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/tcfrom3col.py +0 -0
  357. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/tidepool.py +0 -0
  358. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/utils.py +0 -0
  359. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide/workflows/variabilityizer.py +0 -0
  360. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide.egg-info/dependency_links.txt +0 -0
  361. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide.egg-info/requires.txt +0 -0
  362. {rapidtide-3.0a12 → rapidtide-3.0a14}/rapidtide.egg-info/top_level.txt +0 -0
  363. {rapidtide-3.0a12 → rapidtide-3.0a14}/setup.cfg +0 -0
@@ -1,10 +1,25 @@
1
1
  # Release history
2
2
 
3
+ ## Version 3.0alpha14 (4/8/25)
4
+ * (rapidtide) Rationalized handling of zero-mean data - now use the ``--dataiszeromean`` argument to tell rapidtide how to make masks. ``--globalmaskmethod`` no longer exists.
5
+ * (retroregress) Some bugfixes.
6
+ * (atlasaverage) 4D file timecourse output is now a BIDS compliant json/tsv.gz pair, with timecourse labels, if desired.
7
+ * (delayvar) Secret bugfixes.
8
+ * (package) Fixed definition of ``APARC_WHITE`` to add cerebral white matter (oops!).
9
+ * (package) Made it easier to run local tests.
10
+ * (docs) Expanded theory of operation section.
11
+
12
+ ## Version 3.0alpha13 (3/31/27)
13
+ * (rapidtide, retroregress) Preserve the sign of the sLFO filter fit R value (it might be useful for distinguishing arterial blood).
14
+ * (rapidtide) Fixed a bug with --dofinalrefine - now the shiftedtcs file IS written.
15
+ * (delayvar) New secret program, for secret purposes, to satisfy a secret question I had. More later.
16
+ * (package) Clarified that the final sLFO removal filter does NOT use a GLM (the current filter is an OLS filter) by renaming routines and command line options.
17
+
3
18
  ## Version 3.0alpha12 (3/19/25)
4
- * (rapidtide) Added option to perform refine on last pass.
5
- * (rapidtide) Moved refinement out into its own class to make things more modular.
19
+ * (rapidtide) Added option to perform regressor refinement on last pass.
20
+ * (rapidtide) Moved regressor refinement out into its own class to make things more modular.
6
21
  * (refinedelay) Put in some experimental code to do multiderivative delay fits. Currently doesn't work very well.
7
- * (tidepool) Changed default colormaps for similarity widty, MTT.
22
+ * (tidepool) Changed default colormaps for similarity width, MTT.
8
23
  * (package) Made a script to compile qt templates.
9
24
  * (package) Added the ability to set value limits to some parser functions.
10
25
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: rapidtide
3
- Version: 3.0a12
3
+ Version: 3.0a14
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>
@@ -58,6 +58,7 @@ Requires-Dist: myst-parser; extra == "doc"
58
58
  Requires-Dist: numpydoc; extra == "doc"
59
59
  Requires-Dist: sphinxcontrib-bibtex; extra == "doc"
60
60
  Requires-Dist: tomlkit; extra == "doc"
61
+ Dynamic: license-file
61
62
 
62
63
  The rapidtide package
63
64
  =====================
@@ -15,7 +15,7 @@ fi
15
15
 
16
16
  echo "Subject="${SUBJ}", RUN="${RUN}", PEDIR="${PEDIR}
17
17
 
18
- mkdir -p /data_out/HCP_1200/minpreprocglm/${SUBJ}
18
+ mkdir -p /data_out/HCP_1200/minpreprocslfofilt/${SUBJ}
19
19
  gmscalc \
20
20
  /data_out/HCP_1200/${SUBJ}/rapidtide_rfMRI_${RUN}_${PEDIR}_desc-lfofilterCleaned_bold.nii.gz
21
21
  /data_out/HCP_1200/fixglm/${SUBJ}/rapidtide_rfMRI_${RUN}_${PEDIR}_lfofilteredCleanedGMS \
@@ -15,11 +15,11 @@ fi
15
15
 
16
16
  echo "Subject="${SUBJ}", RUN="${RUN}", PEDIR="${PEDIR}
17
17
 
18
- # --glmsourcefile=/data_in/HCP_1200/${SUBJ}/MNINonLinear/Results/rfMRI_${RUN}_${PEDIR}/rfMRI_${RUN}_${PEDIR}_hp2000_clean.nii.gz \
19
- mkdir -p /data_out/HCP_1200/minpreprocglm/${SUBJ}
18
+ # --denoisesourcefile=/data_in/HCP_1200/${SUBJ}/MNINonLinear/Results/rfMRI_${RUN}_${PEDIR}/rfMRI_${RUN}_${PEDIR}_hp2000_clean.nii.gz \
19
+ mkdir -p /data_out/HCP_1200/minpreprocslfofilt/${SUBJ}
20
20
  rapidtide \
21
21
  /data_in/HCP_1200/${SUBJ}/MNINonLinear/Results/rfMRI_${RUN}_${PEDIR}/rfMRI_${RUN}_${PEDIR}.nii.gz \
22
- /data_out/HCP_1200/minpreprocglm/${SUBJ}/rapidtide_rfMRI_${RUN}_${PEDIR} \
22
+ /data_out/HCP_1200/minpreprocslfofilt/${SUBJ}/rapidtide_rfMRI_${RUN}_${PEDIR} \
23
23
  --despecklepasses 4 \
24
24
  --filterfreqs 0.009 0.15 \
25
25
  --searchrange -7.5 15.0 \
@@ -88,6 +88,7 @@ calcicc = 'rapidtide.scripts.calcicc:entrypoint'
88
88
  calctexticc = 'rapidtide.scripts.calctexticc:entrypoint'
89
89
  calcttest = 'rapidtide.scripts.calcttest:entrypoint'
90
90
  ccorrica = 'rapidtide.scripts.ccorrica:entrypoint'
91
+ delayvar = 'rapidtide.scripts.delayvar:entrypoint'
91
92
  diffrois = 'rapidtide.scripts.diffrois:entrypoint'
92
93
  endtidalproc = 'rapidtide.scripts.endtidalproc:entrypoint'
93
94
  fdica = 'rapidtide.scripts.fdica:entrypoint'
@@ -95,13 +96,13 @@ filtnifti = 'rapidtide.scripts.filtnifti:entrypoint'
95
96
  filttc = 'rapidtide.scripts.filttc:entrypoint'
96
97
  fingerprint = 'rapidtide.scripts.fingerprint:entrypoint'
97
98
  fixtr = 'rapidtide.scripts.fixtr:entrypoint'
98
- glmfilt = 'rapidtide.scripts.glmfilt:entrypoint'
99
99
  gmscalc = 'rapidtide.scripts.gmscalc:entrypoint'
100
100
  happy = 'rapidtide.scripts.happy:entrypoint'
101
101
  happy2std = 'rapidtide.scripts.happy2std:entrypoint'
102
102
  happywarp = 'rapidtide.scripts.happywarp:entrypoint'
103
103
  histnifti = 'rapidtide.scripts.histnifti:entrypoint'
104
104
  histtc = 'rapidtide.scripts.histtc:entrypoint'
105
+ linfitfilt = 'rapidtide.scripts.linfitfilt:entrypoint'
105
106
  localflow = 'rapidtide.scripts.localflow:entrypoint'
106
107
  mergequality = 'rapidtide.scripts.mergequality:entrypoint'
107
108
  pairproc = 'rapidtide.scripts.pairproc:entrypoint'
@@ -116,7 +117,7 @@ rapidtide = 'rapidtide.scripts.rapidtide:entrypoint'
116
117
  rapidtide2std = 'rapidtide.scripts.rapidtide2std:entrypoint'
117
118
  resamplenifti = 'rapidtide.scripts.resamplenifti:entrypoint'
118
119
  resampletc = 'rapidtide.scripts.resampletc:entrypoint'
119
- retroglm = 'rapidtide.scripts.retroglm:entrypoint'
120
+ retroregress = 'rapidtide.scripts.retroregress:entrypoint'
120
121
  retrolagtcs = 'rapidtide.scripts.retrolagtcs:entrypoint'
121
122
  roisummarize = 'rapidtide.scripts.roisummarize:entrypoint'
122
123
  runqualitycheck = 'rapidtide.scripts.runqualitycheck:entrypoint'
@@ -66,7 +66,7 @@ def gen_thermal_state():
66
66
  thegradient = Gradients["thermal"]
67
67
  thegradient["name"] = "thermal"
68
68
  return thegradient
69
- #return Gradients["thermal"]
69
+ # return Gradients["thermal"]
70
70
 
71
71
 
72
72
  def gen_flame_state():
@@ -75,7 +75,7 @@ def gen_flame_state():
75
75
  thegradient = Gradients["flame"]
76
76
  thegradient["name"] = "flame"
77
77
  return thegradient
78
- #return Gradients["flame"]
78
+ # return Gradients["flame"]
79
79
 
80
80
 
81
81
  def gen_yellowy_state():
@@ -84,7 +84,7 @@ def gen_yellowy_state():
84
84
  thegradient = Gradients["yellowy"]
85
85
  thegradient["name"] = "yellowy"
86
86
  return thegradient
87
- #return Gradients["yellowy"]
87
+ # return Gradients["yellowy"]
88
88
 
89
89
 
90
90
  def gen_bipolar_state():
@@ -93,7 +93,7 @@ def gen_bipolar_state():
93
93
  thegradient = Gradients["bipolar"]
94
94
  thegradient["name"] = "bipolar"
95
95
  return thegradient
96
- #return Gradients["bipolar"]
96
+ # return Gradients["bipolar"]
97
97
 
98
98
 
99
99
  def gen_spectrum_state():
@@ -102,7 +102,7 @@ def gen_spectrum_state():
102
102
  thegradient = Gradients["spectrum"]
103
103
  thegradient["name"] = "spectrum"
104
104
  return thegradient
105
- #return Gradients["spectrum"]
105
+ # return Gradients["spectrum"]
106
106
 
107
107
 
108
108
  def gen_turbo_state():
@@ -111,7 +111,7 @@ def gen_turbo_state():
111
111
  thegradient = Gradients["turbo"]
112
112
  thegradient["name"] = "turbo"
113
113
  return thegradient
114
- #return Gradients["turbo"]
114
+ # return Gradients["turbo"]
115
115
 
116
116
 
117
117
  def gen_gray_state():
@@ -142,7 +142,7 @@ def gen_viridis_state():
142
142
  thegradient = Gradients["viridis"]
143
143
  thegradient["name"] = "viridis"
144
144
  return thegradient
145
- #return Gradients["viridis"]
145
+ # return Gradients["viridis"]
146
146
 
147
147
 
148
148
  def gen_inferno_state():
@@ -151,7 +151,7 @@ def gen_inferno_state():
151
151
  thegradient = Gradients["inferno"]
152
152
  thegradient["name"] = "inferno"
153
153
  return thegradient
154
- #return Gradients["inferno"]
154
+ # return Gradients["inferno"]
155
155
 
156
156
 
157
157
  def gen_plasma_state():
@@ -160,7 +160,7 @@ def gen_plasma_state():
160
160
  thegradient = Gradients["plasma"]
161
161
  thegradient["name"] = "plasma"
162
162
  return thegradient
163
- #return Gradients["plasma"]
163
+ # return Gradients["plasma"]
164
164
 
165
165
 
166
166
  def gen_magma_state():
@@ -169,7 +169,7 @@ def gen_magma_state():
169
169
  thegradient = Gradients["magma"]
170
170
  thegradient["name"] = "magma"
171
171
  return thegradient
172
- #return Gradients["magma"]
172
+ # return Gradients["magma"]
173
173
 
174
174
 
175
175
  def gen_g2y2r_state():
@@ -0,0 +1,213 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ #
4
+ # Copyright 2016-2024 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
+ """
20
+ A class to impmement regressor refinement
21
+ """
22
+ import copy
23
+
24
+ import numpy as np
25
+
26
+ import rapidtide.fit as tide_fit
27
+ import rapidtide.io as tide_io
28
+ import rapidtide.miscmath as tide_math
29
+ import rapidtide.refinedelay as tide_refinedelay
30
+ import rapidtide.resample as tide_resample
31
+ import rapidtide.stats as tide_stats
32
+ import rapidtide.util as tide_util
33
+ from rapidtide.tests.utils import mse
34
+
35
+
36
+ class DerivativeDelay:
37
+ def __init__(
38
+ self,
39
+ internalvalidfmrishape,
40
+ internalvalidpaddedfmrishape,
41
+ pid,
42
+ outputname,
43
+ initial_fmri_x,
44
+ paddedinitial_fmri_x,
45
+ os_fmri_x,
46
+ genlagtc,
47
+ sharedmem=False,
48
+ gausssigma=-1,
49
+ numderivs=1,
50
+ lagminthresh=0.25,
51
+ lagmaxthresh=3.0,
52
+ sigmathresh=1000.0,
53
+ cleanrefined=False,
54
+ bipolar=False,
55
+ fixdelay=False,
56
+ includemask=None,
57
+ excludemask=None,
58
+ LGR=None,
59
+ nprocs=1,
60
+ detrendorder=1,
61
+ alwaysmultiproc=False,
62
+ showprogressbar=True,
63
+ chunksize=50000,
64
+ padtrs=10,
65
+ refineprenorm="var",
66
+ refineweighting=None,
67
+ refinetype="pca",
68
+ pcacomponents=0.8,
69
+ dodispersioncalc=False,
70
+ dispersioncalc_lower=-5.0,
71
+ dispersioncalc_upper=5.0,
72
+ dispersioncalc_step=0.5,
73
+ windowfunc="hamming",
74
+ passes=3,
75
+ maxpasses=15,
76
+ convergencethresh=None,
77
+ interptype="univariate",
78
+ usetmask=False,
79
+ tmask_y=None,
80
+ tmaskos_y=None,
81
+ fastresamplerpadtime=45.0,
82
+ debug=False,
83
+ rt_floattype="float64",
84
+ rt_floatset=np.float64,
85
+ ):
86
+ self.outputname = outputname
87
+ self.numderivs = numderivs
88
+ if gausssigma < 0.0:
89
+ # set gausssigma automatically
90
+ self.gausssigma = np.mean([xdim, ydim, slicedim]) / 2.0
91
+ else:
92
+ self.gausssigma = gausssigma
93
+ self.debug = debug
94
+ self.setgenlagtc(genlagtc)
95
+
96
+ def setgenlagtc(self, genlagtc):
97
+ self.genlagtc = genlagtc
98
+
99
+ def getderivratios(
100
+ self, fmri_data_valid, validvoxels, initial_fmri_x, lagtimes_valid, corrmask_valid
101
+ ):
102
+ print("Refinement calibration start")
103
+ regressderivratios = tide_refinedelay.getderivratios(
104
+ fmri_data_valid,
105
+ validvoxels,
106
+ initial_fmri_x,
107
+ lagtimes_valid,
108
+ corrmask_valid,
109
+ self.genlagtc,
110
+ "glm",
111
+ self.outputname,
112
+ oversamptr,
113
+ sLFOfitmean,
114
+ rvalue,
115
+ r2value,
116
+ fitNorm[:, : (self.numderivs + 1)],
117
+ fitcoeff[:, : (self.numderivs + 1)],
118
+ movingsignal,
119
+ lagtc,
120
+ filtereddata,
121
+ LGR,
122
+ TimingLGR,
123
+ therunoptions,
124
+ regressderivs=self.numderivs,
125
+ debug=self.debug,
126
+ )
127
+
128
+ def calibrate(self):
129
+ if self.numderivs == 1:
130
+ medfiltregressderivratios, filteredregressderivratios, delayoffsetMAD = (
131
+ tide_refinedelay.filterderivratios(
132
+ regressderivratios,
133
+ (xsize, ysize, numslices),
134
+ validvoxels,
135
+ (xdim, ydim, slicedim),
136
+ gausssigma=args.delayoffsetgausssigma,
137
+ patchthresh=args.delaypatchthresh,
138
+ fileiscifti=False,
139
+ textio=False,
140
+ rt_floattype=rt_floattype,
141
+ debug=args.debug,
142
+ )
143
+ )
144
+
145
+ # find the mapping of derivative ratios to delays
146
+ tide_refinedelay.trainratiotooffset(
147
+ self.genlagtc,
148
+ initial_fmri_x,
149
+ self.outputname,
150
+ args.outputlevel,
151
+ mindelay=args.mindelay,
152
+ maxdelay=args.maxdelay,
153
+ numpoints=args.numpoints,
154
+ debug=args.debug,
155
+ )
156
+ TimingLGR.info("Refinement calibration end")
157
+
158
+ # now calculate the delay offsets
159
+ TimingLGR.info("Calculating delay offsets")
160
+ delayoffset = np.zeros_like(filteredregressderivratios)
161
+ if args.focaldebug:
162
+ print(f"calculating delayoffsets for {filteredregressderivratios.shape[0]} voxels")
163
+ for i in range(filteredregressderivratios.shape[0]):
164
+ delayoffset[i], closestoffset = tide_refinedelay.ratiotodelay(
165
+ filteredregressderivratios[i]
166
+ )
167
+ refinedvoxelstoreport = filteredregressderivratios.shape[0]
168
+ else:
169
+ medfiltregressderivratios = np.zeros_like(regressderivratios)
170
+ filteredregressderivratios = np.zeros_like(regressderivratios)
171
+ delayoffsetMAD = np.zeros(args.refineregressderivs, dtype=float)
172
+ for i in range(args.refineregressderivs):
173
+ (
174
+ medfiltregressderivratios[i, :],
175
+ filteredregressderivratios[i, :],
176
+ delayoffsetMAD[i],
177
+ ) = tide_refinedelay.filterderivratios(
178
+ regressderivratios[i, :],
179
+ (xsize, ysize, numslices),
180
+ validvoxels,
181
+ (xdim, ydim, slicedim),
182
+ gausssigma=args.delayoffsetgausssigma,
183
+ patchthresh=args.delaypatchthresh,
184
+ fileiscifti=False,
185
+ textio=False,
186
+ rt_floattype=rt_floattype,
187
+ debug=args.debug,
188
+ )
189
+
190
+ def getdelays(self):
191
+ # now calculate the delay offsets
192
+ delayoffset = np.zeros_like(filteredregressderivratios[0, :])
193
+ if self.debug:
194
+ print(f"calculating delayoffsets for {filteredregressderivratios.shape[1]} voxels")
195
+ for i in range(filteredregressderivratios.shape[1]):
196
+ delayoffset[i] = tide_refinedelay.coffstodelay(
197
+ filteredregressderivratios[:, i],
198
+ mindelay=self.mindelay,
199
+ maxdelay=self.maxdelay,
200
+ )
201
+ refinedvoxelstoreport = filteredregressderivratios.shape[1]
202
+
203
+ def savestats(self):
204
+ namesuffix = "_desc-delayoffset_hist"
205
+ tide_stats.makeandsavehistogram(
206
+ delayoffset,
207
+ therunoptions["histlen"],
208
+ 1,
209
+ self.outputname + namesuffix,
210
+ displaytitle="Histogram of delay offsets calculated from coefficient ratios",
211
+ dictvarname="delayoffsethist",
212
+ thedict=None,
213
+ )
@@ -33,7 +33,7 @@ import rapidtide.util as tide_util
33
33
  from rapidtide.tests.utils import mse
34
34
 
35
35
 
36
- class Refiner:
36
+ class RegressorRefiner:
37
37
 
38
38
  refinemaskvoxels = None
39
39
 
@@ -0,0 +1,4 @@
1
+ # -*- coding: utf-8 -*-
2
+ from . import _version
3
+
4
+ __version__ = _version.get_versions()["version"]
@@ -0,0 +1,70 @@
1
+ #!/usr/bin/env python
2
+
3
+ import numpy as np
4
+ from sklearn.linear_model import LinearRegression
5
+
6
+ from rapidtide.fit import mlregress, olsregress
7
+
8
+
9
+ def test_olsregress():
10
+ # Test with a simple dataset
11
+ X = np.array([[1, 2], [3, 4]])
12
+ y = np.array([5, 6])
13
+ intercept = True
14
+ expected_coeffs = np.array([[0, 1], [2, 3]])
15
+ expected_intercept = 4
16
+ expected_R = 0.707
17
+
18
+ mlcoeffs, mlR = mlregress(X, y, intercept=intercept)
19
+ print(f"{mlcoeffs=}, {mlR=}")
20
+
21
+ olscoeffs, olsR = olsregress(X, y, intercept=intercept)
22
+ print(f"{olscoeffs=}, {olsR=}")
23
+
24
+ print(mlcoeffs, expected_coeffs)
25
+ print(olscoeffs, expected_coeffs)
26
+ assert np.allclose(mlcoeffs, expected_coeffs)
27
+ assert np.isclose(mlR, expected_R)
28
+ assert np.allclose(olscoeffs, expected_coeffs)
29
+ assert np.isclose(olsR, expected_R)
30
+
31
+ def test_olsregress_intercept():
32
+ # Test with a simple dataset and no intercept
33
+ X = np.array([[1, 2], [3, 4]])
34
+ y = np.array([5, 6])
35
+ intercept = False
36
+ expected_coeffs = np.array([[1, 2], [3, 4]])
37
+ expected_intercept = None
38
+ expected_R = 0.707
39
+
40
+ coeffs, R = mlregress(X, y, intercept)
41
+
42
+ assert np.allclose(coeffs, expected_coeffs)
43
+ assert np.isclose(R, expected_R)
44
+
45
+ def test_olsregress_nointercept():
46
+ # Test with a simple dataset and no intercept
47
+ X = np.array([[1, 2], [3, 4]])
48
+ y = np.array([5, 6])
49
+ intercept = False
50
+ expected_coeffs = np.array([[1, 2], [3, 4]])
51
+ expected_intercept = False
52
+ expected_R = 0.707
53
+
54
+ mlcoeffs, mlR = mlregress(X, y, intercept=intercept)
55
+ print(f"{mlcoeffs=}, {mlR=}")
56
+
57
+ olscoeffs, olsR = olsregress(X, y, intercept=intercept)
58
+ print(f"{olscoeffs=}, {olsR=}")
59
+
60
+ print(mlcoeffs, expected_coeffs)
61
+ print(olscoeffs, expected_coeffs)
62
+ assert np.allclose(mlcoeffs, expected_coeffs)
63
+ assert np.isclose(mlR, expected_R)
64
+ assert np.allclose(olscoeffs, expected_coeffs)
65
+ assert np.isclose(olsR, expected_R)
66
+
67
+ test_olsregress_nointercept()
68
+ test_olsregress_intercept()
69
+ test_olsregress()
70
+
@@ -41,7 +41,7 @@ alignedvec, maxdelay, maxval, failreason = tide_corr.aligntcwithref(
41
41
  )
42
42
  print(f"{maxdelay=}, {maxval=}, {failreason=}")
43
43
 
44
- filteredvec, datatoremove, R, coffs = tide_fit.glmfilt(fixedvec, alignedvec, debug=True)
44
+ filteredvec, datatoremove, R, coffs = tide_fit.linfitfilt(fixedvec, alignedvec, debug=True)
45
45
 
46
46
  offset = 0.0
47
47
  plt.plot(xaxis, fixedvec + offset)
@@ -10,7 +10,7 @@ rapidtide \
10
10
  sub-RAPIDTIDETEST.nii.gz \
11
11
  ../dst/sub-RAPIDTIDETEST
12
12
 
13
- retroglm \
13
+ retroregress \
14
14
  --nprocs -1 \
15
15
  --alternateoutput ../dst/sub-RETROTEST_refined \
16
16
  --makepseudofile \
@@ -0,0 +1,11 @@
1
+ #!/bin/bash
2
+
3
+ rapidtide \
4
+ sub-RAPIDTIDETEST_cifti.ptseries.nii \
5
+ ../dst/sub-RAPIDTIDETEST5 \
6
+ --filterband lfo \
7
+ --searchrange -15 15 \
8
+ --passes 3 \
9
+ --globalmaskmethod variance \
10
+ --nprocs -1 \
11
+ --numnull 10000
@@ -0,0 +1,14 @@
1
+ #!/bin/bash
2
+
3
+ delayvar \
4
+ sub-RAPIDTIDETEST.nii.gz \
5
+ ../dst/sub-RAPIDTIDETEST \
6
+ --alternateoutput ../dst/delayvartest \
7
+ --nprocs -1 \
8
+ --windowsize 30 \
9
+ --systemicfittype pca \
10
+ --trainrange -999 -999 \
11
+ --pcacomponents 0.8 \
12
+ --outputlevel max \
13
+ --focaldebug \
14
+ --windelayoffsetspatialfilt 3
@@ -2,6 +2,7 @@
2
2
 
3
3
  rapidtide \
4
4
  --spatialfilt -1 \
5
+ --delayoffsetspatialfilt -1 \
5
6
  --nprocs -1 \
6
7
  --searchrange -5 20 \
7
8
  --simcalcrange 50 -1 \
@@ -34,7 +34,9 @@ datavec = amp1 * evs[:, 0] + amp2 * evs[:, 1] + amp3 * evs[:, 2] + intercept
34
34
  noisevec = noiseamp * np.random.rand(arrlen)
35
35
  invec = datavec + noisevec
36
36
 
37
- filtered, datatoremove, R, outcoffs, outintercept = tide_fit.glmfilt(invec, evs, returnintercept=True, debug=True)
37
+ filtered, datatoremove, R, outcoffs, outintercept = tide_fit.linfitfilt(
38
+ invec, evs, returnintercept=True, debug=True
39
+ )
38
40
 
39
41
  incoffs = [amp1, amp2, amp3]
40
42
  coffdiffs = outcoffs - incoffs
@@ -58,7 +60,7 @@ plt.plot(datavec - datatoremove + offset)
58
60
  print(R)
59
61
  plt.show()
60
62
 
61
- filtered, datatoremove, R, coffs = tide_fit.glmfilt(invec, evs[:, 0], debug=True)
63
+ filtered, datatoremove, R, coffs = tide_fit.linfitfilt(invec, evs[:, 0], debug=True)
62
64
 
63
65
  """
64
66
  offset = 0.0
@@ -80,7 +82,7 @@ invec2 = (
80
82
  + noiseamp * np.random.rand(arrlen)
81
83
  )
82
84
 
83
- filtered, datatoremove, R, coffs = tide_fit.glmfilt(invec2, evs, debug=True)
85
+ filtered, datatoremove, R, coffs = tide_fit.linfitfilt(invec2, evs, debug=True)
84
86
 
85
87
  """
86
88
  offset = 0.0
@@ -95,7 +97,7 @@ print(R)
95
97
  plt.show()
96
98
  """
97
99
 
98
- filtered, thenewevs, datatoremove, R, coffs = tide_fit.expandedglmfilt(
100
+ filtered, thenewevs, datatoremove, R, coffs = tide_fit.expandedlinfitfilt(
99
101
  invec2, evs, ncomps=3, debug=True
100
102
  )
101
103
 
@@ -116,7 +118,7 @@ print(R)
116
118
  plt.show()
117
119
  """
118
120
 
119
- filtered, datatoremove, R, coffs = tide_fit.glmfilt(invec2, thenewevs, debug=True)
121
+ filtered, datatoremove, R, coffs = tide_fit.linfitfilt(invec2, thenewevs, debug=True)
120
122
  """
121
123
  offset = 0.0
122
124
  plt.plot(invec2 + offset)
@@ -138,7 +140,7 @@ alignedev, maxdelay, maxval, failreason = tide_corr.aligntcwithref(
138
140
  verbose=True,
139
141
  )
140
142
  print(f"{maxdelay=}, {maxval=}, {failreason=}")
141
- filtered, datatoremove, R, coffs = tide_fit.glmfilt(invec3, alignedev, debug=True)
143
+ filtered, datatoremove, R, coffs = tide_fit.linfitfilt(invec3, alignedev, debug=True)
142
144
  offset = 0.0
143
145
  plt.plot(evs[:, 0])
144
146
  offset += 1.0
@@ -65,5 +65,5 @@
65
65
  happy \
66
66
  sub-HAPPYTEST.nii.gz \
67
67
  sub-HAPPYTEST.json \
68
- --spatialglm \
68
+ --spatialregression \
69
69
  ../dst/happy
@@ -6,7 +6,7 @@ rapidtide \
6
6
  --searchrange -5 20 \
7
7
  --simcalcrange 50 -1 \
8
8
  --outputlevel max \
9
- --refineglmderivs 1 \
9
+ --refineregressderivs 1 \
10
10
  sub-RAPIDTIDETEST.nii.gz \
11
11
  ../dst/sub-RAPIDTIDETEST_1deriv
12
12
 
@@ -16,34 +16,34 @@ rapidtide \
16
16
  --searchrange -5 20 \
17
17
  --simcalcrange 50 -1 \
18
18
  --outputlevel max \
19
- --refineglmderivs 2 \
19
+ --refineregressderivs 2 \
20
20
  sub-RAPIDTIDETEST.nii.gz \
21
21
  ../dst/sub-RAPIDTIDETEST_2deriv
22
22
 
23
23
 
24
- retroglm \
24
+ retroregress \
25
25
  sub-RAPIDTIDETEST.nii.gz \
26
26
  ../dst/sub-RAPIDTIDETEST_1deriv \
27
27
  --alternateoutput ../dst/retrotest_1to1 \
28
28
  --nprocs -1 \
29
- --glmderivs 0 \
30
- --refineglmderivs 1 \
29
+ --regressderivs 0 \
30
+ --refineregressderivs 1 \
31
31
  --outputlevel max
32
32
 
33
- retroglm \
33
+ retroregress \
34
34
  sub-RAPIDTIDETEST.nii.gz \
35
35
  ../dst/sub-RAPIDTIDETEST_2deriv \
36
36
  --alternateoutput ../dst/retrotest_2to1 \
37
37
  --nprocs -1 \
38
- --glmderivs 0 \
39
- --refineglmderivs 1 \
38
+ --regressderivs 0 \
39
+ --refineregressderivs 1 \
40
40
  --outputlevel max
41
41
 
42
- retroglm \
42
+ retroregress \
43
43
  sub-RAPIDTIDETEST.nii.gz \
44
44
  ../dst/sub-RAPIDTIDETEST_1deriv \
45
45
  --alternateoutput ../dst/retrotest_1to2 \
46
46
  --nprocs -1 \
47
- --glmderivs 0 \
48
- --refineglmderivs 2 \
47
+ --regressderivs 0 \
48
+ --refineregressderivs 2 \
49
49
  --outputlevel max