History of AFNI updates  

|
January 16, 2005 06:26PM
HI Brian,

If you don't want to threshold dataset A at all, then you can use an expression like:

-expr 'a*step(b)'

and for case 2:

-expr 'a*step(b)*step(c)'

Though if your mask datasets B and C consist of only zeros and ones, then you
don't need the step function:

-expr 'a*b'
-expr 'a*b*c'

Also, note that step() is the same function as ispositive(), but ispositive() might
be more descriptive.

- rick
Subject Author Posted

applying multiple masks

Brian January 14, 2005 05:07PM

Re: applying multiple masks

Ziad S. Saad January 14, 2005 05:22PM

Re: applying multiple masks

Zorkon the Magnifimoose January 15, 2005 06:43AM

Re: applying multiple masks

Brian January 16, 2005 03:46PM

Re: applying multiple masks

rick reynolds January 16, 2005 06:26PM