Skip to content

ENH: support MRI viewer #2829

@kingjr

Description

@kingjr

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:

  • plot in mm space instead of voxel space (using nilearn.affine?)
  • have buttons to adjust contrast, luminosity and zoom
  • have a 4th panel (on top of x, y z MRI slices) showing the BEM in 3D with the 3 planes of 2D view.
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions