rapidtide 3.0a6__tar.gz → 3.0a7__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.
- {rapidtide-3.0a6 → rapidtide-3.0a7}/CHANGELOG.md +6 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/INSTALL.rst +1 -1
- {rapidtide-3.0a6/rapidtide.egg-info → rapidtide-3.0a7}/PKG-INFO +3 -2
- {rapidtide-3.0a6 → rapidtide-3.0a7}/pyproject.toml +3 -2
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/correlate.py +7 -5
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testhappy +7 -2
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/happy_supportfuncs.py +56 -8
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/io.py +3 -1
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_filter.py +1 -1
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_fullrunhappy_v2.py +1 -1
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_fullrunhappy_v3.py +1 -1
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_fullrunhappy_v4.py +3 -1
- rapidtide-3.0a7/rapidtide/tests/test_fullrunhappy_v5.py +56 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/util.py +1 -2
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/happy.py +122 -90
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/happy_parser.py +24 -22
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/simdata.py +3 -1
- {rapidtide-3.0a6 → rapidtide-3.0a7/rapidtide.egg-info}/PKG-INFO +3 -2
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide.egg-info/SOURCES.txt +1 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide.egg-info/requires.txt +2 -1
- {rapidtide-3.0a6 → rapidtide-3.0a7}/CODE_OF_CONDUCT.md +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/CONTRIBUTING.md +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/LICENSE +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/MANIFEST.in +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/README.rst +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/TODO.md +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/USAGE.rst +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/cloud/download-nda-data +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/cloud/downloadcmd-auther +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/cloud/gmscalc-HCPYA +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/cloud/list-rapidtide-relevant-images +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/cloud/mount-and-run +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/cloud/rapidtide-HCPYA +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/cloud/rapidtide-cloud-test +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/cloud/simple-cp-test +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/Colortables.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/OrthoImageItem.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/RapidtideDataset.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/__init__.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/_version.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/calcandfitcorrpairs.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/calccoherence.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/calcnullsimfunc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/calcsimfunc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/installtestdata +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/test_findmaxlag.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/test_io +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/test_mlregressallt.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/test_rapidtidecompare +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testalign +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testatlasaverage +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testboth +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testcomplex +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testdecomp +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testfileorfloat +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testfingerprint +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testfmri +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testfmridocker +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testfrozen +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testfuncs +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testglmfilt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testlinfit +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testlocalflow +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testnoiseamp +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testoscorr +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testoutputsize +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testpad +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testretro +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testretrolagtcs +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/examples/src/testsimdata +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/models/model_revised/model.h5 +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/models/model_revised/model_meta.json +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/models/model_serdar/model.h5 +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/models/model_serdar/model_meta.json +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/models/model_serdar2/model.h5 +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/models/model_serdar2/model_meta.json +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/ASPECTS_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/ASPECTS_2mm_mask.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/ASPECTS_3mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/ASPECTS_3mm_mask.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/ASPECTS_regions.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/ATTbasedFlowTerritories_split_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/ATTbasedFlowTerritories_split_2mm_mask.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/ATTbasedFlowTerritories_split_regions.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200_binmask_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200_lag_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200_mask_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200_negmask_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200_sigma_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200_strength_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_MTT_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_binmask_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_csf_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_gray_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_graylaghist.json +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_graylaghist.tsv.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_laghist.json +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_laghist.tsv.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_mask_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_maxcorr_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_maxtime_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_maxwidth_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_negmask_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_timepercentile_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_white_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_whitelaghist.json +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/HCP1200v2_whitelaghist.tsv.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1-seg2.xml +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1-seg2_regions.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1-seg2_space-MNI152NLin6Asym_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1.xml +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1_regions.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1_space-MNI152NLin6Asym_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1_space-MNI152NLin6Asym_2mm_mask.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL2.xml +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL2_regions.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL2_space-MNI152NLin6Asym_2mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL2_space-MNI152NLin6Asym_2mm_mask.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/MNI152_T1_1mm_Brain_FAST_seg.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/MNI152_T1_1mm_Brain_Mask.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/MNI152_T1_2mm_Brain_FAST_seg.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/MNI152_T1_2mm_Brain_Mask.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/MNI152_T1_3mm.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/MNI152_T1_3mm_brain_mask.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/data/reference/slicetimes/HCP-YA_slicetimes.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/dlfilter.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/externaltools.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/fMRIData_class.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/filter.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/fit.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/glmpass.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/helper_classes.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/makelaggedtcs.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/maskutil.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/miscmath.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/multiproc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/patchmatch.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/peakeval.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/qualitycheck.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/refinedelay.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/refineregressor.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/resample.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/__init__.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/adjustoffset.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/aligntcs.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/applydlfilter.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/atlasaverage.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/atlastool.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/calcicc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/calctexticc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/calcttest.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/ccorrica.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/diffrois.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/endtidalproc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/fdica.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/filtnifti.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/filttc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/fingerprint.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/fixtr.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/glmfilt.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/gmscalc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/happy.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/happy2std.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/happywarp.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/histnifti.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/histtc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/localflow.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/mergequality.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/pairproc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/pairwisemergenifti.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/physiofreq.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/pixelcomp.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/plethquality.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/polyfitim.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/proj2flow.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/rankimage.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/rapidtide.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/rapidtide2std.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/resamplenifti.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/resampletc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/retroglm.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/retrolagtcs.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/roisummarize.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/runqualitycheck.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/showarbcorr.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/showhist.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/showstxcorr.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/showtc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/showxcorr_legacy.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/showxcorrx.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/showxy.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/simdata.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/spatialdecomp.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/spatialfit.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/spatialmi.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/spectrogram.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/stupidramtricks.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/synthASL.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/tcfrom2col.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/tcfrom3col.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/temporaldecomp.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/testhrv.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/threeD.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/tidepool.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/scripts/variabilityizer.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/simfuncfit.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/stats.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/.coveragerc +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/__init__.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/matplotlibrc +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/resethappytargets +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/resetrapidtidetargets +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/resettargets +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/runlocaltest +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/showdirectories +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/showkernels +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_aliasedcorrelate.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_aligntcs.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_calcicc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_congrid.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_correlate.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_corrpass.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_delayestimation.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_doresample.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_fastresampler.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_findmaxlag.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_fullrunhappy_v1.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_fullrunrapidtide_v1.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_fullrunrapidtide_v2.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_fullrunrapidtide_v3.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_fullrunrapidtide_v4.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_fullrunrapidtide_v5.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_fullrunrapidtide_v6.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_glmpass.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_io.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_mi.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_miscmath.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_motionregress.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_nullcorr.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_padvec.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_phaseanalysis.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_rapidtideparser.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_refinedelay.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_runmisc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_sharedmem.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_simulate.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_stcorrelate.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_timeshift.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_valtoindex.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/test_zRapidtideDataset.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/100206_REST1_LR_cardfromfmri_25.0Hz.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/100206_REST1_LR_cardfromfmri_dlfiltered_25.0Hz.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/100206_REST1_LR_info.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/100206_REST1_LR_normcardfromfmri_25.0Hz.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/100206_REST1_LR_normcardfromfmri_dlfiltered_25.0Hz.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/100206_REST1_LR_normpleth_25.0Hz.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/100206_REST1_LR_pleth_25.0Hz.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/100206_REST1_LR_pleth_dlfiltered_25.0Hz.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/fmri_globalmean.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/happy_phase1target_vesselmask.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/happy_phase2output_vesselmask.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/happy_target_vesselmask.nii.gz +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/lforegressor.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/lt_rt.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/phasetest.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/rapidtide2x_phase1target_reference_fmrires.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/stcorrtest_Rvalue.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/stcorrtest_delay.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/stcorrtest_mask.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/stcorrtest_pearson.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/stcorrtest_pvalue.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/testdata/testfilt.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/tmp/.placeholder.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/usercustomize.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tests/utils.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tidepoolTemplate.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tidepoolTemplate.ui +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tidepoolTemplate_alt.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tidepoolTemplate_alt.ui +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tidepoolTemplate_alt_qt6.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/tidepoolTemplate_qt6.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/transformerdlfilter.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/wiener.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/wiener2.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/__init__.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/adjustoffset.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/aligntcs.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/applydlfilter.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/atlasaverage.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/atlastool.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/calctexticc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/ccorrica.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/diffrois.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/endtidalproc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/fdica.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/filtnifti.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/filttc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/fixtr.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/glmfilt.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/glmfrommaps.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/gmscalc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/happy2std.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/histnifti.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/histtc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/localflow.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/mergequality.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/niftidecomp.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/niftistats.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/pairproc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/pairwisemergenifti.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/parser_funcs.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/physiofreq.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/pixelcomp.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/plethquality.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/polyfitim.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/proj2flow.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/rankimage.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/rapidtide.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/rapidtide2std.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/rapidtide_parser.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/resamplenifti.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/resampletc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/retroglm.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/retrolagtcs.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/roisummarize.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/runqualitycheck.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/showarbcorr.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/showhist.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/showstxcorr.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/showtc.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/showxcorrx.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/showxy.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/spatialfit.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/spatialmi.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/spectrogram.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/synthASL.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/tcfrom2col.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/tcfrom3col.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/tidepool.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/utils.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide/workflows/variabilityizer.py +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide.egg-info/dependency_links.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide.egg-info/entry_points.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/rapidtide.egg-info/top_level.txt +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/setup.cfg +0 -0
- {rapidtide-3.0a6 → rapidtide-3.0a7}/versioneer.py +0 -0
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Release history
|
|
2
2
|
|
|
3
|
+
## Version 3.0alpha7 (2/11/25)
|
|
4
|
+
* (happy) Trying out some new approaches for aliased correlation.
|
|
5
|
+
* (happy) Put in some initial support for multiecho data.
|
|
6
|
+
* (happy) Updated argument parser.
|
|
7
|
+
* (package) Various modernizations and cleanups.
|
|
8
|
+
|
|
3
9
|
## Version 3.0alpha6 (1/28/25)
|
|
4
10
|
* (happy) Fixed a major bug in motion filtering (thank you to Sukru Demiral for reporting it!)
|
|
5
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: rapidtide
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.0a7
|
|
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>
|
|
@@ -38,10 +38,10 @@ Requires-Dist: pyqt6
|
|
|
38
38
|
Requires-Dist: requests
|
|
39
39
|
Requires-Dist: statsmodels
|
|
40
40
|
Requires-Dist: pywavelets
|
|
41
|
-
Requires-Dist: tomlkit
|
|
42
41
|
Requires-Dist: tensorflow>=2.10.0
|
|
43
42
|
Requires-Dist: tf-keras
|
|
44
43
|
Requires-Dist: tqdm
|
|
44
|
+
Requires-Dist: versioneer
|
|
45
45
|
Provides-Extra: tests
|
|
46
46
|
Requires-Dist: codecov; extra == "tests"
|
|
47
47
|
Requires-Dist: coverage; extra == "tests"
|
|
@@ -57,6 +57,7 @@ Requires-Dist: sphinx-gallery; extra == "doc"
|
|
|
57
57
|
Requires-Dist: myst-parser; extra == "doc"
|
|
58
58
|
Requires-Dist: numpydoc; extra == "doc"
|
|
59
59
|
Requires-Dist: sphinxcontrib-bibtex; extra == "doc"
|
|
60
|
+
Requires-Dist: tomlkit; extra == "doc"
|
|
60
61
|
|
|
61
62
|
The rapidtide package
|
|
62
63
|
=====================
|
|
@@ -36,10 +36,10 @@ dependencies = [
|
|
|
36
36
|
'requests',
|
|
37
37
|
'statsmodels',
|
|
38
38
|
'pywavelets',
|
|
39
|
-
'tomlkit',
|
|
40
39
|
'tensorflow>=2.10.0',
|
|
41
40
|
'tf-keras',
|
|
42
41
|
'tqdm',
|
|
42
|
+
'versioneer',
|
|
43
43
|
]
|
|
44
44
|
#dynamic = ['version', 'license', 'keywords']
|
|
45
45
|
dynamic = ['version']
|
|
@@ -76,6 +76,7 @@ doc = [
|
|
|
76
76
|
'myst-parser',
|
|
77
77
|
'numpydoc',
|
|
78
78
|
'sphinxcontrib-bibtex',
|
|
79
|
+
'tomlkit',
|
|
79
80
|
]
|
|
80
81
|
|
|
81
82
|
[project.scripts]
|
|
@@ -204,4 +205,4 @@ parentdir_prefix = 'rapidtide-'
|
|
|
204
205
|
skip = '.git*,versioneer.py,*.css,exportlist.txt,data,*.bib'
|
|
205
206
|
check-hidden = true
|
|
206
207
|
ignore-regex = '\bsubjeT\b'
|
|
207
|
-
ignore-words-list = 'thex,normall'
|
|
208
|
+
ignore-words-list = 'TE,thex,normall'
|
|
@@ -703,9 +703,12 @@ class AliasedCorrelator:
|
|
|
703
703
|
"""
|
|
704
704
|
|
|
705
705
|
def __init__(self, hiressignal, hires_Fs, numsteps):
|
|
706
|
-
self.hiressignal = tide_math.corrnormalize(hiressignal)
|
|
707
706
|
self.hires_Fs = hires_Fs
|
|
708
707
|
self.numsteps = numsteps
|
|
708
|
+
self.sethiressignal(hiressignal)
|
|
709
|
+
|
|
710
|
+
def sethiressignal(self, hiressignal):
|
|
711
|
+
self.hiressignal = tide_math.corrnormalize(hiressignal)
|
|
709
712
|
self.corrlen = len(self.hiressignal) * 2 + 1
|
|
710
713
|
self.corrx = (
|
|
711
714
|
np.linspace(0.0, self.corrlen, num=self.corrlen) / self.hires_Fs
|
|
@@ -735,10 +738,9 @@ class AliasedCorrelator:
|
|
|
735
738
|
print(offset, self.numsteps)
|
|
736
739
|
osvec = self.hiressignal * 0.0
|
|
737
740
|
osvec[offset :: self.numsteps] = loressignal[:]
|
|
738
|
-
corrfunc = (
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
)
|
|
741
|
+
corrfunc = tide_corr.fastcorrelate(
|
|
742
|
+
tide_math.corrnormalize(osvec), self.hiressignal
|
|
743
|
+
) * np.sqrt(self.numsteps)
|
|
742
744
|
return corrfunc
|
|
743
745
|
|
|
744
746
|
|
|
@@ -65,5 +65,10 @@
|
|
|
65
65
|
happy \
|
|
66
66
|
sub-HAPPYTEST.nii.gz \
|
|
67
67
|
sub-HAPPYTEST.json \
|
|
68
|
-
../dst/
|
|
69
|
-
|
|
68
|
+
../dst/happy
|
|
69
|
+
|
|
70
|
+
happy \
|
|
71
|
+
sub-HAPPYTEST.nii.gz \
|
|
72
|
+
sub-HAPPYTEST.json \
|
|
73
|
+
../dst/happy_aliasedcorrelation \
|
|
74
|
+
--aliasedcorrelation
|
|
@@ -145,7 +145,7 @@ def cardiacsig(thisphase, amps=(1.0, 0.0, 0.0), phases=None, overallphase=0.0):
|
|
|
145
145
|
|
|
146
146
|
def cardiacfromimage(
|
|
147
147
|
normdata_byslice,
|
|
148
|
-
|
|
148
|
+
estweights_byslice,
|
|
149
149
|
numslices,
|
|
150
150
|
timepoints,
|
|
151
151
|
tr,
|
|
@@ -182,7 +182,7 @@ def cardiacfromimage(
|
|
|
182
182
|
|
|
183
183
|
# make sure there is an appflips array
|
|
184
184
|
if appflips_byslice is None:
|
|
185
|
-
appflips_byslice =
|
|
185
|
+
appflips_byslice = estweights_byslice * 0.0 + 1.0
|
|
186
186
|
else:
|
|
187
187
|
if arteriesonly:
|
|
188
188
|
appflips_byslice[np.where(appflips_byslice > 0.0)] = 0.0
|
|
@@ -196,22 +196,22 @@ def cardiacfromimage(
|
|
|
196
196
|
if not verbose:
|
|
197
197
|
print("Averaging slices...")
|
|
198
198
|
if fliparteries:
|
|
199
|
-
|
|
199
|
+
theseweights_byslice = appflips_byslice.astype(np.float64) * estweights_byslice
|
|
200
200
|
else:
|
|
201
|
-
|
|
201
|
+
theseweights_byslice = estweights_byslice
|
|
202
202
|
for theslice in range(numslices):
|
|
203
203
|
if verbose:
|
|
204
204
|
print("Averaging slice", theslice)
|
|
205
205
|
if usemask:
|
|
206
|
-
validestvoxels = np.where(np.abs(
|
|
206
|
+
validestvoxels = np.where(np.abs(theseweights_byslice[:, theslice]) > 0)[0]
|
|
207
207
|
else:
|
|
208
|
-
validestvoxels = np.where(np.abs(
|
|
208
|
+
validestvoxels = np.where(np.abs(theseweights_byslice[:, theslice] >= 0))[0]
|
|
209
209
|
if len(validestvoxels) > 0:
|
|
210
210
|
if madnorm:
|
|
211
211
|
sliceavs[theslice, :], slicenorms[theslice] = tide_math.madnormalize(
|
|
212
212
|
np.mean(
|
|
213
213
|
normdata_byslice[validestvoxels, theslice, :]
|
|
214
|
-
*
|
|
214
|
+
* theseweights_byslice[validestvoxels, theslice, np.newaxis],
|
|
215
215
|
axis=0,
|
|
216
216
|
),
|
|
217
217
|
returnnormfac=True,
|
|
@@ -219,7 +219,7 @@ def cardiacfromimage(
|
|
|
219
219
|
else:
|
|
220
220
|
sliceavs[theslice, :] = np.mean(
|
|
221
221
|
normdata_byslice[validestvoxels, theslice, :]
|
|
222
|
-
*
|
|
222
|
+
* theseweights_byslice[validestvoxels, theslice, np.newaxis],
|
|
223
223
|
axis=0,
|
|
224
224
|
)
|
|
225
225
|
slicenorms[theslice] = 1.0
|
|
@@ -1241,3 +1241,51 @@ def phaseproject(
|
|
|
1241
1241
|
normapp_byslice[validlocs, theslice, :] = np.nan_to_num(
|
|
1242
1242
|
app_byslice[validlocs, theslice, :] / means_byslice[validlocs, theslice, None]
|
|
1243
1243
|
)
|
|
1244
|
+
return app, rawapp, corrected_rawapp, normapp, weights, cine, derivatives
|
|
1245
|
+
|
|
1246
|
+
|
|
1247
|
+
def upsampleimage(input_data, input_hdr, numsteps, sliceoffsets, slicesamplerate, outputroot):
|
|
1248
|
+
fmri_data = input_data.byvol()
|
|
1249
|
+
timepoints = input_data.timepoints
|
|
1250
|
+
xsize = input_data.xsize
|
|
1251
|
+
ysize = input_data.ysize
|
|
1252
|
+
numslices = input_data.numslices
|
|
1253
|
+
|
|
1254
|
+
# allocate the image
|
|
1255
|
+
print(f"upsampling fmri data by a factor of {numsteps}")
|
|
1256
|
+
upsampleimage = np.zeros((xsize, ysize, numslices, numsteps * timepoints), dtype=float)
|
|
1257
|
+
upsampleimage_byslice = upsampleimage.reshape(xsize * ysize, numslices, numsteps * timepoints)
|
|
1258
|
+
|
|
1259
|
+
# demean the raw data
|
|
1260
|
+
meanfmri = fmri_data.mean(axis=1)
|
|
1261
|
+
demeaned_data = fmri_data - meanfmri[:, None]
|
|
1262
|
+
|
|
1263
|
+
# drop in the raw data
|
|
1264
|
+
for theslice in range(numslices):
|
|
1265
|
+
upsampleimage[
|
|
1266
|
+
:, :, theslice, sliceoffsets[theslice] : timepoints * numsteps : numsteps
|
|
1267
|
+
] = demeaned_data.reshape((xsize, ysize, numslices, timepoints))[:, :, theslice, :]
|
|
1268
|
+
|
|
1269
|
+
upsampleimage_byslice = upsampleimage.reshape(xsize * ysize, numslices, timepoints * numsteps)
|
|
1270
|
+
|
|
1271
|
+
# interpolate along the slice direction
|
|
1272
|
+
thedstlocs = np.linspace(0, numslices, num=len(sliceoffsets), endpoint=False)
|
|
1273
|
+
print(f"len(destlocst), destlocs: {len(thedstlocs)}, {thedstlocs}")
|
|
1274
|
+
for thetimepoint in range(0, timepoints * numsteps):
|
|
1275
|
+
thestep = thetimepoint % numsteps
|
|
1276
|
+
print(f"interpolating step {thestep}")
|
|
1277
|
+
thesrclocs = np.where(sliceoffsets == thestep)[0]
|
|
1278
|
+
print(f"timepoint: {thetimepoint}, sourcelocs: {thesrclocs}")
|
|
1279
|
+
for thexyvoxel in range(xsize * ysize):
|
|
1280
|
+
theinterps = np.interp(
|
|
1281
|
+
thedstlocs,
|
|
1282
|
+
1.0 * thesrclocs,
|
|
1283
|
+
upsampleimage_byslice[thexyvoxel, thesrclocs, thetimepoint],
|
|
1284
|
+
)
|
|
1285
|
+
upsampleimage_byslice[thexyvoxel, :, thetimepoint] = 1.0 * theinterps
|
|
1286
|
+
|
|
1287
|
+
theheader = copy.deepcopy(input_hdr)
|
|
1288
|
+
theheader["dim"][4] = timepoints * numsteps
|
|
1289
|
+
theheader["pixdim"][4] = 1.0 / slicesamplerate
|
|
1290
|
+
tide_io.savetonifti(upsampleimage, theheader, outputroot + "_upsampled")
|
|
1291
|
+
print("upsampling complete")
|
|
@@ -1160,13 +1160,15 @@ def getslicetimesfromfile(slicetimename):
|
|
|
1160
1160
|
for idx, thetime in enumerate(slicetimelist):
|
|
1161
1161
|
slicetimes[idx] = float(thetime)
|
|
1162
1162
|
normalizedtotr = False
|
|
1163
|
+
fileisbidsjson = True
|
|
1163
1164
|
except KeyError:
|
|
1164
1165
|
print(slicetimename, "is not a valid BIDS sidecar file")
|
|
1165
1166
|
sys.exit()
|
|
1166
1167
|
else:
|
|
1167
1168
|
slicetimes = readvec(slicetimename)
|
|
1168
1169
|
normalizedtotr = True
|
|
1169
|
-
|
|
1170
|
+
fileisbidsjson = False
|
|
1171
|
+
return slicetimes, normalizedtotr, fileisbidsjson
|
|
1170
1172
|
|
|
1171
1173
|
|
|
1172
1174
|
def readbidssidecar(inputfilename):
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python
|
|
2
2
|
# -*- coding: utf-8 -*-
|
|
3
3
|
#
|
|
4
|
-
# Copyright 2016-
|
|
4
|
+
# Copyright 2016-2025 Blaise Frederick
|
|
5
5
|
#
|
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
@@ -31,7 +31,7 @@ def test_fullrunhappy_v2(debug=False, displayplots=False):
|
|
|
31
31
|
os.path.join(get_examples_path(), "sub-HAPPYTEST.nii.gz"),
|
|
32
32
|
os.path.join(get_examples_path(), "sub-HAPPYTEST.json"),
|
|
33
33
|
os.path.join(get_test_temp_path(), "happyout2"),
|
|
34
|
-
"--
|
|
34
|
+
"--estweights",
|
|
35
35
|
os.path.join(get_examples_path(), "sub-HAPPYTEST_smallmask.nii.gz"),
|
|
36
36
|
"--projmask",
|
|
37
37
|
os.path.join(get_examples_path(), "sub-HAPPYTEST_smallmask.nii.gz"),
|
|
@@ -31,7 +31,7 @@ def test_fullrunhappy_v3(debug=False, displayplots=False):
|
|
|
31
31
|
os.path.join(get_examples_path(), "sub-HAPPYTEST.nii.gz"),
|
|
32
32
|
os.path.join(get_examples_path(), "sub-HAPPYTEST.json"),
|
|
33
33
|
os.path.join(get_test_temp_path(), "happyout3"),
|
|
34
|
-
"--
|
|
34
|
+
"--estweights",
|
|
35
35
|
os.path.join(get_examples_path(), "sub-HAPPYTEST_smallmask.nii.gz"),
|
|
36
36
|
"--projmask",
|
|
37
37
|
os.path.join(get_examples_path(), "sub-HAPPYTEST_smallmask.nii.gz"),
|
|
@@ -31,7 +31,7 @@ def test_fullrunhappy_v4(debug=False, displayplots=False):
|
|
|
31
31
|
os.path.join(get_examples_path(), "sub-HAPPYTEST.nii.gz"),
|
|
32
32
|
os.path.join(get_examples_path(), "sub-HAPPYTEST.json"),
|
|
33
33
|
os.path.join(get_test_temp_path(), "happyout4"),
|
|
34
|
-
"--
|
|
34
|
+
"--estweights",
|
|
35
35
|
os.path.join(get_examples_path(), "sub-HAPPYTEST_smallmask.nii.gz"),
|
|
36
36
|
"--projmask",
|
|
37
37
|
os.path.join(get_examples_path(), "sub-HAPPYTEST_smallmask.nii.gz"),
|
|
@@ -39,6 +39,8 @@ def test_fullrunhappy_v4(debug=False, displayplots=False):
|
|
|
39
39
|
"-1",
|
|
40
40
|
"--model",
|
|
41
41
|
"model_revised",
|
|
42
|
+
"--motionfile",
|
|
43
|
+
os.path.join(get_examples_path(), "sub-HAPPYTEST_mcf.par"),
|
|
42
44
|
]
|
|
43
45
|
happy_workflow.happy_main(happy_parser.process_args(inputargs=inputargs))
|
|
44
46
|
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
import os
|
|
20
|
+
|
|
21
|
+
import matplotlib as mpl
|
|
22
|
+
|
|
23
|
+
import rapidtide.workflows.happy as happy_workflow
|
|
24
|
+
import rapidtide.workflows.happy_parser as happy_parser
|
|
25
|
+
from rapidtide.tests.utils import get_examples_path, get_test_temp_path
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def test_fullrunhappy_v4(debug=False, displayplots=False):
|
|
29
|
+
# run happy
|
|
30
|
+
inputargs = [
|
|
31
|
+
os.path.join(get_examples_path(), "sub-HAPPYTEST.nii.gz"),
|
|
32
|
+
os.path.join(get_examples_path(), "sub-HAPPYTEST.json"),
|
|
33
|
+
os.path.join(get_test_temp_path(), "happyout5"),
|
|
34
|
+
"--model",
|
|
35
|
+
"model_revised",
|
|
36
|
+
"--motionfile",
|
|
37
|
+
os.path.join(get_examples_path(), "sub-HAPPYTEST_mcf.par"),
|
|
38
|
+
"--nomotderiv",
|
|
39
|
+
"--nomotorthogonalize",
|
|
40
|
+
"--motfiltorder",
|
|
41
|
+
"2",
|
|
42
|
+
"--numskip",
|
|
43
|
+
"5",
|
|
44
|
+
"--motskip",
|
|
45
|
+
"5",
|
|
46
|
+
"--motionhp",
|
|
47
|
+
"0.01",
|
|
48
|
+
"--motionlp",
|
|
49
|
+
"2.0",
|
|
50
|
+
]
|
|
51
|
+
happy_workflow.happy_main(happy_parser.process_args(inputargs=inputargs))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
if __name__ == "__main__":
|
|
55
|
+
mpl.use("TkAgg")
|
|
56
|
+
test_fullrunhappy_v4(debug=True, displayplots=True)
|
|
@@ -26,8 +26,7 @@ import subprocess
|
|
|
26
26
|
import sys
|
|
27
27
|
import time
|
|
28
28
|
from datetime import datetime
|
|
29
|
-
from multiprocessing import
|
|
30
|
-
from os.path import split
|
|
29
|
+
from multiprocessing import shared_memory
|
|
31
30
|
|
|
32
31
|
import matplotlib.pyplot as plt
|
|
33
32
|
import numpy as np
|