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  

|
January 20, 2023 10:26AM
Hello AFNI team,

I would like to create a left and right hemisphere atlas and add 1000 to the Right hemisphere.
atlas_L.nii.gz is the left hemisphere image.
atlas.nii.gz the entire atlas.

I first tried:

3dcalc -a  atlas_L.nii.gz -b atlas.nii.gz -expr "(b-a)+(step(b-a)*1000)" -prefix atlas_R.nii.gz

and it didn't give me any logical result when:

3dcalc -a  atlas_L.nii.gz -b atlas.nii.gz -expr "(b-a)+(step(b-a)*100)" -prefix atlas_R.nii.gz

did

I am not sure I understand what is going on =)
Have a good Weekend Y'all
Subject Author Posted

bug with 3dcalc?

Doughboys January 20, 2023 10:26AM

Re: bug with 3dcalc?

rick reynolds January 20, 2023 10:33AM

Re: bug with 3dcalc?

ptaylor January 20, 2023 01:06PM