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  

|
October 23, 2008 12:56PM
The -censor option looks for a file that is just a list of time indexes, with no run indexes allowed. It is not that similar to the -CENSORTR option.

However, you can put the -CENSORTR values into a file, then call that out onto the command line, as in

file.censor contains these lines:
2:19
2:80
4:90

and then the command to use would look something like this:

3dDeconvolve -CENSORTR `cat file.censor` ...

Note the use of the backward quote -- the string inside those quotes is executed as a command, then the output that would normally go to the terminal is captured and put on the command line there. So this would be exactly the same as

3dDeconvolve -CENSORTR 2:19 2:80 4:90 ...

and in fact 3dDeconvolve itself would never see the `cat file.censor` construction, since that would be replaced before 3dDeconvolve is even started up.

Note that line breaks in the output of the `cat file.censor` command are replaced by blanks on the re-configured 3dDeconvolve command line, which is just what you want.

Subject Author Posted

Creating a Censor .1D time series

Brian October 23, 2008 11:59AM

Re: Creating a Censor .1D time series

Bob Cox October 23, 2008 12:56PM

Re: Creating a Censor .1D time series

Brian October 27, 2008 01:57PM

Re: Creating a Censor .1D time series

David Perlman October 25, 2008 01:13AM

Re: Creating a Censor .1D time series

Bob Cox October 28, 2008 10:00AM