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

[WIP] Design matrix and array of voxels in top 20% of t-statistics #34

Merged
merged 14 commits into from
Dec 6, 2015

Conversation

lisaannyu
Copy link
Contributor

Still in the process of writing tests, please check to see if I need to redo the functions to make it more efficient

Dev: update linear_modeling.py
[WIP] Update design matrix and create array of indices of voxels with highest t-statistics
X[:,2] = pos
X[:,3] = np.linspace(-1, 1, n_trs)
return X
def plot_design_matrix(X):
Copy link
Contributor

Choose a reason for hiding this comment

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

please include two new lines between function definitions for readability
if you do yapf -i code/utils/linear_modeling.py this is one of the styling that it'll do automatically

@lisaannyu
Copy link
Contributor Author

Thanks! I addressed most of those, except line 43. I will push up those changes and the tests tomorrow. I'm having some problems importing into the test_linear_modeling.py file

@lisaannyu
Copy link
Contributor Author

I added the files needed for our slides, but don't know how to have those in a pull request by itself

AlonDaks added a commit that referenced this pull request Dec 6, 2015
Design matrix and array of voxels in top 20% of t-statistics
@AlonDaks AlonDaks merged commit c886f50 into berkeley-stat159:master Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants