# SEEG source localization: how is stc\_near\_sensors different?

**URL:** <https://mne.discourse.group/t/seeg-source-localization-how-is-stc-near-sensors-different/4611>\
**Category:** Support & Discussions\
**Tags:** ﻿source-localization, eeg, ieeg-and-ecog\
**Created:** [March 24, 2022, 10:10pm UTC](https://mne.discourse.group/t/seeg-source-localization-how-is-stc-near-sensors-different/4611 "2022-03-24T22:10:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![theesan16](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/theesan16/32/1183_2.png) [@theesan16](https://mne.discourse.group/u/theesan16)\
**Post date:** [March 24, 2022, 10:10pm UTC](https://mne.discourse.group/t/seeg-source-localization-how-is-stc-near-sensors-different/4611/1 "2022-03-24T22:10:15Z")

</div>

Hi,  
I have noticed that the tutorials use [stc\_near\_sensors](https://mne.tools/stable/generated/mne.stc_near_sensors.html#mne.stc_near_sensors) function for computing source estimates with sEEG or ECoG data. How is it different from minimum\_norm.apply\_inverse or other conventional approaches? Is there any documentation on this?  
Thanks.

Yoga

---

<div class="post-metadata">

**Author:** ![alexrockhill](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/alexrockhill/32/31_2.png) [@alexrockhill](https://mne.discourse.group/u/alexrockhill)\
**Post date:** [March 25, 2022, 2:56pm UTC](https://mne.discourse.group/t/seeg-source-localization-how-is-stc-near-sensors-different/4611/2 "2022-03-25T14:56:33Z")

</div>

Hi Yoga, `stc_near_sensors` take a space of source vertices and uses the center of an intracranial electrode contact to find the nearest vertex to that point. The minimum norm estimates are implemented for MEG and EEG and take data from the scalp and find a maximally likely source estimate using boundary element modeling. Application of boundary element modeling isn’t implemented yet for intracranial data, unfortunately; see [[ENH] Finite Element Modeling for Tissue Displacement by Intracranial Electrodes and Conductivity · Issue #10216 · mne-tools/mne-python · GitHub](https://github.com/mne-tools/mne-python/issues/10216).

---

<div class="post-metadata">

**Author:** ![theesan16](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/theesan16/32/1183_2.png) [@theesan16](https://mne.discourse.group/u/theesan16)\
**Post date:** [March 25, 2022, 10:10pm UTC](https://mne.discourse.group/t/seeg-source-localization-how-is-stc-near-sensors-different/4611/3 "2022-03-25T22:10:15Z")

</div>

Hi Alex,  
Thanks for your response and the clarification. I look forward to more updates on this issue.

Best,  
Yoga
