Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Community » Message Board

History of AFNI updates   Suggested reading for beginners   Add yourself to the AFNI map!

Re: 3dToutcoun​t and censoring volumes

|
June 21, 2012 08:23PM
After deciding on a cutoff for an outlier volume, you can use 1deval to determine if it's over threshold and write a 1D file for each run (1's are keep that TR, 0's are censor them). Concatenate those files (e.g. cat). Then put them into 3dDeconvolve using the "-censor" flag.

If you wanted to use afni_proc.py with dmBLOCK, you can use sed to do a quick replacement of "stim_times" with "stim_times_AMX" after generating the afni_proc.py script. I've included the MacOS X friendly syntax for SED below.

sed -i '' 's/-stim_times/-stim_times_AM1/g' afni_procOutputScript.tcsh

My workflow generates the afni_proc.py script, runs this sed command and then executes the script.



Edited 1 time(s). Last edit at 06/21/2012 08:25PM by Peter Molfese.
Subject Author Posted

3dToutcoun​t and censoring volumes

Tim Souza May 16, 2012 11:18AM

Re: 3dToutcoun​t and censoring volumes

rick reynolds May 16, 2012 11:24AM

Re: 3dToutcoun​t and censoring volumes

lianablair June 21, 2012 04:20PM

Re: 3dToutcoun​t and censoring volumes

Peter Molfese June 21, 2012 08:23PM

Re: 3dToutcoun​t and censoring volumes

rick reynolds June 21, 2012 09:07PM

Re: 3dToutcoun​t and censoring volumes

lianablair June 27, 2012 04:04PM

Re: 3dToutcoun​t and censoring volumes

rick reynolds June 27, 2012 04:13PM

Re: 3dToutcoun​t and censoring volumes

lianablair June 28, 2012 12:18PM

Re: 3dToutcoun​t and censoring volumes

rick reynolds June 28, 2012 12:32PM

Re: 3dToutcoun​t and censoring volumes

lianablair June 28, 2012 04:55PM

Re: 3dToutcoun​t and censoring volumes

rick reynolds June 28, 2012 09:12PM

Re: 3dToutcoun​t and censoring volumes

lianablair June 29, 2012 11:47AM

Re: 3dToutcoun​t and censoring volumes

lianablair July 10, 2012 03:13PM

Re: 3dToutcoun​t and censoring volumes

rick reynolds July 10, 2012 09:28PM



Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
CAPTCHA
Message:

Powered by Plone

phorum.org

This site conforms to the following standards: