I don't know if the following files will be of any use. But this is a
simple batch system I wrote for SPM2b. The main difference between this
implementation and SPM2 being that it doesn't handle the Realign & unwarp
option in SPM2. Like SPM, if there are any defaults you normally change
you will have to do the same here BEFORE you specify the steps for the
batch processing.
Place the following files in some directory, add the path, etc. etc. etc.
The only modification I have made to the SPM code is for the slice_timing
code (like other batch systems) to allow passing of various params that the
normal spm slice_timing file prompts the user for. It was developed in
MATLAB 6.1, so I can't guarantee that it'll work in older versions of
MATLAB.
Once installed, simply use spm2_batch at the command line. Click on MODEL
to specify what steps you want to employ. Then type spm2_batch again at
the command line, click on DATA to select which which files you want to
apply the preprocessing to, and then finally type spm2_batch again at the
command line and click on RUN. It's a fairly intuitive interface, though
it doesn't do anything terribly fancy.
Regards,
Jejo Koola
p.s.: I also have underway a distributed/parallel SPM project to run SPM on
multiple processors using MPI. If that's of interest to anyone I can also
post that.
--On Thursday, November 20, 2003 10:52 PM +0000 Ben Cipollini
<[log in to unmask]> wrote:
> Hi all,
>
> I was wondering what the latest is on SPM automation. We are running
> SPM2, and I want to automate our procedures. I COULD do it via MatLab
> directly, but that would be time consuming. I'm wondering what's the
> latest that's out there...
>
> I've seen the work done by Stefan Sunaert, and this is the type of thing
> I'm looking for. I'm not sure what my options are, and if anything has
> been done recently or with regards to SPM2.
>
> Thanks!
> Ben
|