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  

|
August 27, 2007 10:28AM
Hello AFNI Nation,

I have an ROI drawn for a dataset, which contains mask values of 2, 4, and 8. If I wanted to make a single .1D file, including all those mask values I'd use the following command...

3dROIstats -mask 'ROI<2..8>' dataset > signal_2_4_8.1D

My question is, how do I make a similar .1D file leaving out mask value 4? I know I can use 3dcalc along with its step agrument to distill the ROI into its constituent values, but it's a bit tedious. I'm hoping there is command like...

3dROIstats -mask 'ROI<2.(skip 4).8>' dataset > signal_2_8.1D

I think I saw somewhere that the sub brick selector [x..y] can count off by integer steps greater than 1. If there is similar functionality with the mask value selector, I'd be set.

-Ariel
Subject Author Posted

Mak Value Selection Syntax

Ariel August 27, 2007 10:28AM

Re: Mak Value Selection Syntax

Daniel Glen August 27, 2007 12:02PM

Re: Mak Value Selection Syntax

Ariel August 27, 2007 12:28PM