[MINC-users] divide a dataset into chunks

D. Louis Collins louis.collins at mcgill.ca
Tue Mar 21 13:33:59 EST 2006


krista,

the command is mincreshape:

mincreshape volume.mnc -dimrange time=8,50 output.mnc

will do what you like if the time dimension is coded as 'time'.  use 
'mincinfo volume.mnc' to see what the dimension name is called.  (it 
could be vector_dimension, in which case the command becomes:

mincreshape volume.mnc -dimrange vector_dimension=8,50 output.mnc

good luck,

-Louis


On Mar 21, 2006, at 12:22 PM, Krista GARVER wrote:

> hello.
>
> is there a tool for dividing a dataset into pieces?  for example, how
> would i take a dataset with 208 timepoints, cut off the first 8, and
> divide the remaining 200 timepoints into 4 datasets of 50 timespoints
> each?
>
> thanks,
> krista
>
>
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>



More information about the MINC-users mailing list