Skip to content

Conversation

matthew-brett
Copy link
Member

Example of how to batch script SPM5 (!) preprocessing for the Open FMRI ds107
dataset.

Example of how to batch script SPM5 (!) preprocessing for the Open FMRI ds107
dataset.
@bthirion
Copy link
Contributor

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 ?

@matthew-brett
Copy link
Member Author

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.

@satra
Copy link
Member

satra commented May 23, 2013

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.

@matthew-brett
Copy link
Member Author

@satra - your url for the Amazon openfmri dataset seems to be broken - has it changed?

@satra
Copy link
Member

satra commented Aug 21, 2013

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:

http://openfmri.aws.amazon.com.s3.amazonaws.com/ds005/README

will get you the file

temporarily you can get that path to append from:

https://openfmri.org/system/files/ds005_raw_checksums.txt

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.
@matthew-brett
Copy link
Member Author

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.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 5b6fc82 on matthew-brett:open-fmri-spm-example into * on nipy:master*.

@matthew-brett
Copy link
Member Author

Any comments here?

@satra
Copy link
Member

satra commented Oct 29, 2013

@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).

@matthew-brett
Copy link
Member Author

Comment in file OK?

@satra
Copy link
Member

satra commented Oct 29, 2013

thanks @matthew-brett - sounds good

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 26665b2 on matthew-brett:open-fmri-spm-example into * on nipy:master*.

@matthew-brett
Copy link
Member Author

OK to merge this one? Will merge tomorrow unless I hear otherwise.

@satra
Copy link
Member

satra commented Oct 30, 2013

+1

Latest scipy assumes oned_as='row' default.  Enforce in savemat call
matthew-brett added a commit that referenced this pull request Oct 31, 2013
MRG: make SPM processing example for Open FMRI ds105

Example of how to batch script SPM8 preprocessing for the Open FMRI ds105
dataset.
@matthew-brett matthew-brett merged commit 4177482 into nipy:master Oct 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants