Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Analysis Software Support
 SPM Automation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

D.Smith
Starting Member

USA
2 Posts

Posted - Jul 28 2006 :  4:32:43 PM  Show Profile  Reply with Quote
We are trying to cut down on man hours with SPM analysis. We have many files to run through SPM with similar parameters and we are looking for a way to automate this process. Ideally we could set the analysis options once and then tell SPM in which folders the data is located. Is there a way to do this? Parhaps a toolbox that does this? If so, which is the best to use?
Thanks!

Research Coordinator
UNC School of Medicine
Dept. of Neurology
919.843.1474

josh.bizzell
BIAC Staff

USA
118 Posts

Posted - Jul 31 2006 :  09:37:05 AM  Show Profile  Reply with Quote
The easiest thing to do is to run SPM without using the GUI by writing Matlab scripts that directly call SPM functions. I have some sample scripts that can be used for SPM5... send an email if you're interested.
-Josh
Go to Top of Page

jimmy.dias
BIAC Alum

USA
210 Posts

Posted - Jul 31 2006 :  11:22:16 AM  Show Profile  Visit jimmy.dias's Homepage  Reply with Quote
SPM2, SPM99, and SPM5 all have different batch functionality, so if you're going to be processing across SPM versions, I would advocate calling each of the functions directly with the appropriate parameters instead of using their built in mechanisms.

The following script might be a good place to start.
http://en.wikibooks.org/wiki/SPM-Example_batch_script

Jimmy
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.33 seconds. Snitz Forums 2000