-
Notifications
You must be signed in to change notification settings - Fork 1.4k
ENH: support MRI viewer #2829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
How common is it to use only MR-based methods? I don't think I've ever seen an ECoG case that had an MR but no CT. Either way, this would be useful for any intracranial people. It'd be useful to include some electrode selection tool as well (as a first pass maybe you can supply a list of channel names and it will let you specify the location for each one?) |
They don't have any CT at NYU (one of the largest intracranial center), and neither did they in Paris (pretty small intracranial center). Also, the good thing with MR location is that you can check online that the electrodes are on the surface of the cortex.
Absolutely, I was thinking of having a button that increment a list of electrode arrays. You would add an array by specifying the number and arrangements of electrodes (e.g. 1 strip of 8 electrodes interspaced by 10 mm, or a grid of 4 * 8) and indicate whether it is rigid (depth electrode) or flexible (surface) so has to fit a line of a spline to automatically propose all the location of the array from 2 or 3 inputs. |
Interesting - I didn't realize that they don't use CT scans. What do you mean you can check "online"? As in, intraoperatively? Re: electrode selection, that sounds good to me. Could be worth implementing a |
I'd recommend to start this in a separate repo and maybe build on top of
pynax.
A
|
Also I wonder if we should start our own separate package for this sort of thing. |
This would be a good project to coordinate with @aestrivex and Noam Peled. @aestrivex has built a tool with visualizes and even autodetects intracranial electrodes (there is a manuscript in prep). |
Thanks @Eric89GXL for the link. I eventually used your viewer, as it was cleaner. (The main difficulty is to go back and forth from head coordinates to image coordinates.) I've started a separate rep here https://github.com/kingjr/ecoggui as this seemed a bit too disjoint from MNE. It is still preliminary, but it works (on my computer..). The main blocker is that my electrode fitting is way too slow, but I implemented my own loss function, so I expect that it improvable by several orders of magnitudes... (if there is any optimization experts in the room... ... ... too busy? ok.) @choldgraf Let me know whether you're still up for helping ;). |
@kingjr my workload should lighten up in a few weeks or so...keep me in the loop and I will help out once I've got the time! |
hehe - is that one of the new matplotlib colormaps I see? That is Also, this is the first I've seen someone selecting electrode positions On Fri, Feb 12, 2016 at 9:16 PM, Jean-Rémi KING [email protected]
|
maybe we should write a paper then ;) On 13 February 2016 at 13:14, Chris Holdgraf [email protected]
|
Actually for a long time I've wanted to write a "best practices in ECoG" On Mon, Feb 15, 2016 at 11:13 AM, Jean-Rémi KING [email protected]
|
I need an MRI viewer to detect (or rather infer) the locations of intracranial electrodes and add some fitting routing to help the user.
I think the MNE C has this functionality (for the coregistration) but this is not the case in MNE-Python, right?
I tried to see whether it'd be possible to use nilearn plotting functions, but they are not really up for interactive plotting and redirected me to a useful, although pretty dead rep:
pynax
I think the MRI viewer will be useful for several use cases, so it might be worth adding such thing in the future. The TODO list to complete pynax would be:
nilearn.affine
?)In parallel, I'll try to work on specifically on methods to help electrode locations. This is likely to push intracranial people to MNE, because the current methods based on MR (and not CT) are just aweful (I'm just coming back from a tutorial based on a combination of Excel sheet, mricron, FSL and Freesurfer simultaneously opened).
Do you think we should try to work on this in MNE, or have a separate rep?
@choldgraf
The text was updated successfully, but these errors were encountered: