-
Notifications
You must be signed in to change notification settings - Fork 146
NF: make SPM processing example for Open FMRI ds107 #264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NF: make SPM processing example for Open FMRI ds107 #264
Conversation
Example of how to batch script SPM5 (!) preprocessing for the Open FMRI ds107 dataset.
Sorry I could not run it because I don't see how to get the ds107 dataset. Maybe this should be explained somewhere ? Should we get it from openfmri ? Or have you added it to nipy-data ? What data is expected actually ? |
Hi Bertrand - sorry - I did not explain. I'm thinking that the ds105 dataset might be the best dataset to use. I guess we should get it from openfmri and I need to add instructions here. |
btw, these datasets are now on amazon s3, so if you only wanted to download specific files, you can directly embed the urls for those files. http://openfmri.aws.amazon.com.s3.amazonaws.com/ds105/... will get you files from ds105. |
Allow passing of study and analysis parameter dictionaries.
@satra - your url for the Amazon openfmri dataset seems to be broken - has it changed? |
it hasn't quite changed but you need to know the path to the exact file. amazon doesn't allow getting at folder contents. for example:
will get you the file temporarily you can get that path to append from: i'll get you a better way to query them together soon. |
Fix some bugs in script too.
SPM8 batch jobs need extra 'initcfg' step to spm_jobman Add SPM version check to decided whether to add this initcfg step.
I adapted the example to ds105 instead. I also adapted the code to use SPM8. I added some instructions at the top of the example. |
Changes Unknown when pulling 5b6fc82 on matthew-brett:open-fmri-spm-example into * on nipy:master*. |
Any comments here? |
@matthew-brett - looks good. this might be a possible example where you could point to nipype for extended capabilities to interface with external tools and for dataflow management through the workflow engine. from the spm perspective, nipype can handle vanilla spm in matlab or spm run through the matlab common runtime (free from matlab licensing). |
Comment in file OK? |
thanks @matthew-brett - sounds good |
Changes Unknown when pulling 26665b2 on matthew-brett:open-fmri-spm-example into * on nipy:master*. |
OK to merge this one? Will merge tomorrow unless I hear otherwise. |
+1 |
Latest scipy assumes oned_as='row' default. Enforce in savemat call
MRG: make SPM processing example for Open FMRI ds105 Example of how to batch script SPM8 preprocessing for the Open FMRI ds105 dataset.
Example of how to batch script SPM5 (!) preprocessing for the Open FMRI ds107
dataset.