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  

|
April 14, 2016 10:58AM
As with most AFNI programs, you can redirect output to a text file. In tcsh, that is done with a ">" for stdout (standard output) and then the name of a new text file that will be created or overwritten. For example, this is how you would redirect the output of 3dExtrema to a text file. Here I've resampled the atlas dataset I want to use as a mask here to the input dataset, using an atlas in the same space as the input dataset. The "-quiet" output limits the output to be only the numbers and none of the other text in the output.

3dresample -prefix amy_mnia -master func_tempmnia+tlrc -inset 'CA_ML_18_MNIA::amygdala'
3dExtrema -minima -volume -mask_file amy_mnia+tlrc. -closure -quiet func_tempmnia+tlrc.'[0]' > extrema_out.1D

Then using "cat extrema_out.1D" shows the contents of the text file as

1 0.026 -27.41 3.72 -17.65 1 9.804
2 0.039 27.59 3.72 -17.65 1 8.696
3 0.051 -30.16 6.47 -8.65 1 9.804
4 0.193 24.84 9.22 -5.65 1 6.265
5 0.217 16.59 3.72 -8.65 1 9.804
6 0.224 30.34 9.22 -8.65 1 6.265
7 0.347 19.34 6.47 -17.65 1 8.696
8 0.395 -21.91 0.97 -8.65 1 6.842
9 0.404 -19.16 6.47 -11.65 1 6.842
Subject Author Posted

Peak voxel in a ROI

Victoria October 22, 2014 10:09AM

Re: Peak voxel in a ROI

Daniel Glen October 22, 2014 02:08PM

Re: Peak voxel in a ROI

Veda April 13, 2016 11:10AM

Re: Peak voxel in a ROI

Daniel Glen April 14, 2016 10:58AM