Full text
59,423 characters
· extracted from
preprint-html
· click to expand
Automated estimation of frequency and spatial extent of periodic and rhythmic epileptiform activity from continuous electroencephalography data | medRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P4HH5NV'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search Automated estimation of frequency and spatial extent of periodic and rhythmic epileptiform activity from continuous electroencephalography data View ORCID Profile Alexandra-Maria Tăuţan , Jin Jing , Lara Basovic , View ORCID Profile Peter N. Hadar , View ORCID Profile Shadi Sartipi , View ORCID Profile Marta P. Fernandes , View ORCID Profile Jennifer Kim , View ORCID Profile Aaron F. Struck , View ORCID Profile M. Brandon Westover , Sahar F. Zafar doi: https://doi.org/10.1101/2025.05.29.25328582 Alexandra-Maria Tăuţan 1 Massachusetts General Hospital/Harvard Medical School, Department of Neurology, Value Based Health Care Center, Neurology Comparative Effectiveness Research Lab , Boston, MA 02114, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Alexandra-Maria Tăuţan For correspondence: atautan{at}mgh.harvard.edu Jin Jing 2 Beth Israel Deaconess Medical Center/Harvard Medical School, Department of Neurology, Clinical Data Animation Center , Boston, MA 02215, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Lara Basovic 1 Massachusetts General Hospital/Harvard Medical School, Department of Neurology, Value Based Health Care Center, Neurology Comparative Effectiveness Research Lab , Boston, MA 02114, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Peter N. Hadar 1 Massachusetts General Hospital/Harvard Medical School, Department of Neurology, Value Based Health Care Center, Neurology Comparative Effectiveness Research Lab , Boston, MA 02114, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Peter N. Hadar Shadi Sartipi 1 Massachusetts General Hospital/Harvard Medical School, Department of Neurology, Value Based Health Care Center, Neurology Comparative Effectiveness Research Lab , Boston, MA 02114, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Shadi Sartipi Marta P. Fernandes 1 Massachusetts General Hospital/Harvard Medical School, Department of Neurology, Value Based Health Care Center, Neurology Comparative Effectiveness Research Lab , Boston, MA 02114, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Marta P. Fernandes Jennifer Kim 3 Yale University School of Medicine, Department of Neurology , New Haven, CT 06510, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Jennifer Kim Aaron F. Struck 4 University of Wisconsin-Madison, Department of Neurology , Madison, WI 53705-2281, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Aaron F. Struck M. Brandon Westover 2 Beth Israel Deaconess Medical Center/Harvard Medical School, Department of Neurology, Clinical Data Animation Center , Boston, MA 02215, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for M. Brandon Westover Sahar F. Zafar 1 Massachusetts General Hospital/Harvard Medical School, Department of Neurology, Value Based Health Care Center, Neurology Comparative Effectiveness Research Lab , Boston, MA 02114, USA Find this author on Google Scholar Find this author on PubMed Search for this author on this site Abstract Full Text Info/History Metrics Supplementary material Data/Code Preview PDF Abstract Background and purpose Rhythmic and periodic patterns (RPP) are harmful brain activity observed on continuous electroencephalography (cEEG) recordings of critically ill patients. The presence of RPPs at higher frequencies and on a larger scalp area (spatial extent) are associated with a higher probability of poor outcomes. This work describes automatic methods for detection of the frequency and spatial extent of specific RPPs: lateralized and generalized rhythmic delta activity (LRDA, GRDA) and lateralized and generalized periodic discharges (LPD, GPD). Methods The frequency and spatial extent of RPPs is estimated using signal processing techniques combined with rule-based logic. The validation of the algorithms was performed on a total of 1087 cEEG segments. The annotations of three expert neurophysiologists for event frequency and spatial extent were considered the gold standard for the evaluation of the algorithm output. The inter-rater reliability (IRR) is evaluated for the assessment of performance. Results The selected algorithms match or exceed the agreement of experts on the frequency and spatial extent of RPP segments. RDA1b-FFT (Fast Fourier Transform), the best algorithm for rhythmic delta activity, showed an expert-algorithm IRR ranging from a good to excellent intra-class correlation coefficient (ICC) of 66-96%, whereas the expert-expert IRR ranged from 60-92%. The best algorithm for periodic discharges, PD2a, showed an expert-algorithm IRR ranging from ICC of 13-80%, whereas the expert-expert IRR ranged from 13-86%. Conclusions The proposed algorithms for estimating frequency and spatial extent of rhythmic and periodic patterns match expert performance and are a viable tool for large-scale cEEG analysis. Highlights Rhythmic and periodic epileptiform activity are harmful electroencephalographic (EEG) patterns observed in critically ill patients and are associated with poorer outcomes particularly at higher frequencies and spatial extent Automatic estimation of frequency and spatial extent would allow large scale EEG studies linking physiological patterns to treatments and outcomes We developed algorithms for the automatic quantification of frequency and spatial extent of epileptiform activity that match the performance of human annotators 1. Introduction The last two decades have seen a significant increase in continuous electroencephalography (cEEG) utilization in the critical care setting [ 1 ]. cEEG is used for detection of seizures and other seizure-like rhythmic and periodic epileptiform patterns (RPPs) in at risk critically-ill and comatose patients [ 2 ], [ 3 ]. In addition to seizure detection, cEEG is also used for prognostication in patients with severe brain injuries and for detection of cerebral ischemia [ 4 ], [ 5 ], [ 6 ]. Up to half of critically-ill patients undergoing cEEG monitoring are found to have seizure-like RPPs that do not fall under the definition of seizures [ 7 ]. The American Clinical Neurophysiology Society (ACNS) proposed terminology to harmonize the interpretation of rhythmic and periodic patterns both for clinical care and research [ 8 ]. Periodic discharges are defined as repetitive waveforms with clear inter-discharge background activity occurring at regular intervals. Rhythmic delta activity is characterized by repetitive slower waves between 0.5-4Hz. ACNS further characterizes these patterns as lateralized or generalized periodic discharges (LPDs, GPDs) and lateralized or generalized rhythmic delta activity (LRDA, GRDA), and the ictal-interictal continuum (IIC). The IIC is defined as a combination of LPDs, GPDs or LRDA observed in 10 seconds of EEG recordings at specific frequencies and that do not qualify as seizures. Fig. 1 shows examples of lateralized and generalized periodic and rhythmic activity. Download figure Open in new tab Figure 1. Examples of Periodic and rhythmic patterns. A. Lateralized rhythmic delta activity (LRDA) with a blue arrow highlighting an example of an event. B. Generalized rhythmic delta activity (GRDA). C. Lateralized periodic discharges (LPD) with a blue arrow highlighting and example of an event. D. Generalized periodic discharges (GPD) RPPs and the IIC have been directly linked to higher likelihood of mortality and worse functional and cognitive outcomes in patients with acute brain injuries such as stroke and trauma [ 9 ], [ 10 ], [ 11 ]. In particular, higher frequency and spatial extent of these patterns are linked to worse outcomes [ 3 ]. The frequency of RPPs and spatial extent of brain regions involved have been associated with a monotonic increase in metabolic activity as demonstrated by metabolic and functional imaging and cerebral microdialysis analysis [ 12 ]. Several studies have shown that presence of LPDs, particularly at frequencies higher than 2Hz, is linked to an increased risk of seizures [ 13 ], [ 14 ] and increased mortality [ 15 ]. GPDs have shown an equivalent seizure risk to LPDs when present at frequencies higher than 1.5Hz [ 2 ]. LRDA has a similar frequency-dependent relation with seizures and worse outcomes [ 16 ], while GRDAs are the least harmful of the patterns with no association to seizure risks [ 13 ]. Hence both the frequency and spread of the pattern (lateralized or generalized) may be helpful in identifying patients at risk of a poorer outcome. Furthermore, precise localization of these patterns in particular lobes can indicate the underlying cause of the abnormal pattern. For instance, temporal RDAs (TRDA) can be an indication of focal epilepsy or of mesial temporal atrophy [ 17 ]. While RPPs and the IIC have been linked to worse outcomes, there is limited data to guide anti-seizure treatment approaches [ 2 ]. One of the major limitations in pursuing large-scale clinical research studies to examine the impact of anti-seizure treatment is the resource and labor-intensive task of manual review of hours of EEG signals collected in critical care settings. Furthermore, there are still controversies related to best treatment approaches, and their link to IIC patterns and outcomes [ 2 ]. Automatic methods of identifying RPPs and IIC patterns and estimating their frequency and spatial extent, can help with clinical patient monitoring as well as conducting research studies on large patient populations to identify links between treatments and outcomes. Prior work on the automatic annotation of EEG signals has focused primarily on classification of RPPs and IIC patterns [ 18 ], [ 19 ], [ 20 ], [ 21 ]. Several other works have examined the presence or frequency of RPPs but have been limited by sample sizes or restricted only to one pattern type and have not quantified spatial extent [ 18 ], [ 20 ], [ 22 ], [ 23 ], [ 24 ]. This work aims to advance state-of-the-art algorithms for frequency and spatial extent estimation of RPPs and IIC patterns by (i) proposing algorithms to calculate the frequency and spatial extent of LRDA, GRDA, LPD and GPD EEG segments, (ii) comparing agreement between the algorithm and expert EEG readers with the inter-rater agreement between experts in estimating the frequency and spatial extent of epileptiform patterns, (iii) proposing a validation framework for frequency and spatial extent estimations. 2. Methods 2.1. Dataset and annotation protocol This study was conducted under protocols approved by the institutional review boards of Massachusetts General Hospital (protocols #2023P000487, #2024P002630) and Beth Israel Deaconess Medical Center (protocols #2022P000481, #2022P000417), which waived the requirement for informed consent for this retrospective analysis. We used a dataset comprised of 10 second EEG recordings previously labelled as LPDs, GPDs, LRDAs, and GRDAs by 30 clinical experts trained in neurophysiology as described in Jing et al [ 25 ]. From the dataset, EEG segments were selected for further analysis of frequency and spatial extent based on degree of consensus on pattern classification. We selected segments where majority of annotators agreed on a single pattern type. A total of 296 LPD, 296 GPD, 210 LRDA and 285 GRDA segments were selected for further annotation of frequency and spatial extent. Each segment contained 19 raw EEG channels sampled at 200Hz. Annotations were conducted on 18 differential channels re-referenced to a longitudinal bipolar montage. Three clinical neurophysiologists (SFZ, PH, LB) performed independent annotations. Given the inter-rater reliability for classification in the original dataset was a moderate percent agreement of 52% [ 25 ], the three annotators initially reviewed the segments for pattern classification. Only those segments with 100% agreement on the classification between all three annotators were used for frequency and spatial extent analysis. A final set of 50 LRDA, 119 GRDA, 111 LPD and 109 GPD segments were selected for the performance evaluation of the frequency and spatial extent algorithms. As the developed algorithms are rule-based, no training set was needed. The labeling of the selected 10 second EEG segments was performed using a custom interface that allowed annotators to enter the frequency of the event and spatial extent (see Fig. A1 from the supplemental material). The reported frequency of event was the mean value observed within the 10 second segment. Spatial extent was reported as the number of channels that have events (0 – no channels showed an event, 1 – all 18 channels showed the event). 2.2. Frequency and Spatial Extent Detection An overview of the event detection algorithm is provided in Fig 2 . The initial 10s segment of the EEG recording was re-referenced to a longitudinal bipolar montage. A total of 18 differential channels are available. Preprocessing was performed by applying a 60Hz notch filter and a 0.5-40Hz bandpass filter [ 26 ]. Different algorithms were used for RDA and PD events as the information in these phenomena is encoded differently in the recorded EEG signals. RDAs are predominantly characterized by the frequency content of the repetitive waveforms, while PDs are characterized by morphology of the discharges in addition to their repetitive nature. Thus, we base methods for detecting frequency and spatial extent for RDAs on frequency domain transformations, whereas for PDs we base our algorithms on time domain signal processing. For spatial extent, each channel was analyzed individually. Several methods for RDA and PD detection are proposed and evaluated: RDA 1a-b – Fourier Transform based RDA 2 – Hilbert Huang Transform based PD 1 – Prior Detector - McGraw et al [ 22 ] PD 2a-b – Derivative Peak Detection based Download figure Open in new tab Figure 2. Overview of the methods applied for detecting frequency and spatial extent of epileptiform activity. Detection of PDs and RDAs are approached diKerently through several algorithms. PD – periodic discharges, RDA – rhythmic delta activity, FFT – Fast Fourier Transform, HHT – Hilbert Huang Transform. These algorithms are detailed in the following sections. The presence or absence of the event along with the corresponding frequency were obtained for each of the differential channels. The output of the algorithm was the median frequency of event across all channels, the spatial extent as a ratio between the number of channels with an event and the total number of channels, and the spatial areas defined based on the channels that show an event. 2.2.1. RDA Detection Three frequency-based methods were explored for detection of rhythmic delta activity. Schematics of the developed algorithms are illustrated in Fig. 3 . The first two, RDA 1a and RDA 1b, are variations based on the Fourier Transform of the EEG, while the third RDA 2 is based on the Hilbert-Huang Transform. Download figure Open in new tab Figure 3. Schematics of the three algorithm variations for the detection of rhythmic delta activity frequency and spatial extent. A.B. Detection methods based on the Fourier Transform; C. Detection method based on the Hilbert Huang Transform. RDA - Rhythmic delta activity, FFT – Fast Fourier Transform, HHT – Hilbert-Huang Transform, FOOOF – Fitting oscillations and one over f, PKs – adjusted power of peaks, F – center frequency, BW – peak bandwidth, IMF – Intrinsic Mode Function. 2.2.1.1. RDA1 - Fourier Transform Based The power spectral density (PSD) of the 10s EEG segment was calculated based on the Fourier Transform: where P is the power spectral density, F S is the sampling frequency, N the signal length, X [ k ] the Fourier transform of the discrete x [ n ], x [ n ] the input EEG signal, n the number of samples, k the frequency components. The PSD of the EEG is characterized by both periodic and aperiodic components [ 27 ]. In case of RDAs, the aim is to detect periodic components represented as narrow band peaks in the 0.5-4Hz range. The power spectrum of EEG data at low frequencies is characterized by a high power aperiodic (1/f like) component that overlaps with the target delta peaks and can compromise their detection. To address this challenge, a model fitting the aperiodic component as a Lorentzian function and the periodic components with Gaussians ( fooof ) as described by Donoghue et al [ 28 ] is applied: where L is the aperiodic component, G represents the Gaussian function and M the total number of Gaussians, b the broadband offset, χ the exponent, k the parameter controlling the bend of the aperiodic component, F the vector of frequencies, a is the peak power, F c is the center frequency and w is the standard deviation of the Gaussian. The output of the model provides the central frequency ( F c ), the aperiodic-adjusted power (PK) and the bandwidth ( BW ) of detected peaks. RDA1a-FFT The first RDA detection algorithm is described in Fig.2a . It takes the output of the fooof model and selects narrow band peaks by considering the condition BW ≤ 0.5.. If no peaks are detected or selected by applying the narrow-band condition, no RDA event is detected. If one or more peaks meet the condition, the frequency of event is considered as the mean central frequency of the detected peaks. RDA1b-FFT The second RDA detection algorithm is a variation of the first and is described in Fig.2b. Prior to applying the Fourier Transform, a channel selection is applied by identifying channels with invalid EEG data. Channels with corrupt EEG data are common in clinical recordings and can be caused by a variety of reasons such as motion artifacts, increased skin-electrode contact impedance or wire disconnections. The following condition is applied to identify channels with valid data: where σ 2 is the variance of the signal, max n x [ n ] - min n x [ n ] is the range of the signal, N is the signal length and μ is the mean. If the variance of the signal was not significant compared to the signal range, we conclude that the channel does not contain a valid EEG signal. If the channel did not contain valid EEG data, we conclude that no RDA was present. Channels with valid EEG data were further processed using fooof modelling as described previously. When selecting narrow band peaks representatives of RDA, selection was enhanced by considering the prominence of the peak with respect to the mean spectrum in the band of interest as an additional control. For each detected peak, P k , the band of interest was defined as: while the baseline frequency band is considered: A peak is selected when: where μ ik and μ 4 k is the mean power spectral density for the peak band of interest and baseline. If one or more peaks meet the conditions applied, the frequency of event was considered as the mean central frequency F c of the selected peaks. 2.2.1.2. RDA2 - Hilbert-Huang Transform Based The Hilbert-Huang Transform (HHT) is an effective tool for analyzing the time-frequency content of non- stationary and nonlinear data [ 29 ]. It has been successfully applied in the analysis of EEG data for a variety of tasks including movement identification [ 30 ], evaluating connectivity metrics [ 31 ] and mental imagery tasks [ 32 ]. The HHT is composed of two parts: empirical mode decomposition (EMD) and Hilbert spectral analysis (HSA). By applying EMD to the original signal x [ n ], a set of sub-signals c i [ n ] called Intrinsic Mode Functions (IMF) are obtained. The IMFs represent an adaptive orthogonal basis for the signal which can be described as: where r [ n ] is a residual component representing a trend or a constant. All IMFs satisfy two conditions: (i) the number of extrema and zero-crossings can differ by maximum one, (ii) the mean value of the upper and lower envelopes must be zero. The Hilbert Transform (HT) is applied to all IMFs to obtain their instantaneous frequencies [ 33 ]. The HT of the IMFs is calculated as follows: With the HT of the IMFs, the instantaneous amplitude and frequency can be obtained from the analytical signal by combining [ n ] and the original signal: The module of is the instantaneous amplitude: The instantaneous frequency can be obtained by deriving the phase of the analytical signal: The Hilbert Spectrum is characterized by both the instantaneous amplitude and frequency functions [ a i [ n ], f i [ n ]]. RDA2-HHT The third RDA detection algorithm is described in Fig. 2c . Valid EEG data was identified on the channel by applying the conditions identified in Eq. (6) . If there was corrupt EEG data, the channel was marked as having no RDA. If the data was valid, the HHT was applied by calculating the IMFs through empirical mode decomposition and obtaining the instantaneous frequencies through the Hilbert Transform. Not all information contained in the HSA is relevant to the detection of RDA components. Previous methods focused the selection of IMFs based on statistical properties, periodicity degree or information shared with the original signal [ 34 ], [ 35 ]. A series of conditions were applied to select relevant IMFs based on the statistical properties of their amplitude and instantaneous frequency content, as well as the proportion of the IMF amplitude with respect to the original signal: , where is the mean of the instantaneous frequency of c i , where is the standard deviation of the instantaneous frequency of c i , where is the maximum amplitude of c i , and its standard deviation If all the conditions were valid, the IMF is selected. The frequency of the RDA event was considered the mean of the instantaneous frequencies of all the selected IMFs. 2.2.2. PD Detection The detection of periodic discharges was approached through the identification of events in the time domain. We made use of the algorithm presented by McGraw et al [ 22 ] and integrated it into our event detection framework. Additionally, we proposed a new detection method by shifting the event detection to the first derivative of the EEG signal and applying two different peak detectors. 2.2.2.1. PD 1 - Prior PD detector McGraw et al [ 22 ] proposed an algorithm for LPD and GPD frequency of event and spatial extent detection. After pre-processing, a high-low percentile thresholding is applied on the time domain EEG signal to select peaks that are potential PDs. Fixed thresholds on the amplitude and absolute values are applied on the identified peaks to filter out false detections. Once peaks are identified for the entire recording, the spatial extent is calculated based on the global or local energy of the detected events and reported as the ratio with respect to the total number of channels. The frequency of the event is reported as the median inter-discharge interval frequency at the channel group level. 2.2.2.2. PD 2 - Derivative Peak Detection Based With the goal of reducing false detection rates, we developed an alternate PD detector with the initial event identification based on the first derivative of the EEG signal. An overview of the proposed detection method is available in Fig. 4 . Download figure Open in new tab Figure 4. Schematic of the derivative based PD (periodic discharges) detector algorithms. Two alternative algorithms are used for peak detection based on the signal derivative. Periodic discharges are often characterized by abrupt changes in the amplitude of the EEG signal. The derivative of a signal captures the rate of change in the original signal. Slopes in the original signal correspond to peaks of the first derivative. A higher rate of change in the original signal is reflected as a high amplitude peak in the first derivative. Thus, the detection of periodic discharges can be performed by detecting corresponding peaks in the first derivative of the EEG signal. The detection of peaks is essential in processing a variety of physiological recordings [ 36 ], however peak detection is challenging due to background noise and interference. To eliminate potential sources of interference and isolate the PD events from other EEG phenomena, several pre-processing steps were applied. First, the channel was evaluated for containing valid EEG data as described previously in Eq. (6) . Next, the signal was detrended by subtracting the mean and smoothed by applying a Savitsky-Golay 2 nd order polynomial filter on a 10-sample window [ 37 ]. Afterwards the first derivative of the EEG signal was computed. Two methods for peak detection were evaluated as described below. PD2a . The first makes use of local adaptive thresholds based on the statistics of the first derivative signal. A peak was identified when a local maximum is above a locally defined statistical based threshold within a 1 second sliding window as defined below: PD2b . The second peak detector explores the use of a z-score signal with peaks identified on a locally derived threshold: where z is the z-score of the signal in the defined 1 second window, μ F is the mean of the z-score signal, σ F is the standard deviation of the z-score signal. After applying either of the peak detectors, the peaks identified were further filtered based on the length of the intervals between the peaks. where I is the inter-peak interval, p k is the timing of peak k and K is the total number of peaks detected. A channel is considered to have PD events, if: More than one inter-peak interval is identified: K > 2 The detected inter-peak intervals are uniformly spaced with σ G < i , where σ G is the standard deviation of the I vector The inter-peak intervals were divided by the sampling frequency and the average was reported as the frequency of the event. 2.3. Evaluation method The gold standard for assessing frequency and spatial extent of LRDA, GRDA, LPD and GPD epileptiform activity were the manual annotations of EEG recordings by experienced clinicians. We evaluated the output of the proposed detection methods by comparing to manual annotations of the EEG segments by experts. We examined the inter-rater reliability between experts (ee-IRR) with the agreement between the algorithms and experts (ea-IRR). The annotations for the frequency and spatial extent of events as well as the output of the algorithms were evaluated through the intra-class correlation coefficient (ICC) [ 38 ]. Additionally, the continuous frequency and spatial extent data was categorized to allow reporting of mean percentage agreement (PA). The categorization was performed as follows: Frequency of event intervals: 3Hz Spatial extent intervals: 1-4 channels, 5-10 channels, 11-14 channels, 15-18 channels Inter-rater agreement for both ICC and PA were quantified as excellent if the values are 75% - ikk %, good for 6 k % - 74%, fair for 4 k % - 59% and poor for values < 4 k % [ 39 ]. The output of the algorithms was further evaluated by calculating the mean absolute error (MAE) between the annotated values and the calculated ones: where N is the total number of segments, y i is the annotated values, is the output of the algorithms. 3. Results The results for the ICC and mean PA between the annotators and the proposed algorithms are available in Fig.5 for RDA and Fig. 6 for PD. Download figure Open in new tab Figure 5. Intra-class correlation coeKicient (ICC) and mean pair-wise agreement (PA) between annotators and algorithms for LRDA and GRDA segments. The star indicates the best performing algorithm with an ea-IRR (expert-algorithm inter-rater reliability) that is higher when compared to ee-IRR (expert-expert inter-rater reliability). A. ICC for frequency of event. B. PA for frequency of event. C. ICC for spatial extent. D. PA for spatial extent. Download figure Open in new tab Figure 6. Intra-class correlation coeKicient (ICC) and mean pair-wise agreement (PA) between annotators and algorithms for LPD and GPD segments. The star mark indicates the best performing algorithm with an ea-IRR (expert-algorithm inter-rater reliability) that is comparable or better than ee-IRR (expert-expert inter-rater reliability). A. ICC for frequency of event.B.PA for frequency of event. C. ICC for spatial extent. D. PA for spatial extent. The IRR analysis shows that the output of the RDA1b-FFT algorithm is comparable to that of human annotators. The ea-IRR [95% confidence interval] ICC for RDA1b-FFT, was 91% [CI 85,94] and 96% [CI 94,97] for LRDA and GRDA respectively. The mean pair-wise agreement for LRDA was 60.66% [47,72]. RDA1b-FFT scored lower for GRDA with a difference of 0.3% from RDA1a-FFT. The highest algorithm ea-IRR for spatial extent was also obtained by RDA1b-FFT with an ICC 85% [CI 77,91] and 66% [CI 46,71] for LRDA and GRDA respectively, and a mean pair-wise agreement of 53% [CI 39,64] for LRDA. Spatial extent for GRDA was best for RDA2-HHT, ~2% higher than RDA1b-FFT. A detailed overview of the IRR analysis is available in Tables B1-2 from the supplementary materials. For calculating the frequency and spatial extent of PDs, the PD2a algorithm showed the highest performance within the same range as the performance of human annotators. The ea-IRR ICC for frequency of LPD and GPD segments, for algorithm PD2a was 80% [CI 73,85] and 61% [CI 47,72] and a mean pair-wise agreement of 54.95% [CI 45,63] and 72.78% [CI 74,88] for LPD and GPD respectively. The calculated spatial extent also showed the highest ea-IRR for PD2a with an ICC of 77 % [CI 70,84] and 13% [CI 17,37] for LPDs and GPDs respectively, with a percentage agreement of 43.20% [CI 34,52]. In supplemental Fig.C1-4 we show the relation of raw pair-wise agreement of the annotators and algorithms, as well as scatter plots of the annotated values for frequency and spatial extent. While the plots show a significant variation in the comparison of the algorithms’ output and the various annotators, the reported R 2 is consistently higher for RDA1b-FFT with respect to all annotators and in close range to the annotator-annotator R 2 when compared to the values for RDA1a-FFT and RDA2-HHT. Similarly, PD2a shows a consistently higher R 2 which aligns with the performance reported via ICC and PA. The mean absolute error between the mean value reported by the annotators and the outputs of each algorithm are shown in Table 1 . The mean absolute error for the entire dataset, including segments with rater disagreement on classification is available in Table B3 of the supplemental materials. RDA1b-FFT and RDA2-FFT had the lowest mean absolute error (0.13Hz) for LRDA frequency. RDA1a-FFT had the lowest mean absolute error (0.24Hz) for GRDA frequency. RDA2-HHT had the lowest mean absolute error (0.14) for LRDA spatial extent and RDA1b-FFT had lowest error (0.09) for GRDA spatial extent. PD2a had the lowest mean absolute error for LPD (0.41Hz) and GPD (0.15Hz) frequency, as well as the lowest error for LPD spatial extent (0.17). PD2b had the lowest mean absolute error for GPD (0.01) spatial extent. View this table: View inline View popup Table 1. MAE (mean absolute error) between the mean human expert annotated value and the algorithms for RDA (rhythmic delta activity) and PD (periodic discharges), along with their 95% CI. The lowest values for each event type are highlighted. Examples of the output from the best performing algorithms RDA1b-FFT and PD2a are shown in Fig. 7 . The left side displays the filtered EEG signals, with detected RDA channels marked in blue and detected PD events marked in red. The right side of the panel details the estimated frequency of event, spatial extent and spatial areas. Download figure Open in new tab Figure 7. Output of the frequency of event and spatial extent. The EEG channels evaluated are displayed on the left, while the algorithm outputs are listed on the right. A. PD2a - red colored EEG traces represent channels with detected periodic discharges (PD). B. RDA1b-FFT – blue colored EEG traces represent channels detected by the algorithm as containing rhythmic delta activity (RDA). 4. Discussion In this work we developed algorithms to estimate the frequency and spatial extent of epileptiform activity that perform comparably to human expert annotators. These algorithms can be applied to large neurophysiologic datasets for automated annotation of RPP frequency and spatial extent, after the classification into IIC patterns by specialized models [ 24 ]. The FFT-based methods designed for RDA segments scored similarly in terms of detection of event frequency, with little variation in corresponding ICC and PA. This is expected, as similar underlying frequency extraction methods are applied. Notably, RDA1a-FFT had lower performance in terms of spatial extent as compared to RDA1b-FFT that had an additional valid channel identifier. This underscores the importance of eliminating problematic EEG data and appropriately pre-processing the signals prior to applying detection algorithms. Across the frequency of event and spatial extent for rhythmic delta activity, the best performance was obtained by RDA1b-FFT. The RDA2-HHT had the lowest performance across the three algorithms. While the Hilbert-Huang Transform is a powerful method for representing frequency content, the rule-based selection of IMF and HSA components may introduce variability in the output across different data, potentially leading to reduced performance. In case of PD detection, the frequency estimation is dependent on correct identification of peaks in single EEG channels. PD2a achieved the highest performance in terms of ICC, PA and MAE. Applying peak detection to the first derivative of the EEG signal, rather than to the raw signal, led to improved event detection rates. PD2a utilized a locally computed threshold for peak identification, resulting in better performance compared to PD2b, which relied on a global threshold applied across the entire signal. Threshold-dependent detectors are highly sensitive to the empirically chosen threshold values. Depending on the characteristics of the data, this can lead to either over-detection of signal fluctuations or omission of relevant events. The MAE relative to the average human-annotated values ranged between 0.13-0.41Hz for the frequency of events detected by the best performing algorithms. These values fall within the estimation range reported by human-annotators, who typically use a maximum granularity of 0.25Hz to report event frequency. Overall, both the MAE and the ICC had greater variability for spatial extent with lower agreement both for the human annotators and for human-algorithm comparison. The MAE for the best performing algorithm ranged between 0.14-0.40 which translates to 3 to 7 channels out of 18 with missed detection. Spatial extent has shown an overall lower IRR for human annotators as well. The highest MAE of 0.40 for the spatial extent identified by PD2a was reported for the GPD segments. Although the algorithm performs poorly in detecting spatial extent for GPD segments, the spatial extent detection can be corrected by factoring in prior classification into generalized activity [ 24 ]. Handling of imbalanced data with skewed distributions is a well-known limitation of inter-rater reliability metrics such as the intra-class correlation coefficient [ 40 ], [ 41 ]. The distribution of spatial extent annotation for generalized activity is skewed towards 1 as most EEG channels are expected to be involved. This leads to an unexpectedly low ICC, while the PA shows an almost perfect agreement (see Fig. 5 and 6 ). The current state-of-the-art EEG annotating algorithms focus primarily on classification of RPPs and IIC patterns [ 18 ], [ 19 ], [ 20 ], [ 21 ]. Jing et al. [ 21 ] developed SPaRCNet - a deep neural network trained on more than 50000 ten second EEG segments labeled by multiple neurophysiologists to identify seizures, LPDs, GPDs, LRDAs, GRDAs and data that falls into neither of these classes. The performance of the model is in the same range as expert-level inter-rater agreement; however, it only indicates the classification of EEG segments into RPP and not their frequency or spatial extent. In this work, we have further expanded the characterization of these patterns in terms of frequency of events and spatial extent. Fürbass et al. [ 18 ] proposed a rule-based peak detection algorithm for identification of RDAs and PDs. While their output also includes frequency and spatial information their validation focused only on 10 patient cases where only the classification of patterns was compared to the neurophysiology report for accuracy. Here we have expanded the validation work by incorporating more than 300 EEG segments in the evaluation of the algorithms’ outputs. McGraw et al. [ 22 ] extended the identification of patterns with the automatic quantification of frequency and spatial extent of LPDs and GPDs while looking at changes in the energy of the time-domain signal with a sliding window. An agreement of above 90% was observed when three clinical experts evaluated the output of the quantification algorithm. While the overall agreement is high, when quantitatively evaluated against the frequency of the events and their spatial extent, the metrics showed a reduced performance. By applying a peak detector on the first derivative instead of the time domain signal, we have improved the results based on the quantitative evaluation. Several other works [ 23 ], [ 24 ] propose methods for the detection of periodic discharges, but do not include LRDA and GRDA activity and do not evaluate frequency and spatial extent. In this work, we have added to the state-of-the-art by also developing algorithms that target the quantification of LRDA and GRDA patterns. Our work has several limitations. The evaluation of algorithm performance was based on a limited number of LRDA, GRDA, LPD and GPD segments as we selected only those that had complete consensus on classification between the annotators. While this limits the number of segments, it allows greater accuracy in assessing the frequency and spatial extent. However, we demonstrate similar performance even when using the full dataset with classification disagreement as shown in Table B2 of the supplemental material. The annotation process involved only three human experts from a single medical facility. Since manual annotations were considered the ground truth, a degree of subjectivity is inherent in the evaluation. While we focused on creating adaptive data-driven methods for event identification, all presented algorithms rely to a certain extent on rule-based selection of events which may require additional validation when applied to other datasets. Integrating frequency and spatial extent estimation with deep learning models may enhance algorithm performance and improve the generalizability of results. Fine-tunning pre-trained neural network models with the LRDA, GRDA, LPD, GPD frequency and spatial extent annotations may result in a model with better performance and broader applicability. 5. Conclusions In this study, we proposed several methods for estimating the frequency and spatial extent of rhythmic and periodic epileptiform activity. Our findings indicate that RDA1b-FFT is the most effective for detecting frequency and spatial extent of rhythmic delta activity, while PD2a performs best for periodic discharges. Both methods demonstrated strong agreement with clinical neurophysiologists’ annotations, producing comparable estimates of event frequency and spatial extent. Funding This work was supported by grants from the NIH (R01NS131347, R01NS126282). Disclosures Dr. Westover is a co-founder, scientific advisor, consultant to, and has personal equity interest in Beacon Biosignals. Dr. Zafar receives publishing royalties from Springer and Wolters Kluwer. Data availability All data and code are available upon request to the corresponding author. List of abbreviations ACNS American Clinical Neurophysiology Society cEEG Continuous Electroencephalography CI Confidence interval ea-IRR expert-algorithm inter-rater reliability ee-IRR expert-expert inter-rater reliability EMD Empirical Mode Decomposition FFT Fast Fourier transform GPD Generalized periodic discharges GRDA Generalized rhythmic delta activity HHT Hilbert-Huang Transform HSA Hilbert Spectral Analysis HT Hilbert Transform IIC Intra-class correlation coefficient IMF Intrinsic Mode Function IRR Inter-rater reliability LPD Lateralized periodic discharges LRDA Lateralized rhythmic delta activity MAE Mean absolute error RDA Rhythmic delta activity RPP Rhythmic and periodic patterns PD Periodic discharges PA Pair-wise agreement References [1]. ↵ L. Rivera Lara and H. A. Püttgen , “ Multimodality Monitoring in the Neurocritical Care Unit ,” Contin. Minneap. Minn , vol. 24 , no. 6 , pp. 1776 – 1788 , Dec . 2018 , doi: 10.1212/CON.0000000000000671 . OpenUrl CrossRef [2]. ↵ S. F. Zafar , T. Subramaniam , G. Osman , A. Herlopian , and A. F. Struck , “ Electrographic seizures and ictal–interictal continuum (IIC) patterns in critically ill patients ,” Epilepsy Behav ., vol. 106 , p. 107037 , May 2020 , doi: 10.1016/j.yebeh.2020.107037 . OpenUrl CrossRef [3]. ↵ P. Vespa et al. , “ Metabolic crisis occurs with seizures and periodic discharges after brain trauma ,” Ann. Neurol ., vol. 79 , no. 4 , pp. 579 – 590 , Apr . 2016 , doi: 10.1002/ana.24606 . OpenUrl CrossRef PubMed [4]. ↵ B. Foreman et al. , “ Seizures and Cognitive Outcome After Traumatic Brain Injury: A Post Hoc Analysis ,” Neurocrit. Care , vol. 36 , no. 1 , pp. 130 – 138 , Feb . 2022 , doi: 10.1007/s12028-021-01267-4 . OpenUrl CrossRef PubMed [5]. ↵ H. Y. Baang et al. , “ The Utility of Quantitative EEG in Detecting Delayed Cerebral Ischemia After Aneurysmal Subarachnoid Hemorrhage ,” J. Clin. Neurophysiol ., vol. 39 , no. 3 , p. 207 , Mar . 2022 , doi: 10.1097/WNP.0000000000000754 . OpenUrl CrossRef PubMed [6]. ↵ G. M. De Marchis et al. , “ Seizure burden in subarachnoid hemorrhage associated with functional and cognitive outcome ,” Neurology , vol. 86 , no. 3 , pp. 253 – 260 , Jan . 2016 , doi: 10.1212/WNL.0000000000002281 . OpenUrl CrossRef PubMed [7]. ↵ J. X. Tao , X. Qin , and Q. Wang , “ Ictal-interictal continuum: a review of recent advancements ,” Acta Epileptol ., vol. 2 , no. 1 , p. 13 , Aug . 2020 , doi: 10.1186/s42494-020-00021-1 . OpenUrl CrossRef [8]. ↵ L. J. Hirsch et al. , “ American Clinical Neurophysiology Society’s Standardized Critical Care EEG Terminology: 2021 Version ,” J. Clin. Neurophysiol. Off. Publ. Am. Electroencephalogr. Soc ., vol. 38 , no. 1 , pp. 1 – 29 , Jan . 2021 , doi: 10.1097/WNP.0000000000000806 . OpenUrl CrossRef PubMed [9]. ↵ S. F. Zafar et al. , “ Automated Annotation of Epileptiform Burden and Its Association with Outcomes ,” Ann. Neurol ., vol. 90 , no. 2 , pp. 300 – 311 , Aug . 2021 , doi: 10.1002/ana.26161 . OpenUrl CrossRef PubMed [10]. ↵ H. Parikh et al. , “ Effects of epileptiform activity on discharge outcome in critically ill patients in the USA: a retrospective cross-sectional study ,” Lancet Digit. Health , vol. 5 , no. 8 , pp. e495 – e502 , Aug . 2023 , doi: 10.1016/S2589-7500(23)00088-2 . OpenUrl CrossRef [11]. ↵ E. T. Payne et al. , “ Seizure burden is independently associated with short term outcome in critically ill children ,” Brain J. Neurol ., vol. 137 , no. Pt 5 , pp. 1429 – 1438 , May 2014 , doi: 10.1093/brain/awu042 . OpenUrl CrossRef PubMed Web of Science [12]. ↵ A. F. Struck , M. B. Westover , L. T. Hall , G. M. Deck , A. J. Cole , and E. S. Rosenthal , “ Metabolic Correlates of the Ictal-Interictal Continuum: FDG-PET During Continuous EEG ,” Neurocrit. Care , vol. 24 , no. 3 , pp. 324 – 331 , Jun . 2016 , doi: 10.1007/s12028-016-0245-y . OpenUrl CrossRef PubMed [13]. ↵ V. Rodríguez , M. F. Rodden , and S. M. LaRoche , “ Ictal–interictal continuum: A proposed treatment algorithm ,” Clin. Neurophysiol ., vol. 127 , no. 4 , pp. 2056 – 2064 , Apr . 2016 , doi: 10.1016/j.clinph.2016.02.003 . OpenUrl CrossRef PubMed [14]. ↵ I. García–Morales et al. , “ Periodic Lateralized Epileptiform Discharges: Etiology, Clinical Aspects, Seizures, and Evolution in 130 Patients ,” J. Clin. Neurophysiol ., vol. 19 , no. 2 , p. 172 , Mar . 2002 . OpenUrl CrossRef PubMed Web of Science [15]. ↵ W. Fitzpatrick and N. Lowry , “ PLEDS : corrélations cliniques ,” Can. J. Neurol. Sci. J. Can. Sci. Neurol ., vol. 34 , no. 4 , pp. 443 – 450 , Nov . 2007 , doi: 10.1017/S0317167100007332 . OpenUrl CrossRef PubMed Web of Science [16]. ↵ N. Gaspard , L. Manganas , N. Rampal , O. A. C. Petroff , and L. J. Hirsch , “ Similarity of lateralized rhythmic delta activity to periodic lateralized epileptiform discharges in critically ill patients ,” JAMA Neurol ., vol. 70 , no. 10 , pp. 1288 – 1295 , Oct . 2013 , doi: 10.1001/jamaneurol.2013.3475 . OpenUrl CrossRef [17]. ↵ G. Di Gennaro et al. , “ Localizing significance of temporal intermittent rhythmic delta activity (TIRDA) in drug-resistant focal epilepsy ,” Clin. Neurophysiol. Off. J. Int. Fed. Clin. Neurophysiol ., vol. 114 , no. 1 , pp. 70 – 78 , Jan . 2003 , doi: 10.1016/s1388-2457(02)00332-2 . OpenUrl CrossRef [18]. ↵ F. Fürbass et al. , “ Automatic detection of rhythmic and periodic patterns in critical care EEG based on American Clinical Neurophysiology Society (ACNS) standardized terminology ,” Neurophysiol. Clin. Neurophysiol ., vol. 45 , no. 3 , pp. 203 – 213 , Sep . 2015 , doi: 10.1016/j.neucli.2015.08.001 . OpenUrl CrossRef PubMed [19]. ↵ J. Herta et al. , “ Prospective assessment and validation of rhythmic and periodic pattern detection in NeuroTrend: A new approach for screening continuous EEG in the intensive care unit ,” Epilepsy Behav ., vol. 49 , pp. 273 – 279 , Aug . 2015 , doi: 10.1016/j.yebeh.2015.04.064 . OpenUrl CrossRef PubMed [20]. ↵ B. J. Ruijter et al. , “ Treating Rhythmic and Periodic EEG Patterns in Comatose Survivors of Cardiac Arrest ,” N. Engl. J. Med ., vol. 386 , no. 8 , pp. 724 – 734 , Feb . 2022 , doi: 10.1056/NEJMoa2115998 . OpenUrl CrossRef PubMed [21]. ↵ J. Jing et al. , “ Development of Expert-Level Classification of Seizures and Rhythmic and Periodic Patterns During EEG Interpretation ,” Neurology , vol. 100 , no. 17 , pp. e1750 – e1762 , Apr . 2023 , doi: 10.1212/WNL.0000000000207127 . OpenUrl Abstract / FREE Full Text [22]. ↵ C. M. McGraw , S. Rao , S. Manjunath , J. Jing , and M. Brandon Westover , “ Automated quantification of periodic discharges in human electroencephalogram ,” Biomed. Phys. Eng. Express , vol. 10 , no. 6 , Sep . 2024 , doi: 10.1088/2057-1976/ad6c53 . OpenUrl CrossRef [23]. ↵ R. Janca et al. , “Detection of Interictal Epileptiform Discharges Using Signal Envelope Distribution Modelling: Application to Epileptic and Non-Epileptic Intracranial Recordings” . [24]. ↵ J. Jing et al. , “ Development of Expert-Level Automated Detection of Epileptiform Discharges During Electroencephalogram Interpretation ,” JAMA Neurol ., vol. 77 , no. 1 , pp. 103 – 108 , Jan . 2020 , doi: 10.1001/jamaneurol.2019.3485 . OpenUrl CrossRef PubMed [25]. ↵ J. Jing et al. , “ Interrater Reliability of Expert Electroencephalographers Identifying Seizures and Rhythmic and Periodic Patterns in EEGs ,” Neurology , vol. 100 , no. 17 , pp. e1737 – e1749 , Apr . 2023 , doi: 10.1212/WNL.0000000000201670 . OpenUrl Abstract / FREE Full Text [26]. ↵ A. Gramfort et al. , “ MEG and EEG data analysis with MNE-Python ,” Front. Neurosci ., vol. 7 , p. 267 , Dec . 2013 , doi: 10.3389/fnins.2013.00267 . OpenUrl CrossRef PubMed [27]. ↵ B. J. He , “ Scale-free brain activity: past, present, and future ,” Trends Cogn. Sci ., vol. 18 , no. 9 , pp. 480 – 487 , Sep . 2014 , doi: 10.1016/j.tics.2014.04.003 . OpenUrl CrossRef PubMed Web of Science [28]. ↵ T. Donoghue et al. , “ Parameterizing neural power spectra into periodic and aperiodic components ,” Nat. Neurosci ., vol. 23 , no. 12 , pp. 1655 – 1665 , Dec . 2020 , doi: 10.1038/s41593-020-00744-x . OpenUrl CrossRef PubMed [29]. ↵ N. Huang , Hilbert-Huang Transform and Its Applications, 2nd Edition ., vol. 16. in Interdisciplinary Mathematical Sciences , vol. 16 . Singapore : World Scientific Publishing , 2014 . [30]. ↵ J. Zheng et al. , “ Time-Frequency Analysis of Scalp EEG With Hilbert-Huang Transform and Deep Learning ,” IEEE J. Biomed. Health Inform ., vol. 26 , no. 4 , pp. 1549 – 1559 , Apr . 2022 , doi: 10.1109/JBHI.2021.3110267 . OpenUrl CrossRef PubMed [31]. ↵ Y. Yuan , Y. Duan , W. Li , J. Ren , Z. Li , and C. Yang , “ Differences in the Default Mode Network of Temporal Lobe Epilepsy Patients Detected by Hilbert-Huang Transform Based Dynamic Functional Connectivity ,” Brain Topogr ., vol. 36 , no. 4 , pp. 581 – 594 , Jul . 2023 , doi: 10.1007/s10548-023-00966-9 . OpenUrl CrossRef PubMed [32]. ↵ X. Liu , Y. Sun , D. Zheng , and R. Na , “ Hilbert–Huang Transformation-based subject-specific time– frequency-space pattern optimization for motor imagery electroencephalogram classification ,” Measurement , vol. 223 , p. 113673 , Dec . 2023 , doi: 10.1016/j.measurement.2023.113673 . OpenUrl CrossRef [33]. ↵ J. Luque , D. Anguita , F. Pérez , and R. Denda , “ Spectral Analysis of Electricity Demand Using Hilbert–Huang Transform ,” Sensors , vol. 20 , no. 10, Art. no. 10 , Jan . 2020 , doi: 10.3390/s20102912 . OpenUrl CrossRef [34]. ↵ J. Obuchowski , A. Wyłomańska , and R. Zimroz , “ Selection of informative frequency band in local damage detection in rotating machinery ,” Mech. Syst. Signal Process ., vol. 48 , no. 1 , pp. 138 – 152 , Oct . 2014 , doi: 10.1016/j.ymssp.2014.03.011 . OpenUrl CrossRef [35]. ↵ R. Ricci and P. Pennacchi , “ Diagnostics of gear faults based on EMD and automatic selection of intrinsic mode functions ,” Mech. Syst. Signal Process ., vol. 25 , no. 3 , pp. 821 – 838 , Apr . 2011 , doi: 10.1016/j.ymssp.2010.10.002 . OpenUrl CrossRef [36]. ↵ B. S. Todd and D. C. Andrews , “ The Identification of Peaks in Physiological Signals ,” Comput. Biomed. Res ., vol. 32 , no. 4 , pp. 322 – 335 , Aug . 1999 , doi: 10.1006/cbmr.1999.1518 . OpenUrl CrossRef PubMed Web of Science [37]. ↵ R. W. Schafer , “ What Is a Savitzky-Golay Filter? [Lecture Notes] ,” IEEE Signal Process. Mag ., vol. 28 , no. 4 , pp. 111 – 117 , Jul . 2011 , doi: 10.1109/MSP.2011.941097 . OpenUrl CrossRef [38]. ↵ P. E. Shrout and J. L. Fleiss , “ Intraclass correlations: uses in assessing rater reliability ,” Psychol. Bull ., vol. 86 , no. 2 , pp. 420 – 428 , Mar . 1979 , doi: 10.1037//0033-2909.86.2.420 . OpenUrl CrossRef PubMed Web of Science [39]. ↵ L. Li , L. Zeng , Z.-J. Lin , M. Cazzell , and H. Liu , “ Tutorial on use of intraclass correlation coefficients for assessing intertest reliability and its application in functional near-infrared spectroscopy–based brain imaging ,” J. Biomed. Opt ., vol. 20 , no. 5 , p. 050801 , May 2015 , doi: 10.1117/1.JBO.20.5.050801 . OpenUrl CrossRef [40]. ↵ A. R. Feinstein and D. V. Cicchetti , “ High agreement but low Kappa: I. the problems of two paradoxes ,” J. Clin. Epidemiol ., vol. 43 , no. 6 , pp. 543 – 549 , Jan . 1990 , doi: 10.1016/0895-4356(90)90158-L . OpenUrl CrossRef PubMed Web of Science [41]. ↵ X. Zhao , J. S. Liu , and K. Deng , “ Assumptions behind Intercoder Reliability Indices ,” Ann. Int. Commun. Assoc ., Jan . 2013 , Accessed: Apr. 15, 2025 . [Online]. Available: https://www.tandfonline.com/doi/abs/10.1080/23808985.2013.11679142 View the discussion thread. Back to top Previous Next Posted May 31, 2025. Download PDF Supplementary Material Data/Code Email Thank you for your interest in spreading the word about medRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Automated estimation of frequency and spatial extent of periodic and rhythmic epileptiform activity from continuous electroencephalography data Message Subject (Your Name) has forwarded a page to you from medRxiv Message Body (Your Name) thought you would like to see this page from the medRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Automated estimation of frequency and spatial extent of periodic and rhythmic epileptiform activity from continuous electroencephalography data Alexandra-Maria Tăuţan , Jin Jing , Lara Basovic , Peter N. Hadar , Shadi Sartipi , Marta P. Fernandes , Jennifer Kim , Aaron F. Struck , M. Brandon Westover , Sahar F. Zafar medRxiv 2025.05.29.25328582; doi: https://doi.org/10.1101/2025.05.29.25328582 Share This Article: Copy Citation Tools Automated estimation of frequency and spatial extent of periodic and rhythmic epileptiform activity from continuous electroencephalography data Alexandra-Maria Tăuţan , Jin Jing , Lara Basovic , Peter N. Hadar , Shadi Sartipi , Marta P. Fernandes , Jennifer Kim , Aaron F. Struck , M. Brandon Westover , Sahar F. Zafar medRxiv 2025.05.29.25328582; doi: https://doi.org/10.1101/2025.05.29.25328582 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Health Informatics Subject Areas All Articles Addiction Medicine (569) Allergy and Immunology (863) Anesthesia (300) Cardiovascular Medicine (4442) Dentistry and Oral Medicine (444) Dermatology (383) Emergency Medicine (609) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1511) Epidemiology (15230) Forensic Medicine (30) Gastroenterology (1126) Genetic and Genomic Medicine (6610) Geriatric Medicine (668) Health Economics (998) Health Informatics (4542) Health Policy (1370) Health Systems and Quality Improvement (1613) Hematology (543) HIV/AIDS (1266) Infectious Diseases (except HIV/AIDS) (15923) Intensive Care and Critical Care Medicine (1103) Medical Education (623) Medical Ethics (147) Nephrology (668) Neurology (6607) Nursing (346) Nutrition (999) Obstetrics and Gynecology (1146) Occupational and Environmental Health (957) Oncology (3337) Ophthalmology (974) Orthopedics (369) Otolaryngology (420) Pain Medicine (436) Palliative Medicine (130) Pathology (664) Pediatrics (1693) Pharmacology and Therapeutics (692) Primary Care Research (712) Psychiatry and Clinical Psychology (5448) Public and Global Health (9238) Radiology and Imaging (2202) Rehabilitation Medicine and Physical Therapy (1370) Respiratory Medicine (1196) Rheumatology (596) Sexual and Reproductive Health (714) Sports Medicine (530) Surgery (712) Toxicology (99) Transplantation (289) Urology (265) (function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a01c1a9fab7d593a',t:'MTc3OTc5MTQyMQ=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.