[pymvpa] Concatenate datasets

Chris Johnson effigies at gmail.com
Tue Jul 3 17:02:07 UTC 2012

I have multiple nifti files I want to combine into one dataset. I
think I have figured out how to do this, and I just want to verify:

e.g. If I want to drop the first two volumes in images 5-12, but
concatenate the remainder of the volumes, I would do:

dss = [fmri_dataset('%03d/fmc.nii.gz' % i) for i in range(5,13)]
ds = dss[0][2:]
for ds_ in dss[1:]:

Chris Johnson

More information about the Pkg-ExpPsy-PyMVPA mailing list