mne-python
mne-python copied to clipboard
Confine the source space near the sensor
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 !
Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴🏽♂️
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.
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
That is indeed the approach taken by conpy.