I wrote a shell script (bash) for this purpose. I can post it in a few hours. You will need to change some code slightly to suit your data.
Chris
________________________________________
From: SPM (Statistical Parametric Mapping) [[log in to unmask]] on behalf of Andy Yeung [[log in to unmask]]
Sent: Friday, December 20, 2013 3:47 AM
To: [log in to unmask]
Subject: [SPM] Any quick method to pick contrast files from multiple subjects for 2nd level analysis?
Dear all,
For example I got 100 subjects and several contrasts.
At 2nd level analysis I tried to copy and paste all relevant con*.img/hdr collectively into a new folder.
But it says error at running specifying 2nd level.
Is there a way to quickly allow me to pick up files I want in spm specify 2nd level?
Filter button works only when I'm into daughter folder containing the data, doesn't work when I'm in parent folder.
Yours,
Andy
|