Closed robbwh closed 2 years ago
Uh, whoops? That didn't show up in testing. I'll look at it tomorrow. Probably don't use that for the time being - using the despeckled voxels in refinement is the default (and previous) behavior.
Okay, thank you.
The reason I tried that argument was because when I used rapidtide 2.1.0 (docker container)
showtc output_desc-refinedmovingregressor_timeseries.json
Looked more like I expected it to.
But using the newest version 2.2.0 it looked (maybe) not as good
I used the exact same arguments for both runs (with the exception of rapidtide version):
/usr/local/miniconda/bin/rapidtide \
/data/h_vmac/ahmedha/cvr_despike/data/233403/013/reactivity_preproc/epi_folder/mc_stc_despike_taskBlock_233403_epi.nii.gz \
/scratch/Hudson/rapidAnalysis/rtoutputs/outCVR/rt_feb16_22/233403_2/output \
--delaymapping \
--pickleft \
--noglm \
--numnull 0 \
--searchrange -25 100 \
--nofitfilt \
--nprocs=11 \
--oversampfac 5 \
--spatialfilt 1.05 \
--filterfreqs 0.005 0.05 \
--corrmask=/scratch/Hudson/rapidAnalysis/rtoutputs/outCVR/rt_feb16_22/233403_2/233403_mask.nii.gz \
--detrendorder=2 \
--zeropadding -1 \
--globalmeaninclude=/scratch/Hudson/rapidAnalysis/preproc/gmmasks/cvr/gmInBold/233403seg.nii.gz \
--ampthresh 0.4 \
--interptype=cubic
Looking at your output, I think the real error was that refinement failed because there were no voxels in the mask when despeckled voxels were excluded. I've pushed a new version that checks for that condition, and backs off on excluding despeckled voxels for that pass if it would result in no voxels for refinement. I also fixed the issue that was causing Docker images not to build, so you can use the "latest" docker version of rapidtide if that's your normal workflow.
sounds good, thanks!
When using the argument
--norefinedespeckled
Rapidtide tries to apply the timeshift to a negative number of voxels and refinement fails.
Is that just indicating most of my voxels are being despeckled? I'm confused why the number of voxels would be negative.
Thanks and sorry for two posts in such quick succession.