Merged
Conversation
Contributor
Author
|
For now just runnint the CIs. |
Codecov Report
@@ Coverage Diff @@
## master #6636 +/- ##
=========================================
+ Coverage 89.38% 89.4% +0.02%
=========================================
Files 416 416
Lines 75127 75130 +3
Branches 12352 12352
=========================================
+ Hits 67150 67172 +22
+ Misses 5141 5126 -15
+ Partials 2836 2832 -4 |
Contributor
Author
|
I thought I would also win something in terms of speed with the vectorization but that's not the case. |
Contributor
Author
|
Travis errors are unrelated: > raise URLError(err)
3391E urllib.error.URLError: <urlopen error timed out> |
wmvanvliet
reviewed
Aug 7, 2019
Contributor
|
Great refactor! Looks much cleaner. Since you touched the rotation logic, did you double check that the vectors in the VectorSourceEstimate are rotated correctly? |
Contributor
Author
|
@wmvanvliet yes. If you check the first commit bd2b703, I ran both computations, put assert and run the entire test suite. All green lights! xx = np.matmul(
np.transpose(source_nn.reshape(n_vertices, 3, 3),
axes=[0, 2, 1]),
data.reshape(n_vertices, 3, -1)
)
np.testing.assert_allclose(xx, data_rot) |
alexrockhill
pushed a commit
to alexrockhill/mne-python
that referenced
this pull request
Oct 1, 2019
This is meant to simplify mne-tools#6609
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR refactors _make_stc in order to simplify #6609