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  

|
November 07, 2008 12:39PM
Hello,

I would like to compute the absolute maximum of a set of sub bricks, but keep the sign of that value. Option -absmax in 3dTstat computes the maximum but does not keep the sign of that maximum.

One option would be to combine the output of -argabsmax in 3dTstat and then use 3dcalc with an expression like
3dcalc -a absmax+orig -b argabsmax -c dataset -expr '-1*a*isnegative(c) + a*ispositive(c)'
However, as far as I know, 3dcalc does not allow sub-brick selection with another sub-brick.

Any help?

Thanks very much,
Cesar
Subject Author Posted

absolute maximum with sign

cesar caballero November 07, 2008 12:39PM

Re: absolute maximum with sign

ziad November 07, 2008 12:47PM

Re: absolute maximum with sign

Daniel Glen November 07, 2008 02:36PM