Repository navigation
fix CTF MNE/dSPM due to comps - #5388
Merged
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5388 +/- ##
==========================================
+ Coverage 88.27% 88.28% +<.01%
==========================================
Files 358 358
Lines 66368 66381 +13
Branches 11278 11278
==========================================
+ Hits 58589 58606 +17
+ Misses 4956 4953 -3
+ Partials 2823 2822 -1 |
agramfort
force-pushed
the
fix_ctf_comps_mne
branch
from
August 2, 2018 17:05
41b4cda to
7439228
Compare
larsoner
reviewed
Aug 3, 2018
| mne.setup_volume_source_space(pos=15.0), | ||
| mne.make_sphere_model()) | ||
| inv = make_inverse_operator(evoked.info, fwd, noise_cov, loose=1.) | ||
| apply_inverse(evoked, inv, lambda2, 'dSPM') |
Member
There was a problem hiding this comment.
This should be a little bit faster (one source for fwd and no cov computation), it's what I was using before I had to stop:
raw = read_raw_ctf(fname_ctf).crop(0, 1)
raw.apply_gradient_compensation(1)
sphere = make_sphere_model()
cov = make_ad_hoc_cov(raw.info)
src = setup_volume_source_space(
pos=dict(rr=[[0., 0., 0.01]], nn=[[0., 1., 0.]]))
fwd = make_forward_solution(raw.info, None, src, sphere, eeg=False)
inv = make_inverse_operator(raw.info, fwd, cov, loose=1.)
apply_inverse_raw(raw, inv, 1. / 9.)
Member
Author
|
all green ! |
Closed
4 of 8 tasks
bloyl
added a commit
to bloyl/mne-python
that referenced
this pull request
Oct 4, 2018
bloyl
added a commit
to bloyl/mne-python
that referenced
this pull request
Oct 8, 2018
bloyl
added a commit
to bloyl/mne-python
that referenced
this pull request
Oct 10, 2018
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.
@massich it should fix your CI failure.