Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ds105 fmri example with single runs being fit #275

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

Merged
merged 1 commit into from
Aug 21, 2013

Conversation

jonathan-taylor
Copy link
Contributor

  • Modified the FIAC example to start trying to analyze https://openfmri.org/dataset/ds000105
  • Added a block_design function, and options to output individual terms for an experimental factor.

for j in range(1,13):
yield i, j

ace_vs_scrambled_t/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this stuff meant to be here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is legacy from the FIAC example. I just changed the getruns() to match
the subjects/runs of this study. So, the answer is, probably not.

On Tue, Jun 11, 2013 at 9:03 AM, Matthew Brett [email protected]:

In examples/ds105/parallel_run.py:

  • if _client is None:
  •    _client = parallel.Client()
    
  •    mydir = os.path.split(os.path.abspath(**file**))[0]
    
  •    def cd(path):
    
  •        import os
    
  •        os.chdir(path)
    
  •    _client[:].apply_sync(cd, mydir)
    
  • return _client

+def getruns():

  • for i in range(1,7):
  •    for j in range(1,13):
    
  •        yield i, j
    
    +ace_vs_scrambled_t/

Is this stuff meant to be here?


Reply to this email directly or view it on GitHubhttps://github.com//pull/275/files#r4637010
.

Jonathan Taylor
Dept. of Statistics
Sequoia Hall, 137
390 Serra Mall
Stanford, CA 94305
Tel: 650.723.9230
Fax: 650.725.8977
Web: http://www-stat.stanford.edu/~jtaylo

@matthew-brett
Copy link
Member

Guys - any progress here? It would be good to merge this soon?

@jonathan-taylor
Copy link
Contributor Author

Haven't done much since last commit. Not sure what I can / should do to
improve it at this point.

Jonathan

On Mon, Aug 12, 2013 at 11:43 AM, Matthew Brett [email protected]:

Guys - any progress here? It would be good to merge this soon?


Reply to this email directly or view it on GitHubhttps://github.com//pull/275#issuecomment-22515427
.

Jonathan Taylor
Dept. of Statistics
Sequoia Hall, 137
390 Serra Mall
Stanford, CA 94305
Tel: 650.723.9230
Fax: 650.725.8977
Web: http://www-stat.stanford.edu/~jtaylo

def getruns():
for i in range(1,7):
for j in range(1,13):
yield i, j
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may be just

getruns = itertools.product(range(1, 7), range(1, 13))

?

@matthew-brett
Copy link
Member

OK - I guess we should just merge this one and do more edits with more pull requests. Any objections?

@bthirion
Copy link
Contributor

I'm fine with it.

matthew-brett added a commit that referenced this pull request Aug 21, 2013
MRG: ds105 fmri example with single runs being fit

* Modified the FIAC example to start trying to analyze https://openfmri.org/dataset/ds000105
* Added a block_design function, and options to output individual terms for an experimental factor.
@matthew-brett matthew-brett merged commit dd06837 into nipy:master Aug 21, 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