rapidtide 2.9.5__py3-none-any.whl → 3.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cloud/gmscalc-HCPYA +1 -1
- cloud/mount-and-run +2 -0
- cloud/rapidtide-HCPYA +3 -3
- rapidtide/Colortables.py +538 -38
- rapidtide/OrthoImageItem.py +1094 -51
- rapidtide/RapidtideDataset.py +1709 -114
- rapidtide/__init__.py +0 -8
- rapidtide/_version.py +4 -4
- rapidtide/calccoherence.py +242 -97
- rapidtide/calcnullsimfunc.py +240 -140
- rapidtide/calcsimfunc.py +314 -129
- rapidtide/correlate.py +1211 -389
- rapidtide/data/examples/src/testLD +56 -0
- rapidtide/data/examples/src/test_findmaxlag.py +2 -2
- rapidtide/data/examples/src/test_mlregressallt.py +32 -17
- rapidtide/data/examples/src/testalign +1 -1
- rapidtide/data/examples/src/testatlasaverage +35 -7
- rapidtide/data/examples/src/testboth +21 -0
- rapidtide/data/examples/src/testcifti +11 -0
- rapidtide/data/examples/src/testdelayvar +13 -0
- rapidtide/data/examples/src/testdlfilt +25 -0
- rapidtide/data/examples/src/testfft +35 -0
- rapidtide/data/examples/src/testfileorfloat +37 -0
- rapidtide/data/examples/src/testfmri +94 -27
- rapidtide/data/examples/src/testfuncs +3 -3
- rapidtide/data/examples/src/testglmfilt +8 -6
- rapidtide/data/examples/src/testhappy +84 -51
- rapidtide/data/examples/src/testinitdelay +19 -0
- rapidtide/data/examples/src/testmodels +33 -0
- rapidtide/data/examples/src/testnewrefine +26 -0
- rapidtide/data/examples/src/testnoiseamp +21 -0
- rapidtide/data/examples/src/testppgproc +17 -0
- rapidtide/data/examples/src/testrefineonly +22 -0
- rapidtide/data/examples/src/testretro +26 -13
- rapidtide/data/examples/src/testretrolagtcs +16 -0
- rapidtide/data/examples/src/testrolloff +11 -0
- rapidtide/data/examples/src/testsimdata +45 -28
- rapidtide/data/models/model_cnn_pytorch/loss.png +0 -0
- rapidtide/data/models/model_cnn_pytorch/loss.txt +1 -0
- rapidtide/data/models/model_cnn_pytorch/model.pth +0 -0
- rapidtide/data/models/model_cnn_pytorch/model_meta.json +68 -0
- rapidtide/data/models/model_cnn_pytorch_fulldata/loss.png +0 -0
- rapidtide/data/models/model_cnn_pytorch_fulldata/loss.txt +1 -0
- rapidtide/data/models/model_cnn_pytorch_fulldata/model.pth +0 -0
- rapidtide/data/models/model_cnn_pytorch_fulldata/model_meta.json +80 -0
- rapidtide/data/models/model_cnnbp_pytorch_fullldata/loss.png +0 -0
- rapidtide/data/models/model_cnnbp_pytorch_fullldata/loss.txt +1 -0
- rapidtide/data/models/model_cnnbp_pytorch_fullldata/model.pth +0 -0
- rapidtide/data/models/model_cnnbp_pytorch_fullldata/model_meta.json +138 -0
- rapidtide/data/models/model_cnnfft_pytorch_fulldata/loss.png +0 -0
- rapidtide/data/models/model_cnnfft_pytorch_fulldata/loss.txt +1 -0
- rapidtide/data/models/model_cnnfft_pytorch_fulldata/model.pth +0 -0
- rapidtide/data/models/model_cnnfft_pytorch_fulldata/model_meta.json +128 -0
- rapidtide/data/models/model_ppgattention_pytorch_w128_fulldata/loss.png +0 -0
- rapidtide/data/models/model_ppgattention_pytorch_w128_fulldata/loss.txt +1 -0
- rapidtide/data/models/model_ppgattention_pytorch_w128_fulldata/model.pth +0 -0
- rapidtide/data/models/model_ppgattention_pytorch_w128_fulldata/model_meta.json +49 -0
- rapidtide/data/models/model_revised_tf2/model.keras +0 -0
- rapidtide/data/models/{model_serdar → model_revised_tf2}/model_meta.json +1 -1
- rapidtide/data/models/model_serdar2_tf2/model.keras +0 -0
- rapidtide/data/models/{model_serdar2 → model_serdar2_tf2}/model_meta.json +1 -1
- rapidtide/data/models/model_serdar_tf2/model.keras +0 -0
- rapidtide/data/models/{model_revised → model_serdar_tf2}/model_meta.json +1 -1
- rapidtide/data/reference/HCP1200v2_MTT_2mm.nii.gz +0 -0
- rapidtide/data/reference/HCP1200v2_binmask_2mm.nii.gz +0 -0
- rapidtide/data/reference/HCP1200v2_csf_2mm.nii.gz +0 -0
- rapidtide/data/reference/HCP1200v2_gray_2mm.nii.gz +0 -0
- rapidtide/data/reference/HCP1200v2_graylaghist.json +7 -0
- rapidtide/data/reference/HCP1200v2_graylaghist.tsv.gz +0 -0
- rapidtide/data/reference/HCP1200v2_laghist.json +7 -0
- rapidtide/data/reference/HCP1200v2_laghist.tsv.gz +0 -0
- rapidtide/data/reference/HCP1200v2_mask_2mm.nii.gz +0 -0
- rapidtide/data/reference/HCP1200v2_maxcorr_2mm.nii.gz +0 -0
- rapidtide/data/reference/HCP1200v2_maxtime_2mm.nii.gz +0 -0
- rapidtide/data/reference/HCP1200v2_maxwidth_2mm.nii.gz +0 -0
- rapidtide/data/reference/HCP1200v2_negmask_2mm.nii.gz +0 -0
- rapidtide/data/reference/HCP1200v2_timepercentile_2mm.nii.gz +0 -0
- rapidtide/data/reference/HCP1200v2_white_2mm.nii.gz +0 -0
- rapidtide/data/reference/HCP1200v2_whitelaghist.json +7 -0
- rapidtide/data/reference/HCP1200v2_whitelaghist.tsv.gz +0 -0
- rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1-seg2.xml +131 -0
- rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1-seg2_regions.txt +60 -0
- rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1-seg2_space-MNI152NLin6Asym_2mm.nii.gz +0 -0
- rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1_space-MNI152NLin2009cAsym_2mm.nii.gz +0 -0
- rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1_space-MNI152NLin2009cAsym_2mm_mask.nii.gz +0 -0
- rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL1_space-MNI152NLin6Asym_2mm_mask.nii.gz +0 -0
- rapidtide/data/reference/JHU-ArterialTerritoriesNoVent-LVL2_space-MNI152NLin6Asym_2mm_mask.nii.gz +0 -0
- rapidtide/data/reference/MNI152_T1_1mm_Brain_FAST_seg.nii.gz +0 -0
- rapidtide/data/reference/MNI152_T1_1mm_Brain_Mask.nii.gz +0 -0
- rapidtide/data/reference/MNI152_T1_2mm_Brain_FAST_seg.nii.gz +0 -0
- rapidtide/data/reference/MNI152_T1_2mm_Brain_Mask.nii.gz +0 -0
- rapidtide/decorators.py +91 -0
- rapidtide/dlfilter.py +2553 -414
- rapidtide/dlfiltertorch.py +5201 -0
- rapidtide/externaltools.py +328 -13
- rapidtide/fMRIData_class.py +178 -0
- rapidtide/ffttools.py +168 -0
- rapidtide/filter.py +2704 -1462
- rapidtide/fit.py +2361 -579
- rapidtide/genericmultiproc.py +197 -0
- rapidtide/happy_supportfuncs.py +3255 -548
- rapidtide/helper_classes.py +590 -1181
- rapidtide/io.py +2569 -468
- rapidtide/linfitfiltpass.py +784 -0
- rapidtide/makelaggedtcs.py +267 -97
- rapidtide/maskutil.py +555 -25
- rapidtide/miscmath.py +867 -137
- rapidtide/multiproc.py +217 -44
- rapidtide/patchmatch.py +752 -0
- rapidtide/peakeval.py +32 -32
- rapidtide/ppgproc.py +2205 -0
- rapidtide/qualitycheck.py +353 -40
- rapidtide/refinedelay.py +854 -0
- rapidtide/refineregressor.py +939 -0
- rapidtide/resample.py +725 -204
- rapidtide/scripts/__init__.py +1 -0
- rapidtide/scripts/{adjustoffset → adjustoffset.py} +7 -2
- rapidtide/scripts/{aligntcs → aligntcs.py} +7 -2
- rapidtide/scripts/{applydlfilter → applydlfilter.py} +7 -2
- rapidtide/scripts/applyppgproc.py +28 -0
- rapidtide/scripts/{atlasaverage → atlasaverage.py} +7 -2
- rapidtide/scripts/{atlastool → atlastool.py} +7 -2
- rapidtide/scripts/{calcicc → calcicc.py} +7 -2
- rapidtide/scripts/{calctexticc → calctexticc.py} +7 -2
- rapidtide/scripts/{calcttest → calcttest.py} +7 -2
- rapidtide/scripts/{ccorrica → ccorrica.py} +7 -2
- rapidtide/scripts/delayvar.py +28 -0
- rapidtide/scripts/{diffrois → diffrois.py} +7 -2
- rapidtide/scripts/{endtidalproc → endtidalproc.py} +7 -2
- rapidtide/scripts/{fdica → fdica.py} +7 -2
- rapidtide/scripts/{filtnifti → filtnifti.py} +7 -2
- rapidtide/scripts/{filttc → filttc.py} +7 -2
- rapidtide/scripts/{fingerprint → fingerprint.py} +20 -16
- rapidtide/scripts/{fixtr → fixtr.py} +7 -2
- rapidtide/scripts/{gmscalc → gmscalc.py} +7 -2
- rapidtide/scripts/{happy → happy.py} +7 -2
- rapidtide/scripts/{happy2std → happy2std.py} +7 -2
- rapidtide/scripts/{happywarp → happywarp.py} +8 -4
- rapidtide/scripts/{histnifti → histnifti.py} +7 -2
- rapidtide/scripts/{histtc → histtc.py} +7 -2
- rapidtide/scripts/{glmfilt → linfitfilt.py} +7 -4
- rapidtide/scripts/{localflow → localflow.py} +7 -2
- rapidtide/scripts/{mergequality → mergequality.py} +7 -2
- rapidtide/scripts/{pairproc → pairproc.py} +7 -2
- rapidtide/scripts/{pairwisemergenifti → pairwisemergenifti.py} +7 -2
- rapidtide/scripts/{physiofreq → physiofreq.py} +7 -2
- rapidtide/scripts/{pixelcomp → pixelcomp.py} +7 -2
- rapidtide/scripts/{plethquality → plethquality.py} +7 -2
- rapidtide/scripts/{polyfitim → polyfitim.py} +7 -2
- rapidtide/scripts/{proj2flow → proj2flow.py} +7 -2
- rapidtide/scripts/{rankimage → rankimage.py} +7 -2
- rapidtide/scripts/{rapidtide → rapidtide.py} +7 -2
- rapidtide/scripts/{rapidtide2std → rapidtide2std.py} +7 -2
- rapidtide/scripts/{resamplenifti → resamplenifti.py} +7 -2
- rapidtide/scripts/{resampletc → resampletc.py} +7 -2
- rapidtide/scripts/retrolagtcs.py +28 -0
- rapidtide/scripts/retroregress.py +28 -0
- rapidtide/scripts/{roisummarize → roisummarize.py} +7 -2
- rapidtide/scripts/{runqualitycheck → runqualitycheck.py} +7 -2
- rapidtide/scripts/{showarbcorr → showarbcorr.py} +7 -2
- rapidtide/scripts/{showhist → showhist.py} +7 -2
- rapidtide/scripts/{showstxcorr → showstxcorr.py} +7 -2
- rapidtide/scripts/{showtc → showtc.py} +7 -2
- rapidtide/scripts/{showxcorr_legacy → showxcorr_legacy.py} +8 -8
- rapidtide/scripts/{showxcorrx → showxcorrx.py} +7 -2
- rapidtide/scripts/{showxy → showxy.py} +7 -2
- rapidtide/scripts/{simdata → simdata.py} +7 -2
- rapidtide/scripts/{spatialdecomp → spatialdecomp.py} +7 -2
- rapidtide/scripts/{spatialfit → spatialfit.py} +7 -2
- rapidtide/scripts/{spatialmi → spatialmi.py} +7 -2
- rapidtide/scripts/{spectrogram → spectrogram.py} +7 -2
- rapidtide/scripts/stupidramtricks.py +238 -0
- rapidtide/scripts/{synthASL → synthASL.py} +7 -2
- rapidtide/scripts/{tcfrom2col → tcfrom2col.py} +7 -2
- rapidtide/scripts/{tcfrom3col → tcfrom3col.py} +7 -2
- rapidtide/scripts/{temporaldecomp → temporaldecomp.py} +7 -2
- rapidtide/scripts/{testhrv → testhrv.py} +1 -1
- rapidtide/scripts/{threeD → threeD.py} +7 -2
- rapidtide/scripts/{tidepool → tidepool.py} +7 -2
- rapidtide/scripts/{variabilityizer → variabilityizer.py} +7 -2
- rapidtide/simFuncClasses.py +2113 -0
- rapidtide/simfuncfit.py +312 -108
- rapidtide/stats.py +579 -247
- rapidtide/tests/.coveragerc +27 -6
- rapidtide-2.9.5.data/scripts/fdica → rapidtide/tests/cleanposttest +4 -6
- rapidtide/tests/happycomp +9 -0
- rapidtide/tests/resethappytargets +1 -1
- rapidtide/tests/resetrapidtidetargets +1 -1
- rapidtide/tests/resettargets +1 -1
- rapidtide/tests/runlocaltest +3 -3
- rapidtide/tests/showkernels +1 -1
- rapidtide/tests/test_aliasedcorrelate.py +4 -4
- rapidtide/tests/test_aligntcs.py +1 -1
- rapidtide/tests/test_calcicc.py +1 -1
- rapidtide/tests/test_cleanregressor.py +184 -0
- rapidtide/tests/test_congrid.py +70 -81
- rapidtide/tests/test_correlate.py +1 -1
- rapidtide/tests/test_corrpass.py +4 -4
- rapidtide/tests/test_delayestimation.py +54 -59
- rapidtide/tests/test_dlfiltertorch.py +437 -0
- rapidtide/tests/test_doresample.py +2 -2
- rapidtide/tests/test_externaltools.py +69 -0
- rapidtide/tests/test_fastresampler.py +9 -5
- rapidtide/tests/test_filter.py +96 -57
- rapidtide/tests/test_findmaxlag.py +50 -19
- rapidtide/tests/test_fullrunhappy_v1.py +15 -10
- rapidtide/tests/test_fullrunhappy_v2.py +19 -13
- rapidtide/tests/test_fullrunhappy_v3.py +28 -13
- rapidtide/tests/test_fullrunhappy_v4.py +30 -11
- rapidtide/tests/test_fullrunhappy_v5.py +62 -0
- rapidtide/tests/test_fullrunrapidtide_v1.py +61 -7
- rapidtide/tests/test_fullrunrapidtide_v2.py +27 -15
- rapidtide/tests/test_fullrunrapidtide_v3.py +28 -8
- rapidtide/tests/test_fullrunrapidtide_v4.py +16 -8
- rapidtide/tests/test_fullrunrapidtide_v5.py +15 -6
- rapidtide/tests/test_fullrunrapidtide_v6.py +142 -0
- rapidtide/tests/test_fullrunrapidtide_v7.py +114 -0
- rapidtide/tests/test_fullrunrapidtide_v8.py +66 -0
- rapidtide/tests/test_getparsers.py +158 -0
- rapidtide/tests/test_io.py +59 -18
- rapidtide/tests/{test_glmpass.py → test_linfitfiltpass.py} +10 -10
- rapidtide/tests/test_mi.py +1 -1
- rapidtide/tests/test_miscmath.py +1 -1
- rapidtide/tests/test_motionregress.py +5 -5
- rapidtide/tests/test_nullcorr.py +6 -9
- rapidtide/tests/test_padvec.py +216 -0
- rapidtide/tests/test_parserfuncs.py +101 -0
- rapidtide/tests/test_phaseanalysis.py +1 -1
- rapidtide/tests/test_rapidtideparser.py +59 -53
- rapidtide/tests/test_refinedelay.py +296 -0
- rapidtide/tests/test_runmisc.py +5 -5
- rapidtide/tests/test_sharedmem.py +60 -0
- rapidtide/tests/test_simroundtrip.py +132 -0
- rapidtide/tests/test_simulate.py +1 -1
- rapidtide/tests/test_stcorrelate.py +4 -2
- rapidtide/tests/test_timeshift.py +2 -2
- rapidtide/tests/test_valtoindex.py +1 -1
- rapidtide/tests/test_zRapidtideDataset.py +5 -3
- rapidtide/tests/utils.py +10 -9
- rapidtide/tidepoolTemplate.py +88 -70
- rapidtide/tidepoolTemplate.ui +60 -46
- rapidtide/tidepoolTemplate_alt.py +88 -53
- rapidtide/tidepoolTemplate_alt.ui +62 -52
- rapidtide/tidepoolTemplate_alt_qt6.py +921 -0
- rapidtide/tidepoolTemplate_big.py +1125 -0
- rapidtide/tidepoolTemplate_big.ui +2386 -0
- rapidtide/tidepoolTemplate_big_qt6.py +1129 -0
- rapidtide/tidepoolTemplate_qt6.py +793 -0
- rapidtide/util.py +1389 -148
- rapidtide/voxelData.py +1048 -0
- rapidtide/wiener.py +138 -25
- rapidtide/wiener2.py +114 -8
- rapidtide/workflows/adjustoffset.py +107 -5
- rapidtide/workflows/aligntcs.py +86 -3
- rapidtide/workflows/applydlfilter.py +231 -89
- rapidtide/workflows/applyppgproc.py +540 -0
- rapidtide/workflows/atlasaverage.py +309 -48
- rapidtide/workflows/atlastool.py +130 -9
- rapidtide/workflows/calcSimFuncMap.py +490 -0
- rapidtide/workflows/calctexticc.py +202 -10
- rapidtide/workflows/ccorrica.py +123 -15
- rapidtide/workflows/cleanregressor.py +415 -0
- rapidtide/workflows/delayvar.py +1268 -0
- rapidtide/workflows/diffrois.py +84 -6
- rapidtide/workflows/endtidalproc.py +149 -9
- rapidtide/workflows/fdica.py +197 -17
- rapidtide/workflows/filtnifti.py +71 -4
- rapidtide/workflows/filttc.py +76 -5
- rapidtide/workflows/fitSimFuncMap.py +578 -0
- rapidtide/workflows/fixtr.py +74 -4
- rapidtide/workflows/gmscalc.py +116 -6
- rapidtide/workflows/happy.py +1242 -480
- rapidtide/workflows/happy2std.py +145 -13
- rapidtide/workflows/happy_parser.py +277 -59
- rapidtide/workflows/histnifti.py +120 -4
- rapidtide/workflows/histtc.py +85 -4
- rapidtide/workflows/{glmfilt.py → linfitfilt.py} +128 -14
- rapidtide/workflows/localflow.py +329 -29
- rapidtide/workflows/mergequality.py +80 -4
- rapidtide/workflows/niftidecomp.py +323 -19
- rapidtide/workflows/niftistats.py +178 -8
- rapidtide/workflows/pairproc.py +99 -5
- rapidtide/workflows/pairwisemergenifti.py +86 -3
- rapidtide/workflows/parser_funcs.py +1488 -56
- rapidtide/workflows/physiofreq.py +139 -12
- rapidtide/workflows/pixelcomp.py +211 -9
- rapidtide/workflows/plethquality.py +105 -23
- rapidtide/workflows/polyfitim.py +159 -19
- rapidtide/workflows/proj2flow.py +76 -3
- rapidtide/workflows/rankimage.py +115 -8
- rapidtide/workflows/rapidtide.py +1833 -1919
- rapidtide/workflows/rapidtide2std.py +101 -3
- rapidtide/workflows/rapidtide_parser.py +607 -372
- rapidtide/workflows/refineDelayMap.py +249 -0
- rapidtide/workflows/refineRegressor.py +1215 -0
- rapidtide/workflows/regressfrommaps.py +308 -0
- rapidtide/workflows/resamplenifti.py +86 -4
- rapidtide/workflows/resampletc.py +92 -4
- rapidtide/workflows/retrolagtcs.py +442 -0
- rapidtide/workflows/retroregress.py +1501 -0
- rapidtide/workflows/roisummarize.py +176 -7
- rapidtide/workflows/runqualitycheck.py +72 -7
- rapidtide/workflows/showarbcorr.py +172 -16
- rapidtide/workflows/showhist.py +87 -3
- rapidtide/workflows/showstxcorr.py +161 -4
- rapidtide/workflows/showtc.py +172 -10
- rapidtide/workflows/showxcorrx.py +250 -62
- rapidtide/workflows/showxy.py +186 -16
- rapidtide/workflows/simdata.py +418 -112
- rapidtide/workflows/spatialfit.py +83 -8
- rapidtide/workflows/spatialmi.py +252 -29
- rapidtide/workflows/spectrogram.py +306 -33
- rapidtide/workflows/synthASL.py +157 -6
- rapidtide/workflows/tcfrom2col.py +77 -3
- rapidtide/workflows/tcfrom3col.py +75 -3
- rapidtide/workflows/tidepool.py +3829 -666
- rapidtide/workflows/utils.py +45 -19
- rapidtide/workflows/utils_doc.py +293 -0
- rapidtide/workflows/variabilityizer.py +118 -5
- {rapidtide-2.9.5.dist-info → rapidtide-3.1.3.dist-info}/METADATA +30 -223
- rapidtide-3.1.3.dist-info/RECORD +393 -0
- {rapidtide-2.9.5.dist-info → rapidtide-3.1.3.dist-info}/WHEEL +1 -1
- rapidtide-3.1.3.dist-info/entry_points.txt +65 -0
- rapidtide-3.1.3.dist-info/top_level.txt +2 -0
- rapidtide/calcandfitcorrpairs.py +0 -262
- rapidtide/data/examples/src/testoutputsize +0 -45
- rapidtide/data/models/model_revised/model.h5 +0 -0
- rapidtide/data/models/model_serdar/model.h5 +0 -0
- rapidtide/data/models/model_serdar2/model.h5 +0 -0
- rapidtide/data/reference/ASPECTS_nlin_asym_09c_2mm.nii.gz +0 -0
- rapidtide/data/reference/ASPECTS_nlin_asym_09c_2mm_mask.nii.gz +0 -0
- rapidtide/data/reference/ATTbasedFlowTerritories_split_nlin_asym_09c_2mm.nii.gz +0 -0
- rapidtide/data/reference/ATTbasedFlowTerritories_split_nlin_asym_09c_2mm_mask.nii.gz +0 -0
- rapidtide/data/reference/HCP1200_binmask_2mm_2009c_asym.nii.gz +0 -0
- rapidtide/data/reference/HCP1200_lag_2mm_2009c_asym.nii.gz +0 -0
- rapidtide/data/reference/HCP1200_mask_2mm_2009c_asym.nii.gz +0 -0
- rapidtide/data/reference/HCP1200_negmask_2mm_2009c_asym.nii.gz +0 -0
- rapidtide/data/reference/HCP1200_sigma_2mm_2009c_asym.nii.gz +0 -0
- rapidtide/data/reference/HCP1200_strength_2mm_2009c_asym.nii.gz +0 -0
- rapidtide/glmpass.py +0 -434
- rapidtide/refine_factored.py +0 -641
- rapidtide/scripts/retroglm +0 -23
- rapidtide/workflows/glmfrommaps.py +0 -202
- rapidtide/workflows/retroglm.py +0 -643
- rapidtide-2.9.5.data/scripts/adjustoffset +0 -23
- rapidtide-2.9.5.data/scripts/aligntcs +0 -23
- rapidtide-2.9.5.data/scripts/applydlfilter +0 -23
- rapidtide-2.9.5.data/scripts/atlasaverage +0 -23
- rapidtide-2.9.5.data/scripts/atlastool +0 -23
- rapidtide-2.9.5.data/scripts/calcicc +0 -22
- rapidtide-2.9.5.data/scripts/calctexticc +0 -23
- rapidtide-2.9.5.data/scripts/calcttest +0 -22
- rapidtide-2.9.5.data/scripts/ccorrica +0 -23
- rapidtide-2.9.5.data/scripts/diffrois +0 -23
- rapidtide-2.9.5.data/scripts/endtidalproc +0 -23
- rapidtide-2.9.5.data/scripts/filtnifti +0 -23
- rapidtide-2.9.5.data/scripts/filttc +0 -23
- rapidtide-2.9.5.data/scripts/fingerprint +0 -593
- rapidtide-2.9.5.data/scripts/fixtr +0 -23
- rapidtide-2.9.5.data/scripts/glmfilt +0 -24
- rapidtide-2.9.5.data/scripts/gmscalc +0 -22
- rapidtide-2.9.5.data/scripts/happy +0 -25
- rapidtide-2.9.5.data/scripts/happy2std +0 -23
- rapidtide-2.9.5.data/scripts/happywarp +0 -350
- rapidtide-2.9.5.data/scripts/histnifti +0 -23
- rapidtide-2.9.5.data/scripts/histtc +0 -23
- rapidtide-2.9.5.data/scripts/localflow +0 -23
- rapidtide-2.9.5.data/scripts/mergequality +0 -23
- rapidtide-2.9.5.data/scripts/pairproc +0 -23
- rapidtide-2.9.5.data/scripts/pairwisemergenifti +0 -23
- rapidtide-2.9.5.data/scripts/physiofreq +0 -23
- rapidtide-2.9.5.data/scripts/pixelcomp +0 -23
- rapidtide-2.9.5.data/scripts/plethquality +0 -23
- rapidtide-2.9.5.data/scripts/polyfitim +0 -23
- rapidtide-2.9.5.data/scripts/proj2flow +0 -23
- rapidtide-2.9.5.data/scripts/rankimage +0 -23
- rapidtide-2.9.5.data/scripts/rapidtide +0 -23
- rapidtide-2.9.5.data/scripts/rapidtide2std +0 -23
- rapidtide-2.9.5.data/scripts/resamplenifti +0 -23
- rapidtide-2.9.5.data/scripts/resampletc +0 -23
- rapidtide-2.9.5.data/scripts/retroglm +0 -23
- rapidtide-2.9.5.data/scripts/roisummarize +0 -23
- rapidtide-2.9.5.data/scripts/runqualitycheck +0 -23
- rapidtide-2.9.5.data/scripts/showarbcorr +0 -23
- rapidtide-2.9.5.data/scripts/showhist +0 -23
- rapidtide-2.9.5.data/scripts/showstxcorr +0 -23
- rapidtide-2.9.5.data/scripts/showtc +0 -23
- rapidtide-2.9.5.data/scripts/showxcorr_legacy +0 -536
- rapidtide-2.9.5.data/scripts/showxcorrx +0 -23
- rapidtide-2.9.5.data/scripts/showxy +0 -23
- rapidtide-2.9.5.data/scripts/simdata +0 -23
- rapidtide-2.9.5.data/scripts/spatialdecomp +0 -23
- rapidtide-2.9.5.data/scripts/spatialfit +0 -23
- rapidtide-2.9.5.data/scripts/spatialmi +0 -23
- rapidtide-2.9.5.data/scripts/spectrogram +0 -23
- rapidtide-2.9.5.data/scripts/synthASL +0 -23
- rapidtide-2.9.5.data/scripts/tcfrom2col +0 -23
- rapidtide-2.9.5.data/scripts/tcfrom3col +0 -23
- rapidtide-2.9.5.data/scripts/temporaldecomp +0 -23
- rapidtide-2.9.5.data/scripts/threeD +0 -236
- rapidtide-2.9.5.data/scripts/tidepool +0 -23
- rapidtide-2.9.5.data/scripts/variabilityizer +0 -23
- rapidtide-2.9.5.dist-info/RECORD +0 -357
- rapidtide-2.9.5.dist-info/top_level.txt +0 -86
- {rapidtide-2.9.5.dist-info → rapidtide-3.1.3.dist-info/licenses}/LICENSE +0 -0
rapidtide/tests/utils.py
CHANGED
|
@@ -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.
|
|
@@ -23,9 +23,10 @@ Utility functions for testing rapidtide.
|
|
|
23
23
|
import os
|
|
24
24
|
|
|
25
25
|
import numpy as np
|
|
26
|
+
import numpy.typing as npt
|
|
26
27
|
|
|
27
28
|
|
|
28
|
-
def get_rapidtide_root():
|
|
29
|
+
def get_rapidtide_root() -> str:
|
|
29
30
|
"""
|
|
30
31
|
Returns the path to the base rapidtide directory, terminated with separator.
|
|
31
32
|
Based on function by Yaroslav Halchenko used in Neurosynth Python package.
|
|
@@ -34,7 +35,7 @@ def get_rapidtide_root():
|
|
|
34
35
|
return os.path.join(thisdir, "..") + os.path.sep
|
|
35
36
|
|
|
36
37
|
|
|
37
|
-
def get_scripts_path():
|
|
38
|
+
def get_scripts_path() -> str:
|
|
38
39
|
"""
|
|
39
40
|
Returns the path to test datasets, terminated with separator. Test-related
|
|
40
41
|
data are kept in tests folder in "testdata".
|
|
@@ -43,7 +44,7 @@ def get_scripts_path():
|
|
|
43
44
|
return os.path.realpath(os.path.join(get_rapidtide_root(), "scripts")) + os.path.sep
|
|
44
45
|
|
|
45
46
|
|
|
46
|
-
def get_test_data_path():
|
|
47
|
+
def get_test_data_path() -> str:
|
|
47
48
|
"""
|
|
48
49
|
Returns the path to test datasets, terminated with separator. Test-related
|
|
49
50
|
data are kept in tests folder in "testdata".
|
|
@@ -52,7 +53,7 @@ def get_test_data_path():
|
|
|
52
53
|
return os.path.realpath(os.path.join(get_rapidtide_root(), "tests", "testdata")) + os.path.sep
|
|
53
54
|
|
|
54
55
|
|
|
55
|
-
def get_test_target_path():
|
|
56
|
+
def get_test_target_path() -> str:
|
|
56
57
|
"""
|
|
57
58
|
Returns the path to test comparison data, terminated with separator. Test-related
|
|
58
59
|
data are kept in tests folder in "testtargets".
|
|
@@ -63,7 +64,7 @@ def get_test_target_path():
|
|
|
63
64
|
)
|
|
64
65
|
|
|
65
66
|
|
|
66
|
-
def get_test_temp_path():
|
|
67
|
+
def get_test_temp_path() -> str:
|
|
67
68
|
"""
|
|
68
69
|
Returns the path to test temporary directory, terminated with separator.
|
|
69
70
|
Based on function by Yaroslav Halchenko used in Neurosynth Python package.
|
|
@@ -71,7 +72,7 @@ def get_test_temp_path():
|
|
|
71
72
|
return os.path.realpath(os.path.join(get_rapidtide_root(), "tests", "tmp")) + os.path.sep
|
|
72
73
|
|
|
73
74
|
|
|
74
|
-
def get_examples_path():
|
|
75
|
+
def get_examples_path() -> str:
|
|
75
76
|
"""
|
|
76
77
|
Returns the path to examples src directory, where larger test files live, terminated with separator. Test-related
|
|
77
78
|
data are kept in tests folder in "data".
|
|
@@ -83,7 +84,7 @@ def get_examples_path():
|
|
|
83
84
|
)
|
|
84
85
|
|
|
85
86
|
|
|
86
|
-
def create_dir(thedir, debug=False):
|
|
87
|
+
def create_dir(thedir: str, debug: bool = False) -> None:
|
|
87
88
|
# create a directory if it doesn't exist
|
|
88
89
|
try:
|
|
89
90
|
os.makedirs(thedir)
|
|
@@ -96,7 +97,7 @@ def create_dir(thedir, debug=False):
|
|
|
96
97
|
pass
|
|
97
98
|
|
|
98
99
|
|
|
99
|
-
def mse(ndarr1, ndarr2):
|
|
100
|
+
def mse(ndarr1: npt.NDArray, ndarr2: npt.NDArray) -> np.floating:
|
|
100
101
|
"""
|
|
101
102
|
Compute mean-squared error.
|
|
102
103
|
"""
|
rapidtide/tidepoolTemplate.py
CHANGED
|
@@ -1,27 +1,11 @@
|
|
|
1
|
-
#!/usr/bin/env python
|
|
2
1
|
# -*- 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
2
|
|
|
20
3
|
# Form implementation generated from reading ui file 'tidepoolTemplate.ui'
|
|
21
4
|
#
|
|
22
|
-
# Created by: PyQt5 UI code generator 5.
|
|
5
|
+
# Created by: PyQt5 UI code generator 5.15.10
|
|
23
6
|
#
|
|
24
|
-
# WARNING
|
|
7
|
+
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
|
8
|
+
# run again. Do not edit this file unless you know what you are doing.
|
|
25
9
|
|
|
26
10
|
|
|
27
11
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
@@ -59,6 +43,7 @@ class Ui_MainWindow(object):
|
|
|
59
43
|
self.logOutput.setGeometry(QtCore.QRect(10, 30, 651, 131))
|
|
60
44
|
font = QtGui.QFont()
|
|
61
45
|
font.setFamily("Courier")
|
|
46
|
+
font.setBold(True)
|
|
62
47
|
self.logOutput.setFont(font)
|
|
63
48
|
self.logOutput.setObjectName("logOutput")
|
|
64
49
|
self.imageData_groupBox = QtWidgets.QGroupBox(self.centralwidget)
|
|
@@ -78,10 +63,12 @@ class Ui_MainWindow(object):
|
|
|
78
63
|
self.label.setWordWrap(True)
|
|
79
64
|
self.label.setObjectName("label")
|
|
80
65
|
self.layoutWidget = QtWidgets.QWidget(self.imageData_groupBox)
|
|
81
|
-
self.layoutWidget.setGeometry(QtCore.QRect(10, 20,
|
|
66
|
+
self.layoutWidget.setGeometry(QtCore.QRect(10, 20, 1074, 286))
|
|
82
67
|
self.layoutWidget.setObjectName("layoutWidget")
|
|
83
68
|
self.largeimage_horizontalLayout = QtWidgets.QHBoxLayout(self.layoutWidget)
|
|
84
|
-
self.largeimage_horizontalLayout.setSizeConstraint(
|
|
69
|
+
self.largeimage_horizontalLayout.setSizeConstraint(
|
|
70
|
+
QtCore.Qt.QLayout.SizeConstraint.SetNoConstraint
|
|
71
|
+
)
|
|
85
72
|
self.largeimage_horizontalLayout.setContentsMargins(0, 0, 0, 0)
|
|
86
73
|
self.largeimage_horizontalLayout.setObjectName("largeimage_horizontalLayout")
|
|
87
74
|
self.main_graphicsView_ax = GraphicsLayoutWidget(self.layoutWidget)
|
|
@@ -95,8 +82,8 @@ class Ui_MainWindow(object):
|
|
|
95
82
|
self.main_graphicsView_ax.setMinimumSize(QtCore.QSize(256, 256))
|
|
96
83
|
self.main_graphicsView_ax.setMaximumSize(QtCore.QSize(256, 256))
|
|
97
84
|
self.main_graphicsView_ax.setSizeIncrement(QtCore.QSize(1, 1))
|
|
98
|
-
self.main_graphicsView_ax.setFrameShape(
|
|
99
|
-
self.main_graphicsView_ax.setAlignment(QtCore.Qt.AlignCenter)
|
|
85
|
+
self.main_graphicsView_ax.setFrameShape(QtCore.Qt.QFrame.Shape.NoFrame)
|
|
86
|
+
self.main_graphicsView_ax.setAlignment(QtCore.Qt.Qt.AlignmentFlag.AlignCenter)
|
|
100
87
|
self.main_graphicsView_ax.setObjectName("main_graphicsView_ax")
|
|
101
88
|
self.largeimage_horizontalLayout.addWidget(self.main_graphicsView_ax)
|
|
102
89
|
self.main_graphicsView_cor = GraphicsLayoutWidget(self.layoutWidget)
|
|
@@ -110,8 +97,8 @@ class Ui_MainWindow(object):
|
|
|
110
97
|
self.main_graphicsView_cor.setMinimumSize(QtCore.QSize(256, 256))
|
|
111
98
|
self.main_graphicsView_cor.setMaximumSize(QtCore.QSize(256, 256))
|
|
112
99
|
self.main_graphicsView_cor.setSizeIncrement(QtCore.QSize(1, 1))
|
|
113
|
-
self.main_graphicsView_cor.setFrameShape(
|
|
114
|
-
self.main_graphicsView_cor.setAlignment(QtCore.Qt.AlignCenter)
|
|
100
|
+
self.main_graphicsView_cor.setFrameShape(QtCore.Qt.QFrame.Shape.NoFrame)
|
|
101
|
+
self.main_graphicsView_cor.setAlignment(QtCore.Qt.Qt.AlignmentFlag.AlignCenter)
|
|
115
102
|
self.main_graphicsView_cor.setObjectName("main_graphicsView_cor")
|
|
116
103
|
self.largeimage_horizontalLayout.addWidget(self.main_graphicsView_cor)
|
|
117
104
|
self.main_graphicsView_sag = GraphicsLayoutWidget(self.layoutWidget)
|
|
@@ -125,8 +112,8 @@ class Ui_MainWindow(object):
|
|
|
125
112
|
self.main_graphicsView_sag.setMinimumSize(QtCore.QSize(256, 256))
|
|
126
113
|
self.main_graphicsView_sag.setMaximumSize(QtCore.QSize(256, 256))
|
|
127
114
|
self.main_graphicsView_sag.setSizeIncrement(QtCore.QSize(1, 1))
|
|
128
|
-
self.main_graphicsView_sag.setFrameShape(
|
|
129
|
-
self.main_graphicsView_sag.setAlignment(QtCore.Qt.AlignCenter)
|
|
115
|
+
self.main_graphicsView_sag.setFrameShape(QtCore.Qt.QFrame.Shape.NoFrame)
|
|
116
|
+
self.main_graphicsView_sag.setAlignment(QtCore.Qt.Qt.AlignmentFlag.AlignCenter)
|
|
130
117
|
self.main_graphicsView_sag.setObjectName("main_graphicsView_sag")
|
|
131
118
|
self.largeimage_horizontalLayout.addWidget(self.main_graphicsView_sag)
|
|
132
119
|
self.graphicsView_colorbar = GraphicsView(self.layoutWidget)
|
|
@@ -143,13 +130,15 @@ class Ui_MainWindow(object):
|
|
|
143
130
|
self.graphicsView_colorbar.setObjectName("graphicsView_colorbar")
|
|
144
131
|
self.largeimage_horizontalLayout.addWidget(self.graphicsView_colorbar)
|
|
145
132
|
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
|
|
146
|
-
self.verticalLayout_3.setSizeConstraint(
|
|
133
|
+
self.verticalLayout_3.setSizeConstraint(QtCore.Qt.QLayout.SizeConstraint.SetMaximumSize)
|
|
147
134
|
self.verticalLayout_3.setContentsMargins(-1, 5, -1, 5)
|
|
148
135
|
self.verticalLayout_3.setSpacing(0)
|
|
149
136
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
|
150
137
|
self.dispmax_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.layoutWidget)
|
|
151
138
|
self.dispmax_doubleSpinBox.setAlignment(
|
|
152
|
-
QtCore.Qt.
|
|
139
|
+
QtCore.Qt.Qt.AlignmentFlag.AlignRight
|
|
140
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignTrailing
|
|
141
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignVCenter
|
|
153
142
|
)
|
|
154
143
|
self.dispmax_doubleSpinBox.setDecimals(3)
|
|
155
144
|
self.dispmax_doubleSpinBox.setObjectName("dispmax_doubleSpinBox")
|
|
@@ -174,9 +163,15 @@ class Ui_MainWindow(object):
|
|
|
174
163
|
20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding
|
|
175
164
|
)
|
|
176
165
|
self.verticalLayout_3.addItem(spacerItem1)
|
|
166
|
+
self.transparency_checkBox = QtWidgets.QCheckBox(self.layoutWidget)
|
|
167
|
+
self.transparency_checkBox.setChecked(False)
|
|
168
|
+
self.transparency_checkBox.setObjectName("transparency_checkBox")
|
|
169
|
+
self.verticalLayout_3.addWidget(self.transparency_checkBox)
|
|
177
170
|
self.dispmin_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.layoutWidget)
|
|
178
171
|
self.dispmin_doubleSpinBox.setAlignment(
|
|
179
|
-
QtCore.Qt.
|
|
172
|
+
QtCore.Qt.Qt.AlignmentFlag.AlignRight
|
|
173
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignTrailing
|
|
174
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignVCenter
|
|
180
175
|
)
|
|
181
176
|
self.dispmin_doubleSpinBox.setDecimals(3)
|
|
182
177
|
self.dispmin_doubleSpinBox.setObjectName("dispmin_doubleSpinBox")
|
|
@@ -207,13 +202,13 @@ class Ui_MainWindow(object):
|
|
|
207
202
|
self.thermal_radioButton.setObjectName("thermal_radioButton")
|
|
208
203
|
self.colormap_buttonGroup.addButton(self.thermal_radioButton)
|
|
209
204
|
self.colormap_verticalLayout.addWidget(self.thermal_radioButton)
|
|
210
|
-
self.
|
|
205
|
+
self.plasma_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
|
|
211
206
|
font = QtGui.QFont()
|
|
212
207
|
font.setPointSize(10)
|
|
213
|
-
self.
|
|
214
|
-
self.
|
|
215
|
-
self.colormap_buttonGroup.addButton(self.
|
|
216
|
-
self.colormap_verticalLayout.addWidget(self.
|
|
208
|
+
self.plasma_radioButton.setFont(font)
|
|
209
|
+
self.plasma_radioButton.setObjectName("plasma_radioButton")
|
|
210
|
+
self.colormap_buttonGroup.addButton(self.plasma_radioButton)
|
|
211
|
+
self.colormap_verticalLayout.addWidget(self.plasma_radioButton)
|
|
217
212
|
self.rainbow_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
|
|
218
213
|
font = QtGui.QFont()
|
|
219
214
|
font.setPointSize(10)
|
|
@@ -267,13 +262,13 @@ class Ui_MainWindow(object):
|
|
|
267
262
|
self.median_radioButton.setObjectName("median_radioButton")
|
|
268
263
|
self.stats_buttonGroup.addButton(self.median_radioButton)
|
|
269
264
|
self.aspects_verticalLayout.addWidget(self.median_radioButton)
|
|
270
|
-
self.
|
|
265
|
+
self.CoV_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
|
|
271
266
|
font = QtGui.QFont()
|
|
272
267
|
font.setPointSize(10)
|
|
273
|
-
self.
|
|
274
|
-
self.
|
|
275
|
-
self.stats_buttonGroup.addButton(self.
|
|
276
|
-
self.aspects_verticalLayout.addWidget(self.
|
|
268
|
+
self.CoV_radioButton.setFont(font)
|
|
269
|
+
self.CoV_radioButton.setObjectName("CoV_radioButton")
|
|
270
|
+
self.stats_buttonGroup.addButton(self.CoV_radioButton)
|
|
271
|
+
self.aspects_verticalLayout.addWidget(self.CoV_radioButton)
|
|
277
272
|
self.std_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
|
|
278
273
|
font = QtGui.QFont()
|
|
279
274
|
font.setPointSize(10)
|
|
@@ -320,8 +315,8 @@ class Ui_MainWindow(object):
|
|
|
320
315
|
self.overlay_graphicsView_01.setSizePolicy(sizePolicy)
|
|
321
316
|
self.overlay_graphicsView_01.setMinimumSize(QtCore.QSize(198, 64))
|
|
322
317
|
self.overlay_graphicsView_01.setMaximumSize(QtCore.QSize(198, 64))
|
|
323
|
-
self.overlay_graphicsView_01.setFrameShape(
|
|
324
|
-
self.overlay_graphicsView_01.setAlignment(QtCore.Qt.AlignCenter)
|
|
318
|
+
self.overlay_graphicsView_01.setFrameShape(QtCore.Qt.QFrame.Shape.NoFrame)
|
|
319
|
+
self.overlay_graphicsView_01.setAlignment(QtCore.Qt.Qt.AlignmentFlag.AlignCenter)
|
|
325
320
|
self.overlay_graphicsView_01.setObjectName("overlay_graphicsView_01")
|
|
326
321
|
self.overlay_radioButton_01 = QtWidgets.QRadioButton(self.overlays_groupBox)
|
|
327
322
|
self.overlay_radioButton_01.setGeometry(QtCore.QRect(10, 90, 151, 20))
|
|
@@ -380,8 +375,8 @@ class Ui_MainWindow(object):
|
|
|
380
375
|
self.overlay_graphicsView_04.setSizePolicy(sizePolicy)
|
|
381
376
|
self.overlay_graphicsView_04.setMinimumSize(QtCore.QSize(192, 64))
|
|
382
377
|
self.overlay_graphicsView_04.setMaximumSize(QtCore.QSize(192, 64))
|
|
383
|
-
self.overlay_graphicsView_04.setFrameShape(
|
|
384
|
-
self.overlay_graphicsView_04.setAlignment(QtCore.Qt.AlignCenter)
|
|
378
|
+
self.overlay_graphicsView_04.setFrameShape(QtCore.Qt.QFrame.Shape.NoFrame)
|
|
379
|
+
self.overlay_graphicsView_04.setAlignment(QtCore.Qt.Qt.AlignmentFlag.AlignCenter)
|
|
385
380
|
self.overlay_graphicsView_04.setObjectName("overlay_graphicsView_04")
|
|
386
381
|
self.overlay_graphicsView_06 = GraphicsLayoutWidget(self.overlays_groupBox)
|
|
387
382
|
self.overlay_graphicsView_06.setGeometry(QtCore.QRect(220, 200, 192, 64))
|
|
@@ -394,8 +389,8 @@ class Ui_MainWindow(object):
|
|
|
394
389
|
self.overlay_graphicsView_06.setSizePolicy(sizePolicy)
|
|
395
390
|
self.overlay_graphicsView_06.setMinimumSize(QtCore.QSize(192, 64))
|
|
396
391
|
self.overlay_graphicsView_06.setMaximumSize(QtCore.QSize(192, 64))
|
|
397
|
-
self.overlay_graphicsView_06.setFrameShape(
|
|
398
|
-
self.overlay_graphicsView_06.setAlignment(QtCore.Qt.AlignCenter)
|
|
392
|
+
self.overlay_graphicsView_06.setFrameShape(QtCore.Qt.QFrame.Shape.NoFrame)
|
|
393
|
+
self.overlay_graphicsView_06.setAlignment(QtCore.Qt.Qt.AlignmentFlag.AlignCenter)
|
|
399
394
|
self.overlay_graphicsView_06.setObjectName("overlay_graphicsView_06")
|
|
400
395
|
self.overlay_graphicsView_03 = GraphicsLayoutWidget(self.overlays_groupBox)
|
|
401
396
|
self.overlay_graphicsView_03.setGeometry(QtCore.QRect(220, 115, 192, 64))
|
|
@@ -408,8 +403,8 @@ class Ui_MainWindow(object):
|
|
|
408
403
|
self.overlay_graphicsView_03.setSizePolicy(sizePolicy)
|
|
409
404
|
self.overlay_graphicsView_03.setMinimumSize(QtCore.QSize(192, 64))
|
|
410
405
|
self.overlay_graphicsView_03.setMaximumSize(QtCore.QSize(192, 64))
|
|
411
|
-
self.overlay_graphicsView_03.setFrameShape(
|
|
412
|
-
self.overlay_graphicsView_03.setAlignment(QtCore.Qt.AlignCenter)
|
|
406
|
+
self.overlay_graphicsView_03.setFrameShape(QtCore.Qt.QFrame.Shape.NoFrame)
|
|
407
|
+
self.overlay_graphicsView_03.setAlignment(QtCore.Qt.Qt.AlignmentFlag.AlignCenter)
|
|
413
408
|
self.overlay_graphicsView_03.setObjectName("overlay_graphicsView_03")
|
|
414
409
|
self.overlay_graphicsView_08 = GraphicsLayoutWidget(self.overlays_groupBox)
|
|
415
410
|
self.overlay_graphicsView_08.setGeometry(QtCore.QRect(220, 285, 192, 64))
|
|
@@ -422,8 +417,8 @@ class Ui_MainWindow(object):
|
|
|
422
417
|
self.overlay_graphicsView_08.setSizePolicy(sizePolicy)
|
|
423
418
|
self.overlay_graphicsView_08.setMinimumSize(QtCore.QSize(192, 64))
|
|
424
419
|
self.overlay_graphicsView_08.setMaximumSize(QtCore.QSize(192, 64))
|
|
425
|
-
self.overlay_graphicsView_08.setFrameShape(
|
|
426
|
-
self.overlay_graphicsView_08.setAlignment(QtCore.Qt.AlignCenter)
|
|
420
|
+
self.overlay_graphicsView_08.setFrameShape(QtCore.Qt.QFrame.Shape.NoFrame)
|
|
421
|
+
self.overlay_graphicsView_08.setAlignment(QtCore.Qt.Qt.AlignmentFlag.AlignCenter)
|
|
427
422
|
self.overlay_graphicsView_08.setObjectName("overlay_graphicsView_08")
|
|
428
423
|
self.overlay_graphicsView_05 = GraphicsLayoutWidget(self.overlays_groupBox)
|
|
429
424
|
self.overlay_graphicsView_05.setGeometry(QtCore.QRect(10, 200, 192, 64))
|
|
@@ -436,8 +431,8 @@ class Ui_MainWindow(object):
|
|
|
436
431
|
self.overlay_graphicsView_05.setSizePolicy(sizePolicy)
|
|
437
432
|
self.overlay_graphicsView_05.setMinimumSize(QtCore.QSize(192, 64))
|
|
438
433
|
self.overlay_graphicsView_05.setMaximumSize(QtCore.QSize(192, 64))
|
|
439
|
-
self.overlay_graphicsView_05.setFrameShape(
|
|
440
|
-
self.overlay_graphicsView_05.setAlignment(QtCore.Qt.AlignCenter)
|
|
434
|
+
self.overlay_graphicsView_05.setFrameShape(QtCore.Qt.QFrame.Shape.NoFrame)
|
|
435
|
+
self.overlay_graphicsView_05.setAlignment(QtCore.Qt.Qt.AlignmentFlag.AlignCenter)
|
|
441
436
|
self.overlay_graphicsView_05.setObjectName("overlay_graphicsView_05")
|
|
442
437
|
self.overlay_graphicsView_02 = GraphicsLayoutWidget(self.overlays_groupBox)
|
|
443
438
|
self.overlay_graphicsView_02.setGeometry(QtCore.QRect(220, 30, 192, 64))
|
|
@@ -450,8 +445,8 @@ class Ui_MainWindow(object):
|
|
|
450
445
|
self.overlay_graphicsView_02.setSizePolicy(sizePolicy)
|
|
451
446
|
self.overlay_graphicsView_02.setMinimumSize(QtCore.QSize(192, 64))
|
|
452
447
|
self.overlay_graphicsView_02.setMaximumSize(QtCore.QSize(192, 64))
|
|
453
|
-
self.overlay_graphicsView_02.setFrameShape(
|
|
454
|
-
self.overlay_graphicsView_02.setAlignment(QtCore.Qt.AlignCenter)
|
|
448
|
+
self.overlay_graphicsView_02.setFrameShape(QtCore.Qt.QFrame.Shape.NoFrame)
|
|
449
|
+
self.overlay_graphicsView_02.setAlignment(QtCore.Qt.Qt.AlignmentFlag.AlignCenter)
|
|
455
450
|
self.overlay_graphicsView_02.setObjectName("overlay_graphicsView_02")
|
|
456
451
|
self.overlay_graphicsView_07 = GraphicsLayoutWidget(self.overlays_groupBox)
|
|
457
452
|
self.overlay_graphicsView_07.setGeometry(QtCore.QRect(10, 285, 192, 64))
|
|
@@ -464,8 +459,8 @@ class Ui_MainWindow(object):
|
|
|
464
459
|
self.overlay_graphicsView_07.setSizePolicy(sizePolicy)
|
|
465
460
|
self.overlay_graphicsView_07.setMinimumSize(QtCore.QSize(192, 64))
|
|
466
461
|
self.overlay_graphicsView_07.setMaximumSize(QtCore.QSize(192, 64))
|
|
467
|
-
self.overlay_graphicsView_07.setFrameShape(
|
|
468
|
-
self.overlay_graphicsView_07.setAlignment(QtCore.Qt.AlignCenter)
|
|
462
|
+
self.overlay_graphicsView_07.setFrameShape(QtCore.Qt.QFrame.Shape.NoFrame)
|
|
463
|
+
self.overlay_graphicsView_07.setAlignment(QtCore.Qt.Qt.AlignmentFlag.AlignCenter)
|
|
469
464
|
self.overlay_graphicsView_07.setObjectName("overlay_graphicsView_07")
|
|
470
465
|
self.overlay_graphicsView_01.raise_()
|
|
471
466
|
self.overlay_radioButton_01.raise_()
|
|
@@ -517,7 +512,9 @@ class Ui_MainWindow(object):
|
|
|
517
512
|
self.pixnumX_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
|
|
518
513
|
self.pixnumX_doubleSpinBox.setGeometry(QtCore.QRect(30, 30, 67, 24))
|
|
519
514
|
self.pixnumX_doubleSpinBox.setAlignment(
|
|
520
|
-
QtCore.Qt.
|
|
515
|
+
QtCore.Qt.Qt.AlignmentFlag.AlignRight
|
|
516
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignTrailing
|
|
517
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignVCenter
|
|
521
518
|
)
|
|
522
519
|
self.pixnumX_doubleSpinBox.setDecimals(0)
|
|
523
520
|
self.pixnumX_doubleSpinBox.setObjectName("pixnumX_doubleSpinBox")
|
|
@@ -530,7 +527,9 @@ class Ui_MainWindow(object):
|
|
|
530
527
|
self.coordX_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
|
|
531
528
|
self.coordX_doubleSpinBox.setGeometry(QtCore.QRect(100, 30, 67, 24))
|
|
532
529
|
self.coordX_doubleSpinBox.setAlignment(
|
|
533
|
-
QtCore.Qt.
|
|
530
|
+
QtCore.Qt.Qt.AlignmentFlag.AlignRight
|
|
531
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignTrailing
|
|
532
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignVCenter
|
|
534
533
|
)
|
|
535
534
|
self.coordX_doubleSpinBox.setDecimals(3)
|
|
536
535
|
self.coordX_doubleSpinBox.setObjectName("coordX_doubleSpinBox")
|
|
@@ -543,28 +542,36 @@ class Ui_MainWindow(object):
|
|
|
543
542
|
self.pixnumY_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
|
|
544
543
|
self.pixnumY_doubleSpinBox.setGeometry(QtCore.QRect(30, 55, 67, 24))
|
|
545
544
|
self.pixnumY_doubleSpinBox.setAlignment(
|
|
546
|
-
QtCore.Qt.
|
|
545
|
+
QtCore.Qt.Qt.AlignmentFlag.AlignRight
|
|
546
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignTrailing
|
|
547
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignVCenter
|
|
547
548
|
)
|
|
548
549
|
self.pixnumY_doubleSpinBox.setDecimals(0)
|
|
549
550
|
self.pixnumY_doubleSpinBox.setObjectName("pixnumY_doubleSpinBox")
|
|
550
551
|
self.coordY_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
|
|
551
552
|
self.coordY_doubleSpinBox.setGeometry(QtCore.QRect(100, 55, 67, 24))
|
|
552
553
|
self.coordY_doubleSpinBox.setAlignment(
|
|
553
|
-
QtCore.Qt.
|
|
554
|
+
QtCore.Qt.Qt.AlignmentFlag.AlignRight
|
|
555
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignTrailing
|
|
556
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignVCenter
|
|
554
557
|
)
|
|
555
558
|
self.coordY_doubleSpinBox.setDecimals(3)
|
|
556
559
|
self.coordY_doubleSpinBox.setObjectName("coordY_doubleSpinBox")
|
|
557
560
|
self.pixnumZ_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
|
|
558
561
|
self.pixnumZ_doubleSpinBox.setGeometry(QtCore.QRect(30, 80, 67, 24))
|
|
559
562
|
self.pixnumZ_doubleSpinBox.setAlignment(
|
|
560
|
-
QtCore.Qt.
|
|
563
|
+
QtCore.Qt.Qt.AlignmentFlag.AlignRight
|
|
564
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignTrailing
|
|
565
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignVCenter
|
|
561
566
|
)
|
|
562
567
|
self.pixnumZ_doubleSpinBox.setDecimals(0)
|
|
563
568
|
self.pixnumZ_doubleSpinBox.setObjectName("pixnumZ_doubleSpinBox")
|
|
564
569
|
self.coordZ_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
|
|
565
570
|
self.coordZ_doubleSpinBox.setGeometry(QtCore.QRect(100, 80, 67, 24))
|
|
566
571
|
self.coordZ_doubleSpinBox.setAlignment(
|
|
567
|
-
QtCore.Qt.
|
|
572
|
+
QtCore.Qt.Qt.AlignmentFlag.AlignRight
|
|
573
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignTrailing
|
|
574
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignVCenter
|
|
568
575
|
)
|
|
569
576
|
self.coordZ_doubleSpinBox.setDecimals(3)
|
|
570
577
|
self.coordZ_doubleSpinBox.setObjectName("coordZ_doubleSpinBox")
|
|
@@ -577,14 +584,18 @@ class Ui_MainWindow(object):
|
|
|
577
584
|
self.coordT_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
|
|
578
585
|
self.coordT_doubleSpinBox.setGeometry(QtCore.QRect(100, 130, 67, 24))
|
|
579
586
|
self.coordT_doubleSpinBox.setAlignment(
|
|
580
|
-
QtCore.Qt.
|
|
587
|
+
QtCore.Qt.Qt.AlignmentFlag.AlignRight
|
|
588
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignTrailing
|
|
589
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignVCenter
|
|
581
590
|
)
|
|
582
591
|
self.coordT_doubleSpinBox.setDecimals(3)
|
|
583
592
|
self.coordT_doubleSpinBox.setObjectName("coordT_doubleSpinBox")
|
|
584
593
|
self.pixnumT_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
|
|
585
594
|
self.pixnumT_doubleSpinBox.setGeometry(QtCore.QRect(30, 130, 67, 24))
|
|
586
595
|
self.pixnumT_doubleSpinBox.setAlignment(
|
|
587
|
-
QtCore.Qt.
|
|
596
|
+
QtCore.Qt.Qt.AlignmentFlag.AlignRight
|
|
597
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignTrailing
|
|
598
|
+
| QtCore.Qt.Qt.AlignmentFlag.AlignVCenter
|
|
588
599
|
)
|
|
589
600
|
self.pixnumT_doubleSpinBox.setDecimals(0)
|
|
590
601
|
self.pixnumT_doubleSpinBox.setObjectName("pixnumT_doubleSpinBox")
|
|
@@ -593,7 +604,7 @@ class Ui_MainWindow(object):
|
|
|
593
604
|
self.label_3.setObjectName("label_3")
|
|
594
605
|
self.TimeSlider = QtWidgets.QSlider(self.mainimagedata_groupBox)
|
|
595
606
|
self.TimeSlider.setGeometry(QtCore.QRect(10, 165, 261, 22))
|
|
596
|
-
self.TimeSlider.setOrientation(QtCore.Qt.Horizontal)
|
|
607
|
+
self.TimeSlider.setOrientation(QtCore.Qt.Qt.Orientation.Horizontal)
|
|
597
608
|
self.TimeSlider.setObjectName("TimeSlider")
|
|
598
609
|
self.label_10 = QtWidgets.QLabel(self.mainimagedata_groupBox)
|
|
599
610
|
self.label_10.setGeometry(QtCore.QRect(30, 120, 56, 13))
|
|
@@ -684,15 +695,15 @@ class Ui_MainWindow(object):
|
|
|
684
695
|
self.verticalLayout.addWidget(self.pass4_radioButton)
|
|
685
696
|
self.label_5 = QtWidgets.QLabel(self.regressor_groupBox)
|
|
686
697
|
self.label_5.setGeometry(QtCore.QRect(160, 155, 161, 16))
|
|
687
|
-
self.label_5.setAlignment(QtCore.Qt.AlignCenter)
|
|
698
|
+
self.label_5.setAlignment(QtCore.Qt.Qt.AlignmentFlag.AlignCenter)
|
|
688
699
|
self.label_5.setObjectName("label_5")
|
|
689
700
|
self.label_12 = QtWidgets.QLabel(self.regressor_groupBox)
|
|
690
701
|
self.label_12.setGeometry(QtCore.QRect(660, 155, 131, 16))
|
|
691
|
-
self.label_12.setAlignment(QtCore.Qt.AlignCenter)
|
|
702
|
+
self.label_12.setAlignment(QtCore.Qt.Qt.AlignmentFlag.AlignCenter)
|
|
692
703
|
self.label_12.setObjectName("label_12")
|
|
693
704
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
694
705
|
self.menubar = QtWidgets.QMenuBar(MainWindow)
|
|
695
|
-
self.menubar.setGeometry(QtCore.QRect(0, 0, 1129,
|
|
706
|
+
self.menubar.setGeometry(QtCore.QRect(0, 0, 1129, 24))
|
|
696
707
|
self.menubar.setObjectName("menubar")
|
|
697
708
|
MainWindow.setMenuBar(self.menubar)
|
|
698
709
|
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
|
@@ -719,10 +730,17 @@ class Ui_MainWindow(object):
|
|
|
719
730
|
self.resetDispSmart_Button.setText(_translate("MainWindow", "Smart"))
|
|
720
731
|
self.saveDisp_Button.setText(_translate("MainWindow", "Save"))
|
|
721
732
|
self.setMask_Button.setText(_translate("MainWindow", "No mask"))
|
|
733
|
+
self.transparency_checkBox.setToolTip(
|
|
734
|
+
_translate(
|
|
735
|
+
"MainWindow",
|
|
736
|
+
"With transparency on, map values outside the range limits are not displayed.",
|
|
737
|
+
)
|
|
738
|
+
)
|
|
739
|
+
self.transparency_checkBox.setText(_translate("MainWindow", "Transparency"))
|
|
722
740
|
self.label_2.setText(_translate("MainWindow", "Colormap"))
|
|
723
741
|
self.gray_radioButton.setText(_translate("MainWindow", "Gray"))
|
|
724
742
|
self.thermal_radioButton.setText(_translate("MainWindow", "Thermal"))
|
|
725
|
-
self.
|
|
743
|
+
self.plasma_radioButton.setText(_translate("MainWindow", "Plasma"))
|
|
726
744
|
self.rainbow_radioButton.setText(_translate("MainWindow", "Rainbow"))
|
|
727
745
|
self.viridis_radioButton.setText(_translate("MainWindow", "Viridis"))
|
|
728
746
|
self.turbo_radioButton.setText(_translate("MainWindow", "Turbo"))
|
|
@@ -730,7 +748,7 @@ class Ui_MainWindow(object):
|
|
|
730
748
|
self.raw_radioButton.setText(_translate("MainWindow", "Raw data"))
|
|
731
749
|
self.mean_radioButton.setText(_translate("MainWindow", "Mean"))
|
|
732
750
|
self.median_radioButton.setText(_translate("MainWindow", "Median"))
|
|
733
|
-
self.
|
|
751
|
+
self.CoV_radioButton.setText(_translate("MainWindow", "CoV"))
|
|
734
752
|
self.std_radioButton.setText(_translate("MainWindow", "Std dev"))
|
|
735
753
|
self.MAD_radioButton.setText(_translate("MainWindow", "MAD"))
|
|
736
754
|
self.overlays_groupBox.setTitle(_translate("MainWindow", "Overlays"))
|