Introduction

Stereoelectroencephalography (SEEG) is a brain signal recording technique that uses a system of intracerebral electrodes. Similar to electrocorticography (ECoG), SEEG measures intracranial electric potential changes, but unlike ECoG grids or stripes, SEEG electrodes penetrate the brain parenchyma and are thus, able to target almost every cerebral structure, including gyral crowns, bottom of sulci, white matter, mesial brain structures and insula. It is predominantly used in patients with pharmaco-resistant epilepsy for precise localization and delineation of the epileptogenic network and functional surrounding areas (George et al. 2020; Minotti et al. 2018). Furthermore, intracranial EEG (iEEG), composed of both ECoG and SEEG, from epilepsy patients has also been successfully applied in cognitive neuroscience research (Parvizi and Kastner 2018).

Despite its high temporal and spectral resolution, spatial precision, signal-to-noise ratio and robustness against artifacts; spatial undersampling remains the main limitation of SEEG (Isnard et al. 2018). Currently, the prevailing clinical, as well as, neuroscientific approach in the analysis of SEEG electrical brain activity focuses on visual inspection of the activations directly at the electrode contacts. Brain regions implanted during SEEG exploration are chosen carefully based on the electro-clinical hypothesis about the seizure onset zone in individual patients. However, in cases where the lesion is more focal than anticipated or in cases of incorrect hypothesis, the electrodes may not be positioned optimally and in an extreme case may be even misplaced with respect to the source. Consequently, a method that could define sources beyond the close vicinity of the SEEG recording electrodes would be highly desirable and could lead to further improvements in localization of epileptogenic (Ramantani et al. 2013), and functional (Bastin et al. 2017; Völker et al. 2018) networks.

Electrical source imaging (ESI) solves the inverse problem of finding hidden neural sources of brain activity from signals recorded by the electrodes (or sensors, in general), see (Michel et al. 2004; Michel and Brunet 2019) for a comprehensive review). ESI is most typically used with scalp EEG or MEG (magnetoencephalography). Reports of ESI using SEEG (but also ECoG) are infrequent, presumably because the SEEG signal is generally considered to be the local field potential. In fact, the iEEG is itself often used as the ground truth source location for scalp EEG-based ESI (Bai et al. 2007; Koessler et al. 2010; Tamilia et al. 2019). This notion of spatial focality is further enhanced by the prevalent use of bipolar montage in clinical practice, subtracting the activity from neighboring contacts of the same electrode and thus, canceling the far-field sources that would otherwise contribute to both contacts by approximately the same amount, e.g. (Vlcek et al. 2020). However, if the iEEG is referenced to a common average, then the far field sources are preserved, thus enabling their reconstruction.

The majority of iEEG-based ESI studies have focused on numerically simulated signals using either ECoG electrodes (Zhang et al. 2008; Dümpelmann et al. 2009, 2012; Cho et al. 2011; Lie et al. 2015; Pascarella et al. 2016; Cosandier-Rimele et al. 2017; Todaro et al. 2019) or SEEG electrodes (Chang et al. 2005; Caune et al. 2014; Hosseini et al. 2018; Le Cam et al. 2014, 2017, 2019). The simulated signal has the profound advantage of a clearly defined source location, a temporal profile and the possibility to manipulate the signal-to-noise ratio (SNR). Although such studies are key first steps for method validation and gaining further insights, an open question is how much the simulated signals resemble the activity measured with physiological iEEG signals in the real brain. In particular, the brain activity in the simulation studies is typically modeled as a single dipolar source with additive noise; the noise on different electrode contacts is often modeled as Gaussian, white and uncorrelated—characteristics that do not occur under physiological conditions.

Fewer studies deal with ESI based on physiological (i.e., not numerically simulated) iEEG signals (Yvert et al. 2005; Zhang et al. 2008; Dümpelmann et al. 2012; Ramantani et al. 2013; Caune et al. 2014; Alhilani et al. 2020; Lin et al. 2021) and are often limited to single-case reports. Importantly, methods of ESI using real iEEG signals were successful in localizing the irritative zone, seizure onset zone and even predict the outcome of brain resection (Ramantani et al. 2013, 2014; Alhilani et al. 2020; Satzer et al. 2022). Studies using different evoked potentials, for example, auditory evoked potentials (AEPs), were able to correctly reconstruct their origin and even their time course (Yvert et al. 2005; Sammler et al. 2013; Korzyukov et al. 2007).

Currently, a systematic evaluation of SEEG-based source localization and its determinants under fully realistic experimental conditions and with a higher sample size of patients is lacking. To address the accuracy of ESI under physiological settings, it is necessary to solve the issue of the unknown source location (the so-called “ground truth”). Thus, an experimental design with known (or independently estimated) “ground truth” locations of the sources is required.

In this study, we aimed to analyze which parameters of SEEG recordings most influence the source reconstruction and thereby, confirm (or reject) some of the predictions from studies using numerical simulations (Dümpelmann et al. 2009, 2012; Caune et al. 2014; Le Cam et al. 2014). Is it the distance from the putative source to the closest SEEG electrode contacts (Le Cam et al. 2014), the number of highly active contacts/electrodes (Caune et al. 2014), or the spatial arrangement around the putative source (Le Cam et al. 2019)? How far can SEEG detect sources (Hosseini et al. 2018)?

To this end, we compared the localization results of somatosensory evoked potential (SEP) obtained from HD-EEG ESI and SEEG ESI for 20 different patients. We extracted different parameters of SEEG recordings to address the above research questions about the determinants of the ESI localization results from SEEG signals.

The location of the putative source of SEP, the “ground truth” source location to which the SEEG ESI was compared, was estimated from a HD-EEG recording (Fig. 1). Notably, the HD-EEG measurements were not concurrent with the SEEG, but took place before the SEEG implantation (due to technical and clinical limitations). We would like to underline that the position of the “ground truth” is only estimated and subject to limitations, resulting from this estimation. Throughout the manuscript, we will systematically use the term “ground truth” source location in quotes to remind of this limitation. We specifically exploited the SEP, because the SEP after median nerve stimulation is a well established source of electrical activity in the human brain originating predominantly in the postcentral gyrus (Hari and Forss 1999) that is also easily detectable with scalp EEG (Grimm et al. 1998). We used this a-priori knowledge about SEP location to visually verify the “ground truth” location of the putative source from HD-EEG ESI.

For the inverse solutions from SEEG, we selected two different, widely used methods: (1) sLORETA (standardized LOw REsolution brain electromagnetic TomogrAphy, (Pascual-Marqui 2002) and (2) equivalent current dipole (ECD) (Hämäläinen et al. 1993). Choice of the inverse solution method is typically dependent on assumptions that can be made about the nature of the signal source. For focal sources, such as the early response of SEP, where only one or a few brain areas are activated (Lee and Seyal 1998; Towle et al. 2003), the ECD technique with one dipole can yield reliable results (Pellegrino et al. 2018; Scherg and Von Cramon 1985). The sLORETA is a distributed source model, unbiased by the number of a priori assumed sources and, in principle, can provide a good explanation for recorded data even if multiple sources are in action. Importantly, both inverse solution methods were often used in iEEG-based ESI: ECD (Alhilani et al. 2020; Caune et al. 2014; Tamilia et al. 2019), and sLORETA (Cho et al. 2011; Dümpelmann et al. 2012; Lie et al. 2015).

Here, we demonstrate that SEEG may facilitate reliable source reconstruction beyond that of the closest electrodes and clarify the conditions to achieve optimal ESI results.

Fig. 1
figure 1

 A scheme of ESI of SEP. We used two different signals for ESI: SEEG and HD-EEG from the same patient. The signals were not, however, measured concurrently. We computed source locations using two different algorithms: ECD and sLORETA. Importantly, the “ground truth” location of the SEP was taken from the HD-EEG sLORETA solution (cyan diamond) and carefully visually inspected and verified that it originated in the vicinity of the posterior wall of the central sulcus. The regions explored by SEEG were not optimized for detection of SEP, but were solely based on the needs of clinical diagnostics. The localization errors of SEEG-based ESI for both methods were compared to this one, unique “ground truth” solution

Materials and Methods

The aim of this study was to assess the localization accuracy of SEEG-based ESI. The “ground-truth” location of the SEP source, to which the SEEG-ESI results were compared, was taken from the SEP source estimated by sLORETA from HD-EEG recordings and the plausibility of this estimation was carefully visually inspected. For the source reconstructions, we used “off the shelf” localization methods implemented in the Brainstorm software package (Tadel et al. 2011) version May 2021. The results were exported and further analyzed and visualized in MATLAB (The MathWorks, Natick, MA, USA).

Participants

Twenty patients (13 females, mean age 31 years, age range 19–54 years) with pharmaco-resistant epilepsy participated in the study (see Table 1 for details). One patient (P6) had two consecutive SEEG implantations resulting in 21 implantations in total. The patients were recruited at Motol University Hospital, Prague, Czech Republic and all gave informed consent approved by the local ethics committee. All patients underwent high density EEG (HD-EEG) recording with 256 scalp electrodes prior to stereo-EEG (SEEG) implantation. Concurrent recording of HD-EEG and SEEG was not possible due to technical reasons.

Table 1 List of participants

SEEG Recordings

The implantation sites were selected solely according to clinical indication. Details of the implantation sites are summarized in Table 1. Six to seventeen semi-rigid electrodes (DIXI Medical Instruments) were implanted per patient in cortical areas depending on the suspected origin of their seizures. Each electrode had a diameter of 0.8 mm and consisted of 8 to 18 contacts of 2 mm length and 1.5 mm inter-contact distance. Electrode contacts were identified from post-implantation CT coregistered with pre-implantation MRI using BioImage Suite 3.0 (Papademetris et al. 2006) and loaded into Brainstorm. Post-implantation MRI was available in 13 patients and we observed no shifts in the brain tissue nor hemorrhages resulting in tissue displacement, which could have impacted the localization results.

The SEEG signal was recorded using two different video-EEG monitoring systems: Natus NicoletOne with 128 recording channels (in 13 patients, P1–P13) or Natus Quantum with 256 recording channels available (in 7 patients, P14–P20). In patients P1–P13 only the 128 channel recording was available. Therefore, some electrodes were not recorded, mostly those located in the white matter. The data were sampled at 512 Hz with usable frequency bands 0.16–134 Hz for NicoleteOne or 2048 Hz with usable frequency bands 0.01–682 Hz for Quantum. For each patient, the reference electrode contact was located in the white matter. Note that the Brainstorm computes common average reference prior to the ESI computation.

HD-EEG Recordings

HD-EEG signal was recorded using ANT Neuro monitoring system with 256 electrode caps (Duke system), the individual positions of the contacts on the cap were obtained using an optical tracking system (Xensor, ANT Neuro) and loaded into Brainstorm to match with the patient-specific MRI. The data were sampled at 2048 Hz with usable frequency bands 0–409.6 Hz and a hardware defined common average reference. Impedance of HD-EEG electrodes was kept below 10 kOhm during the whole recording.

Stimulation of SEP (Same for Both HD-EEG and SEEG)

The median nerve was stimulated at the wrist using the Synergy Nicolet EMG system with at least 512 impulses on each side (range 512–1024, median 512), with a 2 Hz frequency, 0.2 ms pulse width and an amplitude adjusted individually to elicit a motor response (range 2.7–7.9 mA, median 4.5 mA). Patients were lying supine with eyes closed and were instructed to stay still and relaxed. At the beginning of each SEP stimulation, a trigger mark was transmitted from the SEP electrical stimulator to the respective SEEG or HD-EEG amplifier for subsequent data alignment.

Signal Preprocessing (Same for Both HD-EEG and SEEG)

Signals from both SEEG and HD-EEG recordings were aligned on the trigger marks (beginning of the median nerve stimulation), epoched in a 2 s long window centered on the trigger mark and averaged. The longer epoch of 2 s was used to avoid filtration artifacts at the edges of the window. A smaller window of [− 200; 400 ms] was then used as the input to the ESI algorithms. No epoch rejection was performed. Artifacts or broken channels were excluded in both SEEG and HD-EEG datasets based on visual inspection. Channels with abundant interictal epileptiform discharges, identified by experienced neurologists, were excluded from the analysis of the SEEG as well. The raw, epoched EEG data (for both HD-EEG and SEEG) were filtered at a frequency between 10 and 30 Hz (we used a zero-phase shift FIR filter with Kaiser window implemented in Brainstorm software). The choice of frequency band was similar to that documented (Houzé et al. 2011; Lascano et al. 2014), where a high-pass filter of 10 Hz for source localization of SEP in HD-EEG was used. Here we set the upper cut-off at 30 Hz to filter out the 50 Hz artifact, as the recordings took place in an unshielded room (i.e., without a Faraday cage). Both the HD-EEG and SEEG recordings were converted to a common average reference before the projection to the source domain.

Electrical Source Imaging (Same for Both HD-EEG and SEEG)

We used two different ESI models for computing the inverse solutions: sLORETA and ECD. The sLORETA (Pascual-Marqui 2002) is a spatially distributed model based on the minimum-norm least-square solution and constraining the source as well as noise variances. Here, we used default Brainstorm settings (Tadel et al. 2011), in particular a regularization parameter equal to three, depth weighting equal to 0.5, regularize noise covariance equal to 0.1 and unconstrained orientation of dipolar sources at each grid point. Unconstrained orientation of dipoles were used since we were also interested in the potentially confounding effects of activity of other brain structures.The ECD (Hämäläinen et al. 1993) is a source localization method based on dipole scanning, which iteratively searches the brain space and fits a single dipole with an unconstrained orientation. Here again, we used the default implementation in Brainstorm (i.e., median eigenvalue for noise covariance regularization). The assumption of a single dipole is well justified for the early response SEP (Lee and Seyal 1998; Towle et al. 2003). Both algorithms were successfully used in a number of studies localizing brain activity, also from iEEG (Lie et al. 2015; Alhilani et al. 2020). The source localization analyses were carried out in the Brainstorm software package (version May 2021) (Tadel et al. 2011).

Forward Modeling: SEEG and HD-EEG

The boundary element method (BEM) was used to construct the lead fields based on realistic head models derived from individual patient’s pre-implantation MRI images. Specifically, the software package CAT12 (Dahnke et al. 2013) was used for segmentation into the head mask, outerskull, inner skull and brain. The resulting surfaces were then used by OpenMEEG (Gramfort et al. 2010) to create the BEM head models with the source based on MRI volume with an isotropic grid of 4 mm resolution sampling the full brain volume, to also account for deep brain regions (Alhilani et al. 2020). Brainstorm’s default conductivities for scalp, skull and brain were used with their relative ratio of 1:0.0125:1, respectively with 1922 vertices in each layer (scalp, inner skull, outer skull) and 15 000 vertices in the cortex.

Time of Source Localization: SEEG and HD-EEG

The source localization was applied at a single time point typically corresponding to the peak of the global field power (GFP) of the SEP in SEEG or HD-EEG (Lascano et al. 2014). In more detail, the peak of the GFP corresponding to an early stable response was used (Houzé et al. 2011). In few cases where there was no clear peak of GFP for the SEEG, we used the time-point from HD-EEG.

Comparison of SEP Sources from SEEG and HD-EEG

We used two measures to assess the results of ESI localization from the SEEG: (1) the localization error for both sLORETA and ECD and (2) the spatial overlap for the distributed sLORETA solutions.

We estimated the putative, “ground truth” source location of SEP from HD-EEG recordings individually for each patient using the sLORETA algorithm. The results of the HD-EEG inverse solutions were carefully visually inspected to confirm their localization in the central sulcus by an expert on cortical anatomy. In more detail, ESI results from HD-EEG were visually validated based on Atlas of the Human Brain 5th edition (Mai et al. 2016). All results were concordant with presumed localization in the posterior wall of the central sulcus according to the literature (Hari and Forss 1999) or reasonably close. We defined the putative source from HD-EEG as a point in the brain-space with the maximum sLORETA intensity. We refer to this point simply (while being aware of this oversimplification) as a “HD-EEG source” and to the distance from this point as a “HD-EEG source-distance”. Thus, the HD-EEG sLORETA source localization was taken as the reference point (“the ground truth”) to which both the sLORETA and ECD solutions from the SEEG were compared.

For the sLORETA, the localization error was computed as the euclidean distance between the HD-EEG source and the maximum of source intensities obtained from SEEG (similar to (Dümpelmann et al. 2012). For the ECD, the localization error was computed as the distance between the position of the best fitting dipole from SEEG and the HD-EEG source location.

The spatial overlap between HD-EEG and SEEG solutions was calculated using Dice coefficient defined as 2 × X ∩ Y/(X + Y) (Zou et al. 2004), where X and Y are the volumes of exported sLORETA solutions (voxel maps) for SEEG and HD-EEG. The sLORETA voxel maps were thresholded above 95% of so-called robust range function used in FMRIB’s Software Library (FSL), and essentially computed from the range between 2nd and 98th percentiles of voxel intensities (Smith et al. 2004). We set this spatial threshold to 95% robust range of the maximum sLORETA activation, because the spatial extent of sLORETA solutions tend to be overestimated and focal sources show up clearly only for high thresholds, e.g. above 90% (Cosandier-Rimele et al. 2017). We would like to note that comparison of spatial source extent from SEEG and HD-EEG can be biased due to the essentially different SNRs of the two signals, which may, in principle, result in two very different distributions of the spatial extent. Thus, we first statistically compared the spatial volumes between SEEG and HD-EEG.

Extracted Variables from the SEEG

From the recorded SEEG signal, we extracted eight different parameters, to investigate their correlation with the ESI results. (A) a number of “highly activated” (> 10 µV) SEEG contacts; (B) a number of different electrodes with “highly activated” contacts; (C) maximal value of SEEG SEP amplitude; (D) maximal value of SEEG SEP SNR; (E) spatial conditioning ratio of the SEEG contact positions around the HD-EEG source; (F) distance from the HD-EEG source to the nearest contact; (G) distance from the HD-EEG source to the “most activated” SEEG contact; (H) distance from the HD-EEG source to the contact with maximal SNR. All values were taken at the time of ESI computation. Here, we make a distinction between SEEG “contacts” and SEEG “electrodes” (one electrode consists of multiple collinear contacts; a channel is a recorded contact). We defined “highly activated” SEEG contacts as those having the averaged absolute amplitude above 10 µV (a value above which it was possible to reliably distinguish SEP from the baseline noise). The “most activated” SEEG contact was defined as the one with the maximal absolute value of signal amplitude at the time of ESI computation (see Sect. Time of Source Localization: SEEG and HD-EEG). Another parameter was SNR, defined for each SEEG channel as squared mean of the SEP at the time of ESI computation divided by variance in the prestimulus baseline period:

$$SNR = \frac{{\left( {mean_{{trails}} \left( S \right) } \right)^{2}}}{{{var} _{{samples}} \left( B \right)}} ,$$

where trials correspond to the filtered epochs of SEP (see Sect. Signal Preprocessing (Same for Both HD-EEG and SEEG)), S is the SEEG activity extracted at the time of ESI computation and B is the prestimulus baseline activity from all trials and samples in the time interval of [− 0.25, − 0.1] s with respect to the median nerve stimulation onset (= 0 s). Spatial conditioning ratio quantifies the spatial repartition of the SEEG contact positions around the putative source and was computed as the ratio between the longest and the shortest axis of the ellipsoid from the principal component analysis (PCA), based on the formula in (Le Cam et al. 2019). The PCA was computed on the MNI coordinates of the SEEG contacts, the coregistration to MNI space was performed in Brainstorm. The different statistical tests are indicated in the text of the Results section. To account for multiple testing, we computed the false discovery rate (FDR) correction (Benjamini and Hochberg 1995).

Fig. 2
figure 2

Implantation schemes for all 20 patients based on individual MRI scans. Only those electrode contacts that were recorded and used in the ESI analysis are shown (yellow dots), explaining the gaps between contacts on some electrodes. The second implantation in patient P6 (P6-2) is shown in green. The central sulcus, where the putative source of somatosensory evoked potentials is localized, was highlighted in red. The central sulcus was automatically located using the Destrieux atlas (Destrieux et al. 2010) implemented in CAT12

Results

In this study, we aimed to assess the source localization of somatosensory evoked potentials (SEP) from SEEG signals under realistic experimental conditions. The SEEG ESI results were compared to the “ground truth” estimated by sLORETA from independent HD-EEG measurements in the same subjects. We computed the ESI for two different source localization algorithms: (1) the sLORETA and (2) the ECD. The comparison between the SEEG and HD-EEG ESI results was evaluated by source-distance (for both sLORETA and ECD) and spatial overlap for the sLORETA distributed source models (see Materials and Methods for more details).

Comparison of SEEG and HD-EEG Source Localizations

First, we systematically compared the SEP source localization obtained from SEEG and HD-EEG for all 20 patients with at least one electrode located in the contralateral hemisphere with respect to the stimulated hand. Thus, we present a total of 24 cases of stimulated SEP from 20 different patients (for example, patient P1 had a bilateral implantation, so we investigated both left and right hand median nerve stimulations). The localization results of the “ipsilateral cases” can be found in supplementary figure S1.

We focused on early time components of SEP. The mean (± SEM) timepoint when ESI was performed (see Sect. Time of Source Localization: SEEG and HD-EEG) for SEEG was 36 ± 3 ms (median = 33 ms) and for HD-EEG 42 ± 4 ms (median = 36 ms), where zero corresponds to the median nerve stimulation. The median of the absolute differences between localization timepoints for SEEG and HD-EEG was 5 ms.

Note that in the rest of the analyses below, we defined one, patient-specific “ground truth” source location, to which the SEEG ESI results (sLORETA and ECD) were compared. This “ground truth” was defined as the maximum sLORETA intensity from HD-EEG (Fig. 1). The distance between the HD-EEG sources estimated by sLORETA and ECD was (mean ± SEM) 1.7 ± 0.2 cm (median = 1.7 cm). Although we carefully visually inspected the “ground truth” location based on known neuroanatomy of SEP (Hari and Forss 1999; Lascano et al. 2014), it should be kept in mind that the “ground truth” location of the source in our study is only estimated (see Sect. The Number of SEEG Contacts/Electrodes for a more detailed discussion). We also detail one patient, showing the “ground truth” source position from the HD-EEG and a clear phase reversal of SEP in SEEG (see supplementary figure S5).

Both ESI methods converged to similar solutions for the SEEG signal, as there was a very high correlation between the sLORETA (Fig. 3, blue circles) and the ECD (Fig. 3, purple diamonds) source-distances (correlation coefficient R = 0.96, P < 0.001, Pearson correlation). Furthermore, there was also a strong negative correlation between the sLORETA localization error and spatial overlap of the HD-EEG and SEEG sources (Fig. 3, green stars): R = − 0.66 (P < 0.001, Pearson correlation). The source volume for SEEG (mean ± SD) was (2.9 ± 1.8) %, for HD-EEG: (2.2 ± 0.4)% with no significant difference between both signal modalities (P = 0.23, Wilcoxon rank sum test). The anti-correlation between distance and overlap underlines the validity of our results, as the smaller the distance between both sources (SEEG and HD-EEG), the higher the overlap.

There was also considerable variability in localization distances amongst the patients (Fig. 3), ranging from 0.4 to 10 cm. The variability of the localization results can primarily be accounted for by the differences in the implantation schemes with respect to the putative “ground truth” source. Note that in this study, we made no a-priori selection of patients based on their implantations, the position of the electrodes was defined solely by the needs of the clinical evaluation.

Remarkably, in almost 50% of the cases (11 out of 24 investigated stimulation sites), the localization accuracy was below 2 cm for both the sLORETA and the ECD methods.

Fig. 3
figure 3

SEEG-based ESI accuracy and spatial overlap for SEP source localization. The X-axis shows all patients (P1–P20) and the side of the median nerve stimulation (LH left hand, RH right hand). Only patients with contralateral hand stimulation and electrode implantations were included. The patients were sorted based on the localization distances from sLORETA. The ESI localization error (left Y-axis) was computed as the Euclidean distance between the HD-EEG source estimated by sLORETA (the “ground truth” source location) and the reconstructed sources from SEEG, based either on the sLORETA algorithm (blue dots) or the ECD method (purple diamonds). In the case of sLORETA, the source was defined as the voxel with the maximum of current density. The spatial overlap (green stars, right y-axis) between the sLORETA results from HD-EEG and SEEG was computed by the Dice coefficient from voxels, where the sLORETA intensity was larger than 95% of the robust range. Dashed red line then delineates 16 stimulation sites with visually clearly distinguishable SEP in SEEG. Notably, in 11 cases, the ESI localization accuracy was below 2 cm, demonstrating that-in some cases-ESI based on SEEG signal yields reliable source localization

As an exemplary result (Fig. 4), we illustrate the sLORETA localization result of a 33 years old male (P10 in Fig. 2) with hypermotor seizures who underwent frontal, bilateral symmetrical implantation with 6 electrodes on each side. In Fig. 4, we show concordant results of sLORETA ESI from both SEEG and HD-EEG with a localization error of 7 mm and spatial overlap of 69% in the right hemisphere, responding to the median nerve stimulation on the left wrist. Interestingly, there was only one electrode with “highly activated” contacts (amplitude > 10 µV on 7 contacts) positioned near the central sulcus, while the others were clustered more anteriorly. Furthermore, in the supplementary material, we provide details of three other sLORETA results of selected patients: P12, LH (Fig. S2), illustrating a case that had two electrodes with “highly activated” contacts (amplitude > 10 µV on 16 contacts of 2 different electrodes) and localization error = 16 mm; P11, LH (Fig. S3), illustrating a case with no “highly activated” electrodes (amplitude < 10 µV, but the SEP was visually distinguishable from the prestimulus baseline activity) and localization error = 24 mm; P1, LH (Fig. S4), illustrating a case where the SEEG ESI failed (localization error = 56 mm, no visually detectable SEP).

Fig. 4
figure 4

Exemplary results of sLORETA source localization. A detailed overview of ESI based on SEP stimulation on the left hand of patient P10. A Axial, coronal and sagittal projections (from both sides of the mid-sagittal plane) of the used SEEG electrode contacts showing frontal, bilateral symmetric implantation (6 electrodes at the left and 6 at the right hemisphere). The amplitude scale cut-off at 20 µV. SEP sources in orthogonal slices estimated with sLORETA from B SEEG and C HD-EEG. The colour-coded values (left of B and C) were cut-off at 95% of the robust range of the sLORETA intensities (F-pseudo-statistic). Cross-hairs indicate the maximum values, MNI coordinates shown in the picture. The position of the central sulcus is indicated by a dashed line. The blue diamond in B shows projections of the source maximum from the HD-EEG and the red triangle in C shows projections of the source maximum from the SEEG, for an easier comparison of the localization error. Corresponding averaged SEP of all channels (the so-called butterfly plots) filtered between 10–30 Hz are shown on the right of B and C with a red line indicating the time point used for source localization. The localization error was 7 mm and spatial overlap 69%

Determinants of SEEG-Based ESI Localization

In the next step, we investigated which parameters of the SEEG recordings were related to the ESI results (Fig. 5). To this end, we selected 8 different parameters (columns A-H of Fig. 5), which can hypothetically play a role in the SEEG source localization (see Materials and Methods, Sect. Extracted Variables from the SEEG):

We specifically selected 16 datasets with visually clearly distinguishable SEP in the SEEG signal (left from dashed red line in Fig. 3), having also a non-zero spatial overlap of the sLORETA solutions between SEEG and HD-EEG. The 10 µV threshold of SEEG activation (selected based on visual aspection) identified the “highly activated” channels and the SEP value of 10 µV was also highly statistically significant in all cases (tested against the prestimulus baseline values of the SEEG SEP from the interval [− 0.25, − 0.10] s, P < 0.001, Wilcoxon rank sum test, FDR corrected).

The parameter that correlated most and significantly (Pearson correlation, P < 0.05, FDR corrected) with the ESI localization errors was the distance from the HD-EEG source to the “most activated” SEEG contact (Fig. 5G). From the plot of the localization error of ECD (Fig. 5G, middle row), it could be speculated that the position of the dipole is the same as the position of the SEEG contact with maximal amplitude. Thus, we computed explicitly the distance between the dipole and the SEEG contact with max. amplitude: mean (± SD) distance was 0.8 ± 0.5 cm (range: 0.1–1.8 cm, median 0.7 cm).

Somewhat less correlated was the distance from HD-EEG source to the SEEG contact with the maximal SNR (Fig. 5H). Even less correlated was the distance from the HD-EEG source to the nearest SEEG contact. However, it should be noted that the HD-EEG source-distance to the “most activated” SEEG contact was highly correlated with the distance to the maximal SNR contact (correlation coefficient R = 0.87, P < 0.001), as well as with the distance to the nearest SEEG contact (R = 0.81, P < 0.001). In other words, the SEEG contacts that were most active, also typically, had the maximal SNR and were often closest to the source. Rather surprisingly, the other parameters were not significantly correlated (see Discussion).

Fig. 5
figure 5

Correlations of ESI accuracy and overlap with 8 different parameters of SEEG recordings. Rows represent the ESI results (Y-axes): first row—sLORETA localization error (blue dots), second row—ECD localization error (purple diamonds), third row—sLORETA spatial overlap between HD-EEG and SEEG sLORETA localizations (green stars) (third row). Columns represent the 8 different parameters of SEEG recordings (X-axes): A number of contacts and B number of different electrodes with activity above 10 µV at the time of ESI computation, C maximum amplitude (in absolute value) and D SNR of the SEEG signal at the time of ESI computation, E the spatial conditioning ratio of the SEEG contacts around the HD-EEG source, and distances from the HD-EEG source to F the nearest SEEG contact, G the most activated SEEG contact and H the SEEG contact with maximal SNR. Red stars indicate significant (P < 0.05, FDR corrected) Pearson correlation coefficients R (in red above each plot). Only the 16 cases with visually distinguishable SEPs (left from dashed red line in Fig. 3) were selected for statistical evaluations here. All values were taken at the time of ESI computation. The localization error correlated most with the distance from the HD-EEG source to the most activated SEEG contact

Changes in ESI After SEEG Electrode Rejection

To further investigate the role of the distance from the HD-EEG source to the most activated SEEG contact, we recomputed the ESI after omitting selected electrodes (Fig. 6). In the first round, we excluded one electrode with the most activated SEEG contact. In the second round, we rejected a second electrode with the next most activated SEEG contact. The ESI results for the different rejections were statistically evaluated by a sign test over the 16 SEP stimulation sites (left from the dashed line in Fig. 3) at the significance level P = 0.05 (FDR corrected).

Although after each rejection round, the ESI solution generally deteriorated (i.e., the overall localization error increased for both the sLORETA and the ECD, and the spatial overlap decreased), the differences were not significant (with the exception of the spatial overlap, which decreased significantly after rejection of two electrodes (Fig. 6A, lower plot)). This rather surprising lack of differences in localization errors after electrode rejection leverages the potential of SEEG-based ESI. Importantly, after each SEEG electrode rejection round, we found a strong and significant (P < 0.05, FDR corrected) correlation between the ESI results and the distance from the HD-EEG source to the most activated SEEG contact (Fig. 6B, C). Note that the distance from the HD-EEG source to the SEEG contact always changed in each rejection round of the electrode with the most activated contact. These results further underline the importance of the distance to the most activated contact for successful inverse solution based on SEEG signal.

Fig. 6
figure 6

ESI localizations after SEEG electrode rejection. We compared ESI for different SEEG electrode sets: the full set of SEEG contacts (all electrodes), rejection of one electrode with the most activated contact (reject 1), and rejection of two electrodes with the most activated contacts (reject 2). A ESI results: localization errors for sLORETA (top), ECD (middle) and spatial overlap (bottom). In each box-plot, the box indicates the interquartile range (IQR) of the localization error across the 16 stimulation sites, the median is marked by a red, horizontal line inside the box, the whiskers indicate 1.5-times the IQR. Significant differences (sign test between the 16 values, P < 0.05, FDR corrected) are indicated by stars. Correlations between the ESI results (Y-axes) and the distance from HD-EEG source to the most activated SEEG contact (dA) in the various SEEG electrode sets: B reject 1, C reject 2. One outlier value was rejected for ‘reject 1’. Significant correlation coefficients R (P < 0.05, FDR corrected) are indicated by red stars and bold font

Distance Between the Most Activated Contact and the SEEG Source

Another important question is how far from the electrodes is the source estimated from the SEEG? In the 11 best cases (Fig. 3), where the ESI yielded reliable results (i.e., localization error < 1.6 cm), the average distance from the SEEG source to the nearest SEEG contact was 0.8 ± 0.2 cm (range 0.2–2.0 cm) for the sLORETA and 0.5 ± 0.1 cm (range 0.1–1.1 cm) for the ECD ESI. This indicates that-under certain conditions—the SEEG-based source localization may yield reliable results beyond the immediate vicinity of the electrode contacts.

To gain a further insight into the relationship between the reconstructed SEEG source location and measured SEEG potential at the contacts, we investigated the potential distribution as a function of the distance from the reconstructed source (supplementary figure S6). Hypothetically, in case of very focal activations, we should see only a single peak at a certain distance from the source. However, the vast majority of the 16 cases show a multimodal, broad and rather complex distribution of the SEEG potential at multiple electrodes. We also detail three selected cases in supplementary figures S7–S9, showing how the SEEG source localization changed based on the electrode rejection.

During detailed checking of the localization results from the SEEG, we noticed an inverse relationship between the distance from the SEEG source to the most activated SEEG contact and the amplitude of the most activated SEEG contact: highly activated SEEG contacts had shorter distance to the reconstructed SEEG source than weakly activated ones. For example, if the SEEG SEP on the most activated contact was above 50 µV (a highly activated contact), then the source location reconstructed from the SEEG was only a few millimeters from that contact. On the contrary, if the SEEG SEP on the most activated contact was below 10 µV (a weakly activated contact), then the location of the SEEG source was further away (a few centimeters). To verify this observation, we plotted the distances from the SEEG sources to the SEEG contacts with maximal amplitude (i.e., the absolute value of the SEP) as a function of the maximum SEEG amplitude value itself (Fig. 7). In this analysis, we also included the data from the SEEG electrode(s) rejection, because there the ESI was recomputed after excluding the contact with the previous maximal amplitude. We found a nonlinear relationship between the amplitude and the distance, which could be fit well by a low-order rational function in the form of y = p/(x + q), with R-square = 0.32 and for the sLORETA (Fig. 7A) and 0.28 for the ECD (Fig. 7B). The P-values of the fits were statistically highly significant (P < 0.001).

This means that for higher amplitude values, the distance of the reconstructed SEEG source was shorter from this SEEG contact, and vice versa. Notably, these results are only based on the SEEG measurements and ESI, independent of the source locations defined by the HD-EEG.

Fig. 7
figure 7

Distance of SEEG sources to high-amplitude contacts. Dependency of distance from SEEG source (SSEEG) to the contact with maximal amplitude (CAmp) (Y-axis) on the value of that amplitude (X-axis). The SEEG amplitude was defined here as the absolute value of SEP. We selected a simple rational function to fit the data, y = p/(x + q). Source reconstructions from A sLORETA algorithm (p = 27, q = 6, N outliers = 2) and B ECD algorithm (p = 36, q = 12, N outliers = 1). In both cases, the fitted curves were able to explain a large portion of variance in the data (P < 0.001). The highly activated SEEG contacts influenced the inverse solutions from SEEG ESI more than weakly activated contacts

Discussion

In this study, we investigated the possibility of localizing neural sources from SEEG recordings of SEP as a physiological response. The source localization of SEEG from 20 epilepsy surgery patients using sLORETA and ECD was compared to high-density EEG sLORETA results, representing the “ground truth” source location.

Summary of the Main Results

We show that under certain conditions, SEEG can reliably identify the onset source. Our main results can be summarized as follows: (i) SEEG sources (the results of the inverse solutions) can be localized beyond the SEEG contacts, (ii) SEEG ESI can lead to similar results to surface HD-EEG when the SEEG electrodes recorded sufficient information (e.g. distinguishable from the background activity), (iii) shorter distance (below 2 cm) of the most activated SEEG contacts from the putative “ground truth” source correlated with lower localization error, and (iv) unduly activated SEEG contacts influenced the localization of the SEEG source towards that contact.

A weak point in most ESI studies based on iEEG recordings is their low sample size (i.e. the rather low number of reported patients). Several studies are restricted to single case reports (Caune et al. 2014; Dümpelmann et al. 2012; Le Cam et al. 2017; Zhang et al. 2008). Also others used a rather low sample size: N = 3 (Yvert et al. 2005), N = 8 (Lin et al. 2021), however, with notable exceptions: N = 14 (Ramantani et al. 2013, 2014), N = 25 (Alhilani et al. 2020). Here we reported source reconstructions from 42 stimulation sites (stimulation on both wrists of 20 patients, where one patient was implanted twice). For the detailed analysis (Figs. 5, 6 and 7), 16 stimulation sites from 14 different patients were taken into account.

Determinants of SEEG ESI Localization

We achieved localization errors below 16 mm, a value often reported as a reliable source reconstruction result (Dümpelmann et al. 2012), in about 50% (11/24 stimulation sites) for sLORETA, 38% (9/24) for ECD and a spatial overlap larger than 50% in more than half (14/24) of investigated cases (Fig. 3). Overall, we observed a wide range of localization errors, from 0.4 to 10 cm (Fig. 3), presumably because of the substantial spatial heterogeneity of the SEEG implantations, which were solely based on clinical indication and not for the purpose of this study. While such heterogeneity is an inherent limitation to most SEEG studies hampering the inter-subject comparison (Lin et al. 2021), it can also be an advantage in correlation analysis for verifying which parameters of the SEEG recording are contributing to the ESI results; the primary aim of this study.

Proximity of the SEEG Contacts to the Reconstructed Source

Interestingly, nearly all the studies on iEEG-based ESI arrived at a similar conclusion that the iEEG-based ESI only yields good results, if the recording electrode contacts are “sufficiently” close to the source-typically only a few centimeters (Dümpelmann et al. 2009, 2012; Caune et al. 2013; Chang et al. 2005; Le Cam et al. 2014; Hosseini et al. 2018). In the ECoG, reliable reconstructions (< 1.5 cm) were possible only if the sources were close to the recording electrode contacts (Dümpelmann et al. 2012). Sources further from the electrodes and/or more distributed sources were rather poorly localized as to their spatial extent (Cosandier-Rimele et al. 2017). Todaro and colleagues showed that localization error increased linearly with distance from the electrodes (Todaro et al. 2019). Similarly in SEEG, Le Cam and co-workers reported reliable localizations (< 1 cm) if the close contacts were less than 2.5 cm away from the source (Le Cam et al. 2014). In a recent study, Lin and colleagues showed that the SNR of estimated neural currents strongly depended on the distance from the electrode contact location (Lin et al. 2021).

In line with these studies, we also observed a strong linear relationship between the SEEG ESI localization error and (i) the distance from the HD-EEG source to the most activated SEEG contact (Fig. 5G) or (ii) the distance from the HD-EEG source to the SEEG contact with maximal SNR (Fig. 5H). The added value here is that this is-to the best of our knowledge-the first confirmation of such a relationship based on physiological responses in a larger cohort of patients and not on numerical simulations.

In addition, we show that unduly activated SEEG contacts (i.e., highly activated relative to other contacts) were closer to the reconstructed SEEG ESI sources more than weakly activated contacts (Fig. 7). Thus, an interesting scenario to explore in future studies, would be to have balanced activity on multiple SEEG electrodes.

The Number of SEEG Contacts/Electrodes

Previously, the number of contacts to be used for a successful ESI from SEEG was investigated by Caune et al., who suggested that the quality of localization may be influenced by two factors: (1) using as many electrodes as possible and (2) as close as possible (Caune et al. 2014). Although the presumption that the higher the number of contacts/electrodes the better the source reconstruction seems evident, here neither the number of “highly activated” contacts nor the number of different electrodes with “highly activated” contacts yielded a significant correlation with our ESI results (Fig. 5A, B). Here, the “highly activated” contacts were defined as those with a clearly distinguishable signal (i.e., > 10 µV) from the prestimulus baseline period (see Materials and Methods, Sect. Extracted Variables from the SEEG). We speculate that the inverse relationship between the SEEG amplitude and the distance of the SEEG source from the electrodes (Fig. 7) could explain the lack of correlation between the number of “highly activated” contacts or electrodes and the ESI accuracy (Fig. 5A, B): if a few contacts of one electrode were substantially more activated, then the role of the other contacts would be marginal (“shielded” by the highly activated contacts).

The Value of Maximal SEEG SEP Amplitude/SNR

We also investigated correlations between the ESI results and maximal amplitude (i.e., the absolute value of the SEP potential) or the maximal SNR in SEEG electrode contacts. In particular, SNR is a parameter that is frequently manipulated in simulation studies (Liu et al. 2005), where the signal is typically a mixture of a dipole signal and noise. For example, Caune et al. selected two different noise amplitudes and found significantly worse source reconstructions for the lower SNR (Caune et al. 2014). In our study, neither the maximal SNR nor the maximal amplitude of the SEEG SEP in each dataset correlated significantly with the localization error (Fig. 5C, D). This lack of correlation suggests that the values of SNR (or amplitude) themselves is not predictive of the ESI accuracy, but that the geometrical aspects (the distances of the SEEG electrode contacts to the source or the arrangement of the SEEG electrode contacts around the source) play a critical role.

The Spatial Conditioning Ratio

Another parameter implicated to play a role in SEEG-based source reconstructions is the spatial conditioning ratio (Le Cam et al. 2019). Spatial conditioning quantifies a spatial balance of the implanted SEEG electrode contacts. For example, spherically distributed contacts around the putative source yield a value of the spatial conditioning ratio equal to 1, and high values for near-to-planar spatial arrangement of electrodes. The intuition behind this analysis is that a well-conditioned spatial arrangement (e.g., when the source is surrounded by a cloud of sensors) should yield better ESI results than a poorly conditioned one. In our ESI results, we observed decreasing localization accuracy with increasing spatial conditioning ratio, albeit not significant (Fig. 5E). Interestingly, in the aforementioned study of Le Cam et al., the authors showed that in the presence of noise, the ESI results were actually better for the spatial conditioning ratio in the range of 2–3 than in the range of 1–2. In our study, the spatial conditioning ratio ranged between 1.3 and 2.2 (Fig. 5E). A future study could attempt to combine the purely geometrical aspect, reflected by the spatial conditioning ratio, with the observed activations at the SEEG electrode contacts (for example by taking into account only the significantly activated SEEG contacts).

Limitations of Our Study

The main limitations of our study are discussed below.

Nonsimultaneous HD-EEG and SEEG Recordings

The HD-EEG and SEEG data were not acquired simultaneously, due to technical reasons, as the HD-EEG cap could not be worn after implantation of the SEEG electrodes. However, localization of the neural generator of the SEP response is considered to be consistent and reproducible over time (Schaefer et al. 2002).

Uncertainty in Location of the “ground truth” Source of SEP

Another limitation of our study is the localization of the putative source estimated with sLORETA from the HD-EEG (the “ground truth” location) to which the results from the SEEG ESI were compared. Estimates of localization error of sLORETA are in the range of 10–20 mm (Bradley et al. 2016; Liu et al. 2005). Such an uncertainty must be taken into account when interpreting our results. To address this issue, we added noise to the localization error (Y-axes) in Fig. 5, which effectively modified the HD-EEG source-distance. The noise was drawn from a normal distribution (width equal to 20 mm at 3 sigma). We repeated this random noise addition to localization errors 100 times. Despite the added noise, we were able to reproduce the significant correlations between the distance from the HD-EEG source to the SEEG source and distance from the HD-EEG source to the most activated SEEG contact (cf. Fig. 5G) both for ECD (R = 0.84 ± 0.01, mean ± SEM over the 100 repetitions, FDR-corrected P < 0.05 in 100% of the repetitions) and also for sLORETA (R = 0.63 ± 0.01, FDR-corrected P < 0.05 in 50% of the repetitions).

There are also other methods for putative source estimation, such as localization based on visual detection of a-priori well-known source positions in post-central sulcus, fMRI, direct cortical stimulation (DCS) or intraoperative recording of the SEP. However, some of these methods suffer from similar uncertainty in the source localizations, e.g. visual localization (Branco et al. 2003; Towle et al. 2003) or fMRI-based localization (Hammeke et al. 1994; Lascano et al. 2014). The DCS or intraoperative recordings of SEP were not exploited in our study, because the DCS did not evoke sensory responses in all patients, or not all patients underwent intraoperative recordings of SEP.

Sparse Electrode Coverage Near the Putative Source

Another drawback of this study, especially when transferring our results to clinical localization of epileptogenic networks, is the sporadic placement of SEEG contacts relative to the putative source, contrasting with the targeted placement in most of epilepsy implantations (Lie et al. 2015). Thus, to better generalize, a larger number of dense SEEG implantations around the putative source would be required.

Average Reference in iEEG Signals

In an ideal scenario, the reference channel would have a constant, null potential, which is, however, physically impossible, as there is no such point on the body (Nunez and Srinivasan 2006). Here, the iEEG signals were recorded against a reference channel located in the white matter and then re-referenced to their common average (i.e., mean over all non-rejected iEEG channels), similar to, for example, (Alhilani et al. 2020; Caune et al. 2014; Satzer et al. 2022). In fact, the common average reference is an “inbuilt” feature in Brainstorm toolbox computed prior to source localization and we employed the common average reference also in other data analysis (e.g., Fig. 5), for the sake of consistency. The common average reference signal in iEEG is, generally, due to its inhomogeneous sampling not zero, which could influence some of our results, for example in determining the iEEG contact with maximal amplitude. However, we believe that the impact was rather small, also due to averaging over a large number of electrodes relatively far from the SEP source and averaging over a large number of the SEP trials in each patient. In particular, we computed the mean amplitude A (i.e., the absolute value of the 10–30 Hz filtered signal at the time of the ESI computation prior to the average re-referencing) of the used SEEG channels and of their common average. The common average reference (ACAR = 1.3 ± 0.2 μV, mean ± SEM over the 24 cases with contralateral stimulation) was substantially smaller than the average amplitude of the SEEG contacts (ASEEG = 3.0 ± 0.5 μV, with a significant difference in distribution over the subjects: P = 0.01, Wilcoxon rank sum test), and on the order of magnitude smaller than the amplitude of the most activated iEEG contact (AMAX = 18.9 ± 5.6 μV). The choice of reference electrode contact, reference montage and offline referencing has been subject to a long term debate (Hu et al. 2018; Mercier et al. 2022; Nunez et al. 1997; Yao et al. 2019). In iEEG clinical practice, the use of bipolar reference montage is very popular, but comes at the expense of potential subtraction of a distant source having the same impact on the electrode contact pair. Thus, other approaches were suggested to eliminate the influence of the reference electrode to facilitate results interpretation (Hu et al. 2008; Li et al. 2018; Madhu et al. 2012; McCarty et al. 2022).

SEP as Testbed for SEEG ESI

The SEP itself is a largely simplified setup, not well representative of complicated scenarios in real-world recordings with multiple active sources in the brain. We purposefully selected the early responses of the SEP after median nerve stimulation, because the early SEP responses have a well defined source location in the primary somatosensory cortex in postcentral gyrus (Hari and Forss 1999; Lascano et al. 2014). The well defined and a-priori known source location allowed us to check the validity of our results, especially in localizing the putative source estimated from the HD-EEG. On the other hand, the direct applicability of our results is limited to cases where a strong single source is present.

Choice of Frequency band

We used the frequency band between 10 and 30 Hz for SEP preprocessing (both for SEEG and HD-EEG). However, the frequency spectrum of SEP is much richer (Cheron et al. 2007), especially in the SEEG. In fact, there is no consensus on the proper choice of frequency band of SEP for ESI analysis in the literature. For example, other studies used different filter settings: 0.1–60 Hz (Christmann et al. 2002), 1–500 Hz (Towle et al. 2003), or 20–500 Hz (Grimm et al. 1998). Here we selected the 30 Hz upper bound of out band-pass filter for three reasons: first, we wanted to make sure that the 50 Hz line noise does not affect our results; second, the amplitudes of such high-frequency oscillations decrease due to the 1/f power law typical for EEG (Miller et al. 2009); third, we argue that the activity in frequencies above 30 Hz would cancel-out (or largely attenuate) in the averaged SEP, because the phases of such high-frequency oscillations would not be aligned with respect to the stimulus. The 10 Hz lower bound was set similar to other studies (Houzé et al. 2011; Lascano et al. 2014).

Choice of Localization Methods

In our study, we compared two different localization methods: (1) the underdetermined, spatially distributed sLORETA and (2) the overdetermined ECD. Both algorithms converged to similar solutions: the source localization errors for the sLORETA and ECD were highly correlated (Pearson correlation coefficient R = 0.96). Whether sLORETA or ECD are optimal for SEEG ESI, is an open question. The spatial coverage of SEEG differs considerably from scalp EEG or MEG, where ESI is commonly used. While scalp EEG electrodes (or MEG sensors) are relatively evenly distributed on the head surface, SEEG electrodes are collinear and uniquely distributed deep inside the brain around specific regions of interest. In scalp EEG, the sLORETA is widely used for its depth-weighing attribute and the spatial extent of the sLORETA inverse solution depends on these regularization parameters. While here we simply used the default settings in Brainstorm (Tadel et al. 2011), a future study could address their influence on the spatial overlap of the sources.

Future Directions

In future studies, it would be interesting to, not only, investigate the spatial locations of the sources, but also, to reconstruct the time-courses of the activations at these locations (Lin et al. 2021). Further possibilities to improve SEEG-based localization could be to restrict the source space to gray matter only (Le Cam et al. 2019) or exploit the finite element method (FEM) in construction of the forward model (Caune et al. 2014). Additionally, investigating more than a single generator of the neural activity would be valuable. Further pivotal research in SEEG-based ESI, would be to investigate in more detail the spatial arrangement of SEEG electrodes, especially in cases where multiple activated electrodes are surrounding the source. In SEEG studies with epilepsy patients, for ethical reasons, the positions of the electrodes must be guided by the needs of the clinical evaluation. Hence, animal models will be invaluable for exploring the effects of different spatial arrangements of electrodes (Todaro et al. 2019).

Conclusions

SEEG-based ESI has far-reaching potential to change the way neural sources are localized, and may result in a shift from the current electrode contact-based analysis to computational source localizations. Several recent studies have brought encouraging results in this direction (Alhilani et al. 2020; Satzer et al. 2022) and here we add evidence that a successful localization of physiological neural sources (such as the SEP) from SEEG is feasible. On the other hand, the clinical applicability seems currently to be further limited to cases in which there is an appropriately proximate clinically-determined implant scheme. By investigating the conditions which determined the success of the localization, we confirmed that it is still desirable to have the contacts as close to the source as possible.