You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes a few source locations are dropped in forward computation so the stc gets out of sync with the original src. this means you need to call stc.project('pca', fwd['src']). It would be nice if you could use the original src.
This problem used to exist with stc.extract_label_time_course but that has been fixed maybe by #6789?
I'm not sure how to replicate this issue on sample data but I could share some data that exhibits the issue if that is needed.
Activity
larsoner commentedon Jun 25, 2020
Indeed it looks like the same fix from #6789 could be applied to
stc.project. Can you look into refactoring it for example into a_check_vertices_subsetfor https://github.com/mne-tools/mne-python/pull/6789/files#diff-3623e826cb12cb2dfa80dddf3b746d02R2544-R2549 then just reusingwith _temporary_vertices(src, stc.vertices):?