afni.nimh.nih.gov
Navigation
Home
About
Documentation
Software
Message Board
SSCC Staff
Bootcamp
Contact Us
History of AFNI updates
Previous Message
Next Message
Message List
New Topic
Print View
rick reynolds
July 22, 2015 03:23PM
|
Moderator
Registered: 11 years ago
Posts: 4,631
Hi Michael,
Also, AFNI programs interpret $ as the "last index",
so you could consider something like:
3dbucket -prefix Betas bucket+tlrc'[10..$]'
or (for every other volume)
3dbucket -prefix Betas bucket+tlrc'[10..$(2)]'
Plus, one can even use labels. If you know that
the final sub-brick has a label 'task7#0_Tstat',
then you could apply it as:
3dbucket -prefix Betas bucket+tlrc'[10..task7#0_Tstat(2)]'
- rick
Reply
Quote
RSS
Subject
Author
Posted
Variable in bucket selection
3dFoodie
July 22, 2015 01:47PM
Re: Variable in bucket selection
Isaac Schwabacher
July 22, 2015 02:08PM
Re: Variable in bucket selection
3dFoodie
July 22, 2015 02:52PM
Re: Variable in bucket selection
rick reynolds
July 22, 2015 03:23PM
Re: Variable in bucket selection
Isaac Schwabacher
July 22, 2015 04:26PM
Re: Variable in bucket selection
rick reynolds
July 22, 2015 04:35PM