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  

|
February 18, 2010 08:38PM
Hi, I was wondering if I was correct in assuming that it is better to run signal normalization prior to 3dDeconvolve when there are multiple runs of EPI data.
Also, if this is correct, would the normalization be run on the blurred EPI data or would blurring occur after signal normalization, just prior to 3dDeconvolve? In other words, should I blur each run separately, normalize the signals, then concatenate the runs?
Also, instead of having to write down the clip level that gets put into 3dcalc, is there an easier way to do this, so one doesn't have to stop the script to input the values?

Thanks so much!

Here is my signal normalization script, which I would use prior to concatenation.

#Signal Normalization
#Do a voxel by voxel mean calcuation of the mean intensity value with AFNI '3dTstat'

3dTstat -prefix ${subj}-WOF-1-reg-CR-mean+orig '${subj}-WOF-1-reg-CR+orig[10..$]'
3dTstat -prefix ${subj}-WOF-2-reg-CR-mean+orig '${subj}-WOF-2-reg-CR+orig[10..$]'

#Calculate the Clip level for each run

3dClipLevel ${subj}-WOF-1-reg-CR+orig
3dClipLevel ${subj}-WOF-2-reg-CR+orig

#write down clip levels for each run

#calculate % signal change with AFNI '3dcalc'

3dcalc -a '${subj}-WOF-1-reg-CR+orig' \
-b ${subj}-WOF-1-reg-CR-mean+orig \
-expr "(a/b*100)*step(b-clip level of ${subj}-WOF-1-reg-CR+orig)"
-prefix ${subj}-WOF-1-reg-CR-scaled+orig

3dcalc -a '${subj}-WOF-2-reg-CR+orig' \
-b ${subj}-WOF-2-reg-CR-mean+orig \
-expr "(a/b*100)*step(b-clip level of ${subj}-WOF-2-reg-CR+orig)"
-prefix ${subj}-WOF-2-reg-CR-scaled+orig
Subject Author Posted

percent signal change before 3dDeconvolve

Anita Cservenka February 18, 2010 08:38PM

Re: percent signal change before 3dDeconvolve

rick reynolds February 19, 2010 11:42AM

Re: percent signal change before 3dDeconvolve

Anita Cservenka February 19, 2010 01:20PM

Re: percent signal change before 3dDeconvolve

Anita Cservenka February 19, 2010 04:19PM

Re: percent signal change before 3dDeconvolve

rick reynolds February 19, 2010 06:44PM

Re: percent signal change before 3dDeconvolve

Oori February 20, 2010 02:19AM

Re: percent signal change before 3dDeconvolve

rick reynolds February 22, 2010 09:56AM

Re: percent signal change before 3dDeconvolve

Oori February 22, 2010 10:52AM

Re: percent signal change before 3dDeconvolve

rick reynolds February 22, 2010 01:34PM

Re: percent signal change before 3dDeconvolve

Oori March 29, 2010 06:43AM

Re: percent signal change before 3dDeconvolve

rick reynolds March 31, 2010 09:39AM