Closed jona-sassenhagen closed 5 years ago
We need to improve this pipeline, see #3893 #3877 #3699. But a good first start would be fixing whatever bug you are hitting here. The "isotrak" is probably meant to refer to info['dig']
. So basically you need to populate this with your EEG electrode coordinates. If you use DigMontage
instead of Montage
I think this will happen automatically.
Fixing this the right way is #3893, feel free to look there if you think it makes sense / would help you here. I hope to do it (finally!) for 0.17.
What I did now is simply read in the standard_1005 montage, raw.set_montage, and coregistered to that 😎
I'd prefer not to help out there cause everything 3D is terribly confusing to me. (It's on some Star Trek movie IIRC)
I was creating a "fake" dig montage in your scenario, does it work for you? I've hit some errors on the road to successful coreg and also think it would be nice if the pipeline was easier.
People who know stuff about source localisation might find this an aggressively bad idea, but couldn't we give a super streamlined pipeline for source localising default, non-digitised EEG data? In fact, we could provide precomputed inverse operators for standard_1005.
On the other hand digitizng chan pos with photogrammetry is easy and fun :)
In fact, we could provide precomputed inverse operators for standard_1005.
For consistency and rigor I'd rather have people do the steps. Ideally it will just be a few easy lines once #3893 is done.
We have a tutorial for EEG now, and we've improved the code with a better error message
error(None, "The selected FIFF file does not contain "
"digitizer information. Please select a different "
"file.", "Error Reading FIFF File")
Trying to coreg my barebones EEG files, the Gui crashes with the rather unhelpful line:
I assume that means I don't have an Isotrak.