mne-python icon indicating copy to clipboard operation
mne-python copied to clipboard

Confine the source space near the sensor

Open MA-Xiaoian opened this issue 3 years ago • 4 comments

Hello, I only have a few sensors, and I want to limit the source space to a certain distance from the sensor, similar to the function of mne .stc_ near_sensors, but it only for ECoG, EEG and DBS sensor data, how can I realize this function? Thanks !

MA-Xiaoian avatar Jul 16 '22 13:07 MA-Xiaoian

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

welcome[bot] avatar Jul 16 '22 13:07 welcome[bot]

There are some functions in ConPy that can do this. I do remember there was an effort at some point to put similar functionality in MNE-Python.

wmvanvliet avatar Jul 17 '22 05:07 wmvanvliet

I think a clean way to do this would be to allow a user-supplied mask for the high-resolution mesh vertices to consider. Then people can arbitrarily mask points, which could include a suitable sensor-distance-based mask

larsoner avatar Jul 25 '22 20:07 larsoner

That is indeed the approach taken by conpy.

wmvanvliet avatar Jul 26 '22 06:07 wmvanvliet