Skip to content
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

[RF]: MultiEchoData class #10

Merged
merged 1 commit into from
Nov 16, 2017
Merged

[RF]: MultiEchoData class #10

merged 1 commit into from
Nov 16, 2017

Conversation

rmarkello
Copy link

Beginning of class-style refactoring to ease up the global shenanigans going on in tedana.py. I created a MultiEchoData class (interfaces/data.py) to hold input multi-echo data, echo times, create masks, etc. I also made stub classes for other features that can be used to class-ify other aspects of the code (i.e., T2S() and TEDModelFitter())

I still think that the API should be function-based, but this might help behind the scenes so that related information is stored together.

Beginning of class-style refactoring to ease up the global shenanigans going on
in `tedana.py`. Created a MultiEchoData class (`interfaces/data.py`) to hold
input multi-echo data, echo times, create masks, etc. Made stub classes for
other features that can be used to class-ify other aspects of the code. I still
think that the API should be function-based, but this might help behind the
scenes so that related information is stored together.
@emdupre emdupre merged commit 29ff626 into emdupre:master Nov 16, 2017
@rmarkello rmarkello deleted the medata_class branch November 19, 2017 06:37
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.

2 participants