question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[ENH] Add Intracranial Electrode Contact Picking GUI (PyQt)

See original GitHub issue

The intracranial electrophysiology analysis pipeline could use a manual or semiautomated GUI to pick the locations of the electrode contacts based on a CT that has been aligned to the MR of that subject so that brain structures can be used to aid contact identification.

Basic Requirements:

  • A CT and MR viewer that can scroll through slices like freeview
  • A list selection to scroll through channel names from a raw object and associate them with a location on the CT in MR (surface RAS) space
  • Ability to change the colormap to see color ranges within the CT more clearly as well as for the MR to make brain structures clearer
  • An RAS locator to describe where you are in RAS space (helpful for use and this is also like freeview)

Advanced Requirements:

  • A 3D viewer of the head with representations of “devices” or groups of contacts like an ECoG grid or sEEG electrode which more closely resembles surgical plans and so makes it easier to identify which device is which
  • Speed of execution
  • An automated algorithm to identify locations where electrode contacts are likely to be (likely using voxel_neighbors) to speed up location
  • Contact coloring should be roughly orthogonal in ~24 dimensional space for sEEG patients with approximately that number of devices, also it looks nice if the device is colored the same

cc @larsoner

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
agramfortcommented, Jul 13, 2021

let’s do a video call to discuss this ok?

1reaction
larsonercommented, Jul 12, 2021

… and instead of returning the localized positions, it can just set info['chs']['loc'] directly. That way at the end if you do raw.save(...) that instance will have the correct locations.

People can always use raw.get_montage if they want to see the locations they set.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Locating intracranial electrode contacts - MNE-Python
To transform electrode contact locations to that space, we need to determine a function that maps from the subject's brain to the template...
Read more >
Intracranial Electrode Location and Analysis in MNE-Python ...
From my understanding, this contribution reflects the addition of a novel GUI for electrode localization and associated updated to make this ...
Read more >
Semi-automated Anatomical Labeling and Inter-subject ...
To start the electrode identification process, call patient.mark_electrodes(). This will launch an interactive python GUI that will overlay the ...
Read more >
Semi-automated Anatomical Labeling and Inter-subject ... - NCBI
It gives the user an easy interface to create anatomically labeled electrodes that can also be warped to an atlas brain, starting with...
Read more >
SpyKING CIRCUS Documentation
You might want to add the --user flag, to install SpyKING CIRCUS for the local user ... can now display the electrode labels...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found