AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
March 16, 2023 07:09AM
Hi,

This is the command I use (of course, with 2 loops for going through all the subjects - 1st loop - and all the runs - 2nd loop):
_________________
for ((i=1;i<10;i++)); do

for ((j=1; j<6; j++)); do

3dBlurToFWHM -input ${global_path}2.derivatives/sub-0${i}/func/sub-0${i}_task-stress_run-${j}_space-MNI152NLin6Asym_res-2_desc-preproc_bold.nii.gz \
-prefix ${global_path}5.1st_level_analysis/sub-0${i}/func/GLM_INPUT/sub-0${i}_task-stress_run-${j}_space-MNI152NLin6Asym_res-2_desc-preproc_bold_blur.nii.gz \
-mask ${global_path}2.derivatives/sub-0${i}/func/sub-0${i}_task-stress_run-${j}_space-MNI152NLin6Asym_res-2_desc-brain_mask.nii.gz \
-FWHM 6 -detrend

done

done
___________________

And yes, as you mentioned, this command (3dBlurToFWHM) is not part of afni_proc.py; I run this command (3dBlurToFWHM) separately (with the intention to blur the preprocessing output from the fMRIPrep).

As you can see, I don't have the ACF option for this command (3dBlurToFWHM). However, as I previously mentioned, after the 3dBlurToFWHM command is completed, the 3dFWHMx command appears automatically (in order to check the quality of the 3dBlurToFWHM command), as can be seen in this output:
___________
+ Checking results by running command below:
+ /home/z820/abin/3dFWHMx -arith -detrend -mask /media/z820/Hard_3/SciRel/2.Analysis/2.derivatives/sub-102/func/sub-102_task-rest_space-MNI152NLin6Asym_res-2_desc-brain_mask.nii.gz -input /media/z820/Hard_3/SciRel/2.Analysis/5.1st_level_analysis/sub-102/func/GLM_INPUT/sub-102_task-rest_space-MNI152NLin6Asym_res-2_desc-preproc_bold_blur.nii.gz
++ 3dFWHMx: AFNI version=AFNI_23.0.07 (Mar 1 2023) [64-bit]
++ Authored by: The Bob
....
__________________

Thank you in advance for your help!

Cheers,
r.
Subject Author Posted

ERROR: (FAILED) attempt to over-write file 3dFWHMx.1D

Galit December 11, 2018 12:45AM

Re: ERROR: (FAILED) attempt to over-write file 3dFWHMx.1D

rick reynolds December 11, 2018 10:59AM

Re: ERROR: (FAILED) attempt to over-write file 3dFWHMx.1D

Galit December 12, 2018 10:01AM

Re: ERROR: (FAILED) attempt to over-write file 3dFWHMx.1D

rick reynolds December 12, 2018 11:33AM

Re: ERROR: (FAILED) attempt to over-write file 3dFWHMx.1D

ruben.nechifor March 14, 2023 01:58PM

Re: ERROR: (FAILED) attempt to over-write file 3dFWHMx.1D

ptaylor March 14, 2023 03:35PM

Re: ERROR: (FAILED) attempt to over-write file 3dFWHMx.1D

ruben.nechifor March 14, 2023 11:53PM

Re: ERROR: (FAILED) attempt to over-write file 3dFWHMx.1D

ptaylor March 15, 2023 07:14AM

Re: ERROR: (FAILED) attempt to over-write file 3dFWHMx.1D

ruben.nechifor March 16, 2023 07:09AM

Re: ERROR: (FAILED) attempt to over-write file 3dFWHMx.1D

rick reynolds March 16, 2023 03:18PM

Re: ERROR: (FAILED) attempt to over-write file 3dFWHMx.1D

ruben.nechifor March 17, 2023 07:39AM

Re: ERROR: (FAILED) attempt to over-write file 3dFWHMx.1D

rick reynolds March 17, 2023 09:27AM