question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Q: Issue with source reconstruction on my BEM but not sample's

See original GitHub issue

I am struggling to reconstruct the source of a presumably simple dataset.

The evoked topo (here at 180ms) looks dipolar, and should come from the back of the brain (response to visual stim).

4_mag

When I reconstruct the source on with the sample BEM, i get something relatively expected (to the extent that it’s in the back of the brain.

dipole_orig_bem

However, when I try to reconstruct on my subject’s actual bem, I get very unlikely reconstructions: Here MNE at 180ms reconstruct a frontal activity (similar with dSPM and sLORETA, in mne-python or mne-c): 8_mne 10_dipole

I checked that the source space and trans alignment make sense (here dipole fit at 180 ms):

2_source 0_trans

I’m using the same evoked and covariance in both cases.

I encounter this issue with all of my subjects.

Any idea in what direction I search?

[I can share the data in private, I haven’t defaced the MRI]

EDIT: this was actually incorrect, I wasn’t using the same covariance across cases.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
larsonercommented, Jun 6, 2016

I mean that I’m not sure how good the data will be if you just use maxwell_filter to do only a head position change. You can certainly try it. Use the same internal order, external order, and probably no regularization (or maybe the same regularization, which would have been “in” if it had been turned on) and you can probably do it with maxwell_filter. You might end up in some trouble because our calculations are not 100% identical with those of MaxFilter, but you could try it. So it might actually be better if you call MaxFilter with -force to do it for you.

0reactions
kingjrcommented, Jun 6, 2016

@dgwakeman ok this seems indeed suboptimal. If I have time I’ll try to get the raw and realign from the beginning.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Localizing oscillatory sources using beamformer techniques
Head model. The forward model is a prerequisite for source reconstruction. The forward model allows us to calculate an estimate of the field ......
Read more >
Empirical Bayes evaluation of fused EEG-MEG source ...
Source reconstruction of electrophysiological responses have become a standard analysis in neuroimaging, as revealed by the increasing number of ...
Read more >
Structural templates for imaging EEG cortical sources in infants
Electroencephalographic (EEG) source reconstruction is a powerful approach that allows anatomical localization of electrophysiological brain ...
Read more >
Source localization - Scholarpedia
This problem of source localization is an ill-posed inverse problem. There are an infinite number of solutions that explain the measured data ...
Read more >
Review on solving the forward problem in EEG source analysis
These evaluations are necessary to solve the inverse problem which is defined as finding brain sources which are responsible for the measured ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found