Repository navigation
[MRG+1]: Add VectorView and OPM rest example - #5692
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5692 +/- ##
===========================================
- Coverage 88.51% 50.23% -38.28%
===========================================
Files 369 369
Lines 69151 69140 -11
Branches 11651 11650 -1
===========================================
- Hits 61206 34730 -26476
- Misses 5090 32390 +27300
+ Partials 2855 2020 -835 |
|
As per chat with @larsoner I re-ran this resting state script on data for a 17 years-old participant in 5 minutes, eyes-open session on a 306 channel VectorView system. Noise covariance is computed from ERM recording processed with SSS using default Maxfilter parameters, raw data was denoised with SSS in MNE using LMK if you need more info. PCA Topo MapsRaw PSDAlpha band resultsBeta band results |
|
Yes. That is good!
…On Thu 8 Nov 2018 at 15:25, Alexandre Gramfort ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In examples/datasets/plot_opm_rest_data.py
<#5692 (comment)>:
> +##############################################################################
+# Compute and apply inverse to PSD estimated using multitaper + Welch.
+# Group into frequency bands, then normalize each source point and sensor
+# independently. This makes the value of each sensor point and source location
+# in each frequency band the percentage of the PSD accounted for by that band.
+
+freq_bands = dict(
+ delta=(2, 4), theta=(5, 7), alpha=(8, 12), beta=(15, 29), gamma=(30, 45))
+topos = dict(vv=dict(), opm=dict())
+stcs = dict(vv=dict(), opm=dict())
+
+for kind in kinds:
+ noise_cov = mne.compute_raw_covariance(raw_erms[kind])
+ inverse_operator = mne.minimum_norm.make_inverse_operator(
+ raws[kind].info, forward=fwd[kind], noise_cov=noise_cov, verbose=True)
+ stc_psd, evoked_psd = mne.minimum_norm.compute_source_psd(
param is called "return_sensor" so I would be fine calling the output
sensor_psd
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5692 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB0firjInUwXHSreydYICB8F5afG3LPzks5utD7bgaJpZM4YMxle>
.
|
|
Updated naming and comment, good to go for you @dengemann ? |
|
I had another question. Why didn‘t we keep the 1 projector per channel type
+ average == True? In my experience that is a good default to go (remove
good amount of artifact with 1 SSP).
…On Thu 8 Nov 2018 at 15:56, Eric Larson ***@***.***> wrote:
Updated naming and comment, good to go for you @dengemann
<https://github.com/dengemann> ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5692 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB0fio7-hRNQ_irEWrOirvoWyHuXiRufks5utEY2gaJpZM4YMxle>
.
|
The default is already |
|
Ah. Ok. Right. Nevermind.
…On Thu 8 Nov 2018 at 16:12, Eric Larson ***@***.***> wrote:
Why didn‘t we keep the 1 projector per channel type + average == True?
The default is already average=True but I'll lower it to 1 for mag
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5692 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB0fiobNdqhhLEPesSgxuT0Mokzu9deUks5utEnygaJpZM4YMxle>
.
|
|
Pushed fixes |
|
I think this example would deserve an entry in what‘s new. We have long
waited to have that.
…On Thu 8 Nov 2018 at 16:20, Eric Larson ***@***.***> wrote:
Pushed fixes
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5692 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB0fipvzK0wBSzwBPMMwYYflAWqFqPTeks5utEumgaJpZM4YMxle>
.
|
|
Done |
|
Here's the link to the last rendering LGTM |
|
CIs look happy (AppVeyor is slow but should follow) so I'll merge. Thanks for working through this one everyone! |






Follow-up of #5514.
Closes #5510.
Implements the Brainstorm pipeline for resting state data. Looks good and seems robust to me on VectorView and OPM data.
Marked WIP pending verification from @bloyl that it looks similar in Brainstorm and/or that @dengemann can replicate on mne-hcp data. @ktavabi has reported that it works for some of his VectorView data.