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  

|
July 01, 2009 04:11PM
I'm trying to refer to the maximum value from a brik in a 3dcalc expression. However, when I try to use the max function with one parameter -- the dataset -- it says I am missing a parameters. I've tried to supply a variety of numerical second parameters, but it always writes all 0s to the resulting brik.

Am I correct in thinking that this max() function that the 3dcalc man file refers to is the same max in 3dbrickstat -max?

If so, where is this second parameter documented and what does it refer to?

If that fails how can I supply numerical variables in a bash script that the 3dcalc command won't object to? I've tried a few ways that echo a well formed string but 3dcalc yells at me.

Thanks,
Andrew
Subject Author Posted

max() in 3dcalc

Andrew DeMarco July 01, 2009 04:11PM

Re: max() in 3dcalc

bob cox July 01, 2009 04:25PM

Re: max() in 3dcalc

Andrew DeMarco July 01, 2009 04:44PM