Time frame: From enrollment until the end of the admission for each patient (the admission is typically 7-14 days in duration).
Three epilepsy interictal biomarkers will be examined: Interictal epileptiform discharges (IEDs), pathologic ripples (PRs), and high-frequency oscillations (HFOs). Each is recorded from intracranial field potential recordings (also 'intracranial electroencephalography' or iEEG). IEDs can also be recorded from scalp EEG where this is available (it is typically not recorded during iEEG studies). These features of the intracranial EEG will be measured at baseline, during sham TIEFS, and during active TIEFS.
The primary outcome is the change in the number of IEDs during the baseline, sham, or active TIEFS periods. The secondary outcome is the number of PRs and HFOs during these periods.
Semi-automated detection of IEDs, PRs, and HFOs will be performed using the freely available and validated AnyWave software ( INSERM and Aix-Marseille University) and its 'Delphos' detector. IEDs, PRs, and HFOs rates per minute will be determined.