mne-tools / mne-nirs

Process Near-Infrared Spectroscopy Data in MNE
https://mne.tools/mne-nirs/
BSD 3-Clause "New" or "Revised" License
83 stars 35 forks source link

2D line visualisation of GLM results #470

Open Unknolwn opened 2 years ago

Unknolwn commented 2 years ago

The aim of this feature is to copy the Matlab output and have a visual representation of the coefficnet of each individual channel for direct comparison.

image

welcome[bot] commented 2 years ago

Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴🏽‍♂️

larsoner commented 2 years ago

@rob-luke perhaps you have ideas about this. Given that this is probably quite fNIRS-specific (I think?) then perhaps mne-nirs is a better target to integrate this sort of thing

rob-luke commented 2 years ago

Thanks for the suggestion @Unknolwn

I think this is a common visualisation technique across other software platforms, and probably something we should provide. Currently, MNE-NIRS can display this exact same information, except on a 3D head. But I can see the benefit of wanting a simpler visualisation.

Perhaps we could leverage the work done around mne.viz.plot_bridged_electrodes to plot something similar to the request, but with a more meaningful topographical layout?

In the meantime here is the current 3D way of plotting this in MNE at https://mne.tools/mne-nirs/stable/auto_examples/general/plot_70_visualise_brain.html#plot-channels-sensitive-to-anatomical-region-of-interest image

@larsoner yes, let's move this to MNE-NIRS.

@Unknolwn I do not have the capacity to implement this in the near future, so I can't give an estimate of when this might be implemented. But if we keep it as an issue hopefully someone can implement it and submit it via a PR.