[Mne_analysis] ValueError: stc not compatible with source space.

Yuki yfujishima1001 at gmail.com
Thu May 2 15:48:24 EDT 2019
Search archives:

        External Email - Use Caution        

Hi

How can I overcome this error when running mne.extract_label_time_course?

---
ValueError: stc not compatible with source space. stc has 4097 time series but there are 4098 vertices in source space
---

It seems to me that the problem originates from mne.make_forward_solution:


---
Source spaces are in head coordinates.
Checking that the sources are inside the bounding surface and at least 5.0 mm away (will take a few...)
[Parallel(n_jobs=12)]: Using backend LokyBackend with 12 concurrent workers.
[Parallel(n_jobs=12)]: Done 4 out of 12 | elapsed: 1.3s remaining: 2.5s
[Parallel(n_jobs=12)]: Done 7 out of 12 | elapsed: 1.3s remaining: 0.9s
[Parallel(n_jobs=12)]: Done 10 out of 12 | elapsed: 1.3s remaining: 0.3s
[Parallel(n_jobs=12)]: Done 12 out of 12 | elapsed: 1.3s finished
1 source space point omitted because of the 5.0-mm distance limit.
Computing patch statistics...
Patch information added...
[Parallel(n_jobs=12)]: Using backend LokyBackend with 12 concurrent workers.
[Parallel(n_jobs=12)]: Done 4 out of 12 | elapsed: 0.1s remaining: 0.1s
[Parallel(n_jobs=12)]: Done 7 out of 12 | elapsed: 0.1s remaining: 0.0s
[Parallel(n_jobs=12)]: Done 10 out of 12 | elapsed: 0.1s remaining: 0.0s
[Parallel(n_jobs=12)]: Done 12 out of 12 | elapsed: 0.1s finished
1 source space point omitted because it is outside the inner skull surface.
Computing patch statistics...
Patch information added...
Thank you for waiting.
---

So can't extract_label_time_course be executed when the number of grid in SourceEstimate(originally Forward model) does not match the number in SourceSpaces? Is there any way to get around this?
Thanks.


Best,
Yuki

--
Yuki Fujishima
Kyushu University
Department of Medicine
School of Medicine Class of 2020
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190502/e4ba454a/attachment-0001.html 


More information about the Mne_analysis mailing list