Currently the localization of the electrodes works this way: it finds the closest region and it assigns that value to the electrode
It's necessary to add two extra steps:
[ ] Verification of the position: discard the electrode if it's outside of the brain!
[ ] Discard the electrode if the nearest region if >5mm (from https://arxiv.org/abs/2302.05734) away. This second one covers the first one
Currently the localization of the electrodes works this way: it finds the closest region and it assigns that value to the electrode It's necessary to add two extra steps: