A method, device and storage medium for recognizing pathological high-frequency oscillation of SEEG through brain state correction
By constructing dynamic brain state correction sequences and time-varying threshold curves, combined with morphological asymmetry indices, pathological high-frequency oscillations are accurately separated, solving the false positive problem of pathological high-frequency oscillation identification in existing technologies and improving the accuracy of EEG monitoring and the reliability of spatial localization.
Patent Information
- Application Number
- CN202611643818.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-22
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies cannot effectively distinguish between pathological and physiological high-frequency oscillations in long-term EEG monitoring, resulting in a high false positive rate and inaccurate spatial localization results, and are unable to adapt to dynamic changes in brain state.
By constructing a cross-band phase-amplitude coupling matrix and low-frequency slow wave time-domain energy variation coefficient, a dynamic brain state correction sequence is generated. Combined with time-varying threshold curves and morphological asymmetry index, non-pathological high-frequency segments are eliminated, a set of pathological high-frequency oscillation events is obtained, and their spatial coordinates in the brain stereotactic coordinate system are analyzed.
It significantly reduced background noise interference and false positive event extraction rate caused by drastic changes in macroscopic physiological state, and improved the purity of pathological signal spatial mapping results and the reliability of epileptogenic network localization.
Smart Images

Figure CN123166582A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electroencephalogram (EEG) signal technology, specifically to a method, device, and storage medium for identifying SEEG pathological high-frequency oscillations through brain state correction. Background Technology
[0002] Drug-resistant epilepsy is a common and serious neurological disorder. Surgical resection of the epileptogenic focus is the primary clinical intervention for this condition, and the key to surgical success lies in the precise spatial localization of the epileptogenic focus preoperatively. Stereotactic electroencephalography (SEEG) can provide high spatiotemporal resolution deep intracranial neurophysiological signals. Currently, pathological high-frequency oscillations are recognized by the medical community as a highly specific biomarker of the epileptogenic zone. Accurately identifying and extracting pathological high-frequency oscillatory events from long-term continuous EEG monitoring data has significant clinical value in improving the success rate of epilepsy surgical resection and enhancing long-term patient prognosis.
[0003] However, in actual long-term monitoring, the human body experiences frequent switching between wakefulness and different sleep stages. This change in macroscopic physiological state causes drastic fluctuations in background EEG activity and the incidence of high-frequency oscillations. Existing automatic high-frequency oscillation identification methods typically employ fixed energy threshold models and static time-frequency feature classifiers, which are insufficiently adaptable to the dynamic jumps in the background EEG baseline during long-term monitoring. Simultaneously, the brain spontaneously generates a large number of physiological high-frequency oscillations when performing normal cognitive and memory functions or during specific physiological sleep stages (such as the sleep spindle wave band). These physiological signals highly overlap with pathological high-frequency oscillations in terms of superficial features such as frequency band distribution and energy. Existing static identification models cannot correlate independent waveform events with the microscopic slow-wave phase coupling mechanism at the brain's underlying layers, easily generating numerous false positives during periods of active background EEG activity and causing classification confusion when morphological overlap occurs. Ultimately, this leads to significant deviations in the spatial localization results of lesions obtained under different physiological cycles. Therefore, it is still necessary to provide a SEEG pathological high-frequency oscillation identification method through brain state correction to improve the anti-interference ability and spatial localization consistency in the pathological signal identification process. Summary of the Invention
[0004] In order to overcome the above-mentioned defects of the prior art, embodiments of the present invention provide a method, device and storage medium for identifying SEEG pathological high-frequency oscillations through brain state correction to solve the problems mentioned in the background art.
[0005] To achieve the above objectives, the present invention provides the following technical solution: a method for identifying pathological high-frequency oscillations in SEEG through brain state correction, comprising the following steps: S1, acquiring continuous stereotactic EEG signals, separating low-frequency slow waves and high-frequency oscillation signals, extracting the instantaneous phase sequence of the low-frequency slow waves and the envelope amplitude sequence of the high-frequency oscillation signals, dividing the instantaneous phase sequence into phase intervals according to angles and calculating the mean of the envelope amplitude within the intervals to construct a cross-band phase-amplitude coupling matrix, and generating a dynamic brain state correction sequence by combining the time-domain energy variation coefficient of the low-frequency slow waves; S2, dividing continuous state windows according to the dynamic brain state correction sequence, extracting the high-frequency envelope standard deviation of the background signal within each continuous state window as a benchmark to generate a time-varying threshold curve, and using the time-varying threshold curve to extract the threshold values in the high-frequency oscillation signals. The initial high-frequency segment is obtained, and the reference phase point corresponding to the peak moment of the initial high-frequency segment in the instantaneous phase sequence is extracted simultaneously; S3, the difference in envelope slope before and after the peak in the initial high-frequency segment is calculated to generate the morphological asymmetry index. The reference phase point is substituted into the dominant coupling phase interval of the cross-band phase-amplitude coupling matrix to calculate the deviation distance and generate the phase decoupling coefficient. The initial high-frequency segments whose morphological asymmetry index and phase decoupling coefficient do not meet the distortion standard are eliminated to obtain the pathological high-frequency oscillation event set; S4, the electrode contact channel corresponding to the pathological high-frequency oscillation event set is extracted, the spatial coordinates of the electrode contact channel in the brain stereotactic coordinate system are analyzed, the occurrence frequency of pathological high-frequency oscillation events under each spatial coordinate is counted, and the occurrence frequency is correlated with the spatial coordinates to output the pathological high-frequency oscillation identification distribution data.
[0006] Preferably, the specific process of acquiring continuous stereotactic EEG signals, separating low-frequency slow waves from high-frequency oscillation signals, and extracting the instantaneous phase sequence of the low-frequency slow waves and the envelope amplitude sequence of the high-frequency oscillation signals is as follows: Multi-channel adaptive bandpass filtering is performed on the continuous stereotactic EEG signals to separate and output a first frequency band waveform and a second frequency band waveform. The first frequency band waveform is defined as a low-frequency slow wave, and the second frequency band waveform is defined as a high-frequency oscillation signal. A Hilbert transform is performed on the low-frequency slow wave to extract the low-frequency analytical signal, and the phase components of the low-frequency analytical signal are extracted along the time dimension to form the instantaneous phase sequence. A Hilbert transform is performed on the high-frequency oscillation signal to extract the high-frequency analytical signal, and the amplitude components of the high-frequency analytical signal are extracted along the time dimension to form the envelope amplitude sequence.
[0007] Preferably, the specific process of dividing the instantaneous phase sequence into phase intervals according to angles and calculating the mean of the envelope amplitude within the intervals to construct a cross-band phase-amplitude coupling matrix, combined with the low-frequency slow wave time-domain energy variation coefficient to generate a dynamic brain state correction sequence is as follows: Establish a discretized angular distribution interval covering the complete phase cycle, and simultaneously extract the envelope amplitude sequence values corresponding to each phase timestamp in the instantaneous phase sequence; map the envelope amplitude sequence values to the discretized angular distribution intervals, calculate the statistical expectation value of the values contained in each discretized angular distribution interval, and generate a cross-band phase-amplitude coupling matrix; calculate the time-domain energy sequence of the low-frequency slow wave within a continuous time sliding window, extract the dispersion characteristics and central tendency characteristics of the time-domain energy sequence, construct dimensionless proportionality coefficients of the dispersion characteristics and central tendency characteristics to generate the low-frequency slow wave time-domain energy variation coefficient; align and splice the low-frequency slow wave time-domain energy variation coefficient and the cross-band phase-amplitude coupling matrix along the time axis nodes to construct a multi-dimensional state vector sequence, generating a dynamic brain state correction sequence.
[0008] Preferably, the specific process of dividing continuous state windows according to the dynamic brain state correction sequence and extracting the high-frequency envelope standard deviation of the background signal in each continuous state window as a benchmark to generate a time-varying threshold curve is as follows: Stationarity boundary detection is performed on the low-frequency slow wave time-domain energy variation coefficient in the dynamic brain state correction sequence; windows are segmented along the time axis according to the stationarity boundary time nodes to generate independent continuous state windows; transient extreme value segments with envelope amplitude sequence values exceeding the upper limit of statistical distribution are removed from the continuous state windows, and the retained stationary electrophysiological background segments are extracted; the high-frequency envelope standard deviation of the stationary electrophysiological background segments is calculated as the local window detection benchmark; nonlinear interpolation smoothing is performed on the local window detection benchmark along the overall time axis to fit and generate a continuous time-varying threshold curve.
[0009] Preferably, the specific process of extracting the initial high-frequency segment exceeding the threshold from the high-frequency oscillation signal using the time-varying threshold curve, and simultaneously extracting the reference phase point corresponding to the peak time of the initial high-frequency segment in the instantaneous phase sequence, is as follows: Perform a cross-location search between the envelope amplitude sequence and the time-varying threshold curve, and mark the first time node when the envelope amplitude sequence crosses the time-varying threshold curve and the second time node when it crosses the time-varying threshold curve; extract the high-frequency oscillation signal waveform between the first time node and the second time node to form the initial high-frequency segment; search for the peak timestamp corresponding to the highest point of the envelope amplitude within the initial high-frequency segment, and match the phase angle at the same moment in the instantaneous phase sequence based on the peak timestamp, and record it as the reference phase point.
[0010] Preferably, the specific process for calculating the difference in envelope slope before and after the peak within the initial high-frequency segment to generate the morphological asymmetry index is as follows: Locate the highest point of the envelope amplitude within the initial high-frequency segment as the peak; extract the envelope data sequence from the starting side boundary of the peak to the peak to form the rising edge waveform; extract the envelope data sequence from the peak to the ending side boundary of the peak to form the falling edge waveform; perform first derivative operation on the rising edge waveform to extract the maximum positive gradient as the forward envelope slope; perform first derivative operation on the falling edge waveform to extract the absolute value of the maximum negative gradient as the backward envelope slope; construct the difference deviation function between the forward and backward envelope slopes; and extract the output mapping value of the difference deviation function to generate the morphological asymmetry index.
[0011] Preferably, the specific process of substituting the reference phase point into the dominant coupling phase interval of the cross-band phase-amplitude coupling matrix to calculate the deviation distance and generate the phase decoupling coefficient, and eliminating initial high-frequency segments whose morphological asymmetry index and phase decoupling coefficient do not meet the distortion standard, to obtain the pathological high-frequency oscillation event set is as follows: Scan the envelope amplitude mean distribution vector in the cross-band phase-amplitude coupling matrix, locate the discretized angle distribution interval corresponding to the response peak in the envelope amplitude mean distribution vector, and set it as the dominant coupling phase interval; extract the center phase angle of the dominant coupling phase interval, calculate the shortest angular distance between the reference phase point and the center phase angle in the polar coordinate system, and define the shortest angular distance as the phase decoupling coefficient; establish a two-dimensional feature boundary judgment model of morphological asymmetry index and phase decoupling coefficient, compare the morphological asymmetry index and phase decoupling coefficient of the initial high-frequency segment with the preset distortion standard of the two-dimensional feature boundary judgment model, eliminate the initial high-frequency segments that do not meet the preset distortion standard, and aggregate the retained initial high-frequency segments to obtain the pathological high-frequency oscillation event set.
[0012] Preferably, the specific process of extracting the electrode contact channels corresponding to the pathological high-frequency oscillation event set, analyzing the spatial coordinates of the electrode contact channels in the brain stereotactic coordinate system, statistically analyzing the occurrence frequency of pathological high-frequency oscillation events under each spatial coordinate, and correlating the occurrence frequency with the spatial coordinates to output the pathological high-frequency oscillation identification distribution data is as follows: Extract the data acquisition channel identifier attached to each event segment in the pathological high-frequency oscillation event set, retrieve the spatial mapping table of the multimodal brain image registration module, analyze the electrode contact spatial coordinates corresponding to the data acquisition channel identifiers in the brain stereotactic coordinate system; establish a unit time analysis window, accumulate the total number of occurrences of pathological high-frequency oscillation event segments under the same electrode contact spatial coordinates within the unit time analysis window, and generate the occurrence frequency; construct a three-dimensional spatial coordinate system, assign the occurrence frequency to the corresponding electrode contact spatial coordinate node in the three-dimensional spatial coordinate system, perform three-dimensional Gaussian kernel density smoothing interpolation outward along the node, and output the pathological high-frequency oscillation identification distribution data.
[0013] An electronic device includes a processor and a memory, the memory storing computer-executable instructions that can be executed by the processor, the processor executing the computer-executable instructions to implement the method described above.
[0014] A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, which is executed by a processor to implement the above-described method.
[0015] The technical effects and advantages of this invention are as follows:
[0016] (1) In the technical solution described in this invention, continuous stereotactic EEG signals are acquired and low-frequency slow waves and high-frequency oscillation signals are separated. A dynamic brain state correction sequence is generated by constructing a cross-band phase-amplitude coupling matrix and the time-domain energy variation coefficient of the low-frequency slow waves. Then, based on the dynamic brain state correction sequence, a continuous state window is divided, and the high-frequency envelope standard deviation of the background signal is extracted as a benchmark to generate a time-varying threshold curve, so as to extract the corresponding benchmark phase point while extracting the initial high-frequency segment. Thus, the problem of insufficient adaptability of the fixed energy threshold model in the prior art to long-term EEG background fluctuations can be improved. The signal extraction benchmark is adaptively adjusted in the dynamic alternation of sleep and wakefulness cycles, and the background noise interference and false positive event extraction rate caused by drastic switching of macroscopic physiological states can be significantly reduced.
[0017] (2) In the technical solution described in this invention, the difference in envelope slope before and after the peak within the initial high-frequency segment is calculated to generate a morphological asymmetry index. The reference phase point is substituted into the dominant coupling phase interval to calculate the deviation distance and generate a phase decoupling coefficient. The initial high-frequency segment is filtered using a two-dimensional distortion standard of morphological and phase decoupling to obtain a set of pathological high-frequency oscillation events. Finally, the electrode contact channels corresponding to the events are extracted and their spatial coordinates in the stereotactic coordinate system of the brain are analyzed, and the distribution data of the associated occurrence frequency is output. Thus, the problem of classification confusion caused by the overlap of time-frequency characteristics between physiological and pathological high-frequency oscillations can be overcome. Normal physiological brain concussion waves can be accurately separated by using morphological distortion and microscopic phase derailment characteristics, thereby improving the purity of the final pathological signal spatial mapping result and the reliability of epileptogenic network localization.
[0018] Of course, any product implementing this invention does not necessarily need to achieve all of the advantages described above at the same time. Attached Figure Description
[0019] Figure 1 This invention provides a method for identifying pathological high-frequency oscillations of SEEG through brain state correction.
[0020] Figure 2 This is a schematic diagram of the time-varying threshold curve and the initial high-frequency segment extraction process in an embodiment of the present invention.
[0021] Figure 3 This is a schematic diagram of two-dimensional feature boundary determination based on morphology and phase in an embodiment of the present invention.
[0022] Figure 4 This is a schematic diagram of the cross-band phase-amplitude coupling matrix distribution and extreme value extraction in an embodiment of the present invention.
[0023] Figure 5 This is a schematic diagram of the three-dimensional thermodynamic distribution mapping of pathological high-frequency oscillations in an embodiment of the present invention. Detailed Implementation
[0024] This application provides a method, device, and storage medium for identifying pathological high-frequency oscillations in SEEG through brain state correction. This solves the problem of misjudgment and missed detection of high-frequency oscillation events caused by the inability of existing fixed threshold and static feature extraction models to adapt to fluctuations in brain physiological state during long-term EEG monitoring.
[0025] The overall approach of the scheme in this application is as follows: First, cross-band feature analysis is performed on continuous EEG signals to construct a dynamic brain state correction sequence that reflects the relationship between macroscopic energy evolution and microscopic phase coupling. Then, an adaptive time-varying threshold curve is generated based on the dynamic brain state correction sequence to achieve the extraction of initial high-frequency segments under dynamically changing electrophysiological background. Next, by calculating the morphological asymmetry index and phase decoupling coefficient, two-dimensional cross-discrimination of pathological events and physiological interference waveforms is completed. Finally, events confirmed as pathological are mapped to the stereotactic coordinate system of the brain to generate intuitive spatial distribution data of occurrence frequency, thereby completing high-precision identification and anatomical tracking of pathological high-frequency oscillations.
[0026] Example 1; please refer to Figure 1This invention provides a technical solution: a method for identifying pathological high-frequency oscillations in SEEG using brain state correction, comprising the following steps: S1, acquiring continuous stereotactic EEG signals, separating low-frequency slow waves and high-frequency oscillation signals, extracting the instantaneous phase sequence of the low-frequency slow waves and the envelope amplitude sequence of the high-frequency oscillation signals, dividing the instantaneous phase sequence into phase intervals according to angles and calculating the mean of the envelope amplitude within the intervals to construct a cross-band phase-amplitude coupling matrix, and generating a dynamic brain state correction sequence by combining the time-domain energy variation coefficient of the low-frequency slow waves; S2, dividing continuous state windows according to the dynamic brain state correction sequence, extracting the high-frequency envelope standard deviation of the background signal within each continuous state window as a benchmark to generate a time-varying threshold curve, and using the time-varying threshold curve to extract the initial threshold exceeding the threshold in the high-frequency oscillation signal. S3. Simultaneously extract the reference phase point corresponding to the peak moment of the initial high-frequency segment in the instantaneous phase sequence; S4. Calculate the difference in envelope slope before and after the peak in the initial high-frequency segment to generate the morphological asymmetry index. Substitute the reference phase point into the dominant coupling phase interval of the cross-band phase-amplitude coupling matrix to calculate the deviation distance and generate the phase decoupling coefficient. Eliminate the initial high-frequency segments whose morphological asymmetry index and phase decoupling coefficient do not meet the distortion standard to obtain the pathological high-frequency oscillation event set; S5. Extract the electrode contact channels corresponding to the pathological high-frequency oscillation event set, analyze the spatial coordinates of the electrode contact channels in the brain stereotactic coordinate system, count the occurrence frequency of pathological high-frequency oscillation events under each spatial coordinate, and correlate the occurrence frequency with the spatial coordinates to output the pathological high-frequency oscillation identification distribution data.
[0027] In this implementation scheme, step S1 acquires continuously collected deep stereotactic EEG signals from the intracranial cavity, separating low-frequency signals characterizing the macroscopic physiological cycle and high-frequency oscillating signals characterizing sudden local network activity. The energy fluctuation characteristics of the whole brain under macroscopic wakefulness and different sleep stages are quantified by calculating the time-domain energy variation coefficient of the low-frequency slow wave. To further extract rhythmic synchronization characteristics at the microscopic level, the instantaneous phase of the low-frequency slow wave is discretized by angle and synchronously mapped with the envelope amplitude of the high-frequency oscillating signal, constructing a cross-band phase reduction coupling matrix. The cross-band phase reduction coupling matrix is a mathematical model used to quantify how the phase angle of a slow wave in a specific frequency band modulates or excites the amplitude characteristics of another higher-frequency signal. Combining this microscopic matrix model with macroscopic energy characteristics generates a dynamic brain state correction sequence that reflects the patient's current true brain physiological cycle attributes.
[0028] Step S2 segments the long-range, irregular EEG signal into continuous state windows with a single, stable physiological meaning based on the generated dynamic sequence. Within each window, the standard deviation of the high-frequency envelope of background activity is calculated individually, thereby generating a time-varying threshold curve that fluctuates with the level of background EEG activity. The time-varying threshold curve is a non-fixed lower limit for signal detection; its threshold height adaptively floats according to the background noise level of the current macroscopic brain state. Subsequently, using this time-varying threshold curve, initial high-frequency segments with amplitudes exceeding the current background baseline are extracted from the continuous high-frequency oscillation signal. The true phase angle of the low-frequency slow wave corresponding to the peak amplitude of these high-frequency segments is extracted and recorded as the reference phase point, providing time-aligned coordinates for subsequent identification of whether the segment conforms to the physiological cycle pattern.
[0029] Step S3 involves cross-judgment of the internal geometric morphology and external physiological correlation characteristics of the extracted candidate signal segments. The difference in amplitude gradient between the rising and falling sides of the peak of each segment is calculated, generating a morphological asymmetry index to characterize the degree of local distortion in pathological discharge waveforms that differs from normal symmetrical sinusoidal oscillations. Next, the angular deviation between the reference phase point calibrated in the previous step and the dominant coupling phase interval under healthy conditions is analyzed, and the phase decoupling coefficient is calculated. The dominant coupling phase interval refers to the specific phase angle range in which low-frequency slow wave phases and physiological high-frequency ripple waves most frequently overlap and stably coexist under normal physiological metabolic rhythms. Screening is performed according to the waveform distortion degree reflected by the morphological asymmetry index and the physiological rhythm deviation degree reflected by the phase decoupling coefficient. Physiological high-frequency interference waves caused by normal sleep or cognitive activity are eliminated, retaining the set of high-frequency oscillation events exhibiting clear pathological characteristics.
[0030] Step S4 analyzes the data acquisition hardware channels associated with the selected pathological high-frequency events and matches the channel registration information to specific three-dimensional spatial coordinates within the stereotactic coordinate system. The stereotactic coordinate system is a standard three-dimensional spatial reference model used in clinical neurosurgery to describe the precise relative positions of intracranial nuclei or cortical anatomical structures. Then, the high and low frequencies of all pathological events occurring within a specified coordinate range per unit time are statistically analyzed. The acquired frequency data points are directly assigned to the corresponding three-dimensional anatomical coordinate nodes, outputting pathological high-frequency oscillation identification distribution data with density mapping intensity. This completes the data conversion from one-dimensional microscopic electrophysiological signal abnormality identification to three-dimensional macroscopic anatomical spatial localization of epileptogenic lesions.
[0031] Specifically, the process of acquiring continuous stereotactic EEG signals, separating low-frequency slow waves from high-frequency oscillation signals, and extracting the instantaneous phase sequence of the low-frequency slow waves and the envelope amplitude sequence of the high-frequency oscillation signals is as follows: Multi-channel adaptive bandpass filtering is performed on the continuous stereotactic EEG signals to separate the first frequency band waveform and the second frequency band waveform. The first frequency band waveform is defined as the low-frequency slow wave, and the second frequency band waveform is defined as the high-frequency oscillation signal. A Hilbert transform is performed on the low-frequency slow wave to extract the low-frequency analytical signal, and the phase components of the low-frequency analytical signal are extracted along the time dimension to form the instantaneous phase sequence. A Hilbert transform is performed on the high-frequency oscillation signal to extract the high-frequency analytical signal, and the amplitude components of the high-frequency analytical signal are extracted along the time dimension to form the envelope amplitude sequence.
[0032] In this implementation scheme, multi-channel continuous stereotactic EEG signals are acquired, and the cutoff frequency range of low-frequency slow waves and the bandpass frequency band of high-frequency oscillation signals are set. An adaptive digital filter is used to separate the basic signal waveform. For the separated low-frequency slow waves, an integral transform is used to convert them to the complex domain, constructing the real and imaginary parts of the low-frequency analytic signal. The arctangent function is calculated using the ratio of the imaginary to the real part, and the phase angle that varies with the time period is extracted. The specific calculation method is as follows: ; ; This represents a low-frequency slow wave; t represents the current continuous time point. Represents the Hilbert transform operator; Represents the time variable for continuous integration; Pi is a constant. This represents the imaginary component of the analytic signal generated after the transformation of a low-frequency slow wave. This represents the instantaneous phase sequence. Complex domain mapping is performed on the separated high-frequency oscillation signal, and the square root of the sum of the squares of the real and imaginary parts of the high-frequency analytic signal is calculated to obtain the instantaneous envelope fluctuation trajectory of the high-frequency energy. The specific calculation method is as follows: ; Indicates a high-frequency oscillation signal; This represents the imaginary component of the analytic signal generated after the high-frequency oscillation signal has been transformed. This represents the sequence of envelope amplitude values.
[0033] Specifically, the process of dividing the instantaneous phase sequence into phase intervals by angle and calculating the mean of the envelope amplitude within each interval to construct a cross-band phase-amplitude coupling matrix, combined with the low-frequency slow wave time-domain energy variation coefficient to generate a dynamic brain state correction sequence is as follows: Establish a discretized angular distribution interval covering the complete phase cycle, and simultaneously extract the envelope amplitude sequence values corresponding to each phase timestamp in the instantaneous phase sequence; map the envelope amplitude sequence values to the discretized angular distribution intervals, calculate the statistical expectation value of the values contained in each discretized angular distribution interval, and generate a cross-band phase-amplitude coupling matrix; calculate the time-domain energy sequence of the low-frequency slow wave within a continuous time sliding window, extract the dispersion characteristics and central tendency characteristics of this time-domain energy sequence, and construct dimensionless proportionality coefficients of the dispersion characteristics and central tendency characteristics to generate the low-frequency slow wave time-domain energy variation coefficient; align and splice the low-frequency slow wave time-domain energy variation coefficient and the cross-band phase-amplitude coupling matrix along the time axis nodes to construct a multi-dimensional state vector sequence, generating a dynamic brain state correction sequence.
[0034] In this implementation plan, the total number of intervals is set, to The complete continuous phase period is divided into multiple discrete boundaries. By comparing the specific angle values in the instantaneous phase sequence with these discrete boundaries, the envelope amplitude sequence values at the same timestamp are categorized into the corresponding angle intervals. The total number of values within each interval is counted and averaged to construct the cross-band phase-amplitude coupling matrix. The specific calculation method is as follows: ; This represents the statistical expectation value of the m-th discretized angular distribution interval in the cross-band phase-amplitude coupling matrix; m represents the interval index number. This represents the total number of envelope amplitude sequence values falling within the m-th interval; q represents the cumulative index of a single number. This represents the value of the q-th envelope amplitude sequence falling within the m-th interval. The length and step distance of the continuous-time sliding window are set, and the sum of squares of the low-frequency slow wave amplitudes is calculated within each window to obtain the time-domain energy sequence. Within a local state segment composed of multiple continuous-time sliding windows, the average level and standard deviation offset of the time-domain energy sequence are calculated, and the two are divided to generate the low-frequency slow wave time-domain energy variation coefficient. The specific calculation method is as follows: ; ; ; This indicates the central tendency characteristics within a local state segment; v represents the starting sliding window index of the local state segment. This represents the total number of sliding windows contained in the local state segment; u represents the single sliding window iteration variable within the local state segment; This represents the temporal energy within the u-th continuous time window; This represents the discreteness characteristics within a local state segment; This represents the time-domain energy variation coefficient of low-frequency slow waves; This represents the bias smoothing parameter to prevent the denominator from being zero. The method for determining the bias smoothing parameter is as follows: acquire the baseline noise of an idle device without external EEG signal input, calculate the time-domain energy mean of this baseline noise, and take one-tenth of it as... The fixed assignment. Finally, The row vectors formed and the corresponding time periods Perform column-wise concatenation to output a multidimensional state vector sequence.
[0035] Specifically, the process of dividing continuous state windows based on the dynamic brain state correction sequence and extracting the high-frequency envelope standard deviation of the background signal within each continuous state window as a benchmark to generate a time-varying threshold curve is as follows: Stationarity boundary detection is performed on the low-frequency slow-wave time-domain energy variation coefficient within the dynamic brain state correction sequence. Based on the stationarity boundary time nodes, windows are segmented along the time axis to generate independent continuous state windows. Transient extreme value segments with envelope amplitude sequence values exceeding the upper limit of the statistical distribution are removed from the continuous state windows, and the retained stationary electrophysiological background segments are extracted. The high-frequency envelope standard deviation of the stationary electrophysiological background segments is calculated as the local window detection benchmark. Nonlinear interpolation smoothing is performed on the local window detection benchmark along the overall time axis to fit and generate a continuous time-varying threshold curve.
[0036] In this implementation scheme, the absolute value of the first-order difference between adjacent time nodes of the low-frequency slow wave time-domain energy variation coefficient sequence is calculated to form the fluctuation gradient sequence. A stationarity breakpoint threshold is set, and the fluctuation gradient sequence is traversed. Time nodes greater than the stationarity breakpoint threshold are extracted as stationarity boundary time nodes. This is used to segment the continuous time series into multiple independent segments, defined as continuous state windows. The method for determining the stationarity breakpoint threshold is as follows: Before the patient falls asleep during stereotactic EEG monitoring, a 10-minute artifact-free, eye-closed, resting-state EEG sequence is extracted for initial system calibration. The fluctuation gradient of the energy variation coefficient of the calibrated sequence is calculated, and the 95th percentile value of this fluctuation gradient set is taken as the stationarity breakpoint threshold. Within the w-th continuous state window, the median and interquartile range of the envelope amplitude sequence are calculated to construct the upper limit critical value of the distribution. The specific calculation formula is as follows: ; This represents the upper limit critical value of the distribution of the w-th consecutive state window; w represents the index number of the consecutive state windows arranged in chronological order. This represents the median of the sorted envelope amplitude sequence within the current w-th consecutive state window; This represents the third quartile of the envelope amplitude sequence within the current window; This represents the first quartile of the envelope amplitude sequence within the current window; This represents the abnormal transient detection ratio coefficient; the method for determining the abnormal transient detection ratio coefficient is as follows: retrieve the complete envelope amplitude data of the current electrode acquisition channel for the past 24 hours, perform skewed kernel density estimation on the numerical distribution histogram, and extract the horizontal coordinate mapping span coefficient at the point where the area of the long tail on one side of the kernel density curve accounts for 3% of the total area. The actual value. Remove values from the envelope amplitude sequence in the current continuous state window that are greater than [a certain value]. The data points, after removing transient extrema, are reconstructed into a stationary electrophysiological background segment. The local envelope variance of this stationary electrophysiological background segment is calculated to generate a local window detection benchmark. ; Represents the local window detection benchmark for the w-th consecutive state window; This represents the total number of data points in the stable electrophysiological background segment retained after removing extreme values within the w-th consecutive state window; r represents the sequence number of the data points in the segment at each step. This represents the r-th envelope amplitude value in a stable electrophysiological background segment; This represents the arithmetic mean of all retained data within a stable electrophysiological background segment. The detection benchmark for each local window is extracted, and its numerical amplitude is anchored to the time center node of the corresponding continuous state window. A Gaussian kernel function is used for nonlinear smooth interpolation on the global time axis to fit and generate a continuous global threshold contour that follows the dynamic fluctuations of the brain's physiological background. ; The vertical axis value represents the value of the continuous time-varying threshold curve corresponding to the current global continuous time node t; This refers to the sensitivity factor for pathological event detection. The method for determining the sensitivity factor is as follows: statistically analyze the initial envelope values of high-frequency oscillatory events recorded in the epileptogenic focus area of previously diagnosed patients of the same category, compare them with the mean variance of the resting-state baseline in the same spatial channel, and take the expected proportion of the compared values as... The default value; This represents the total number of consecutive state windows generated by the segmentation; This represents the time center node of the w-th consecutive state window; This represents the time width scale variable spanned by the w-th consecutive state window.
[0037] Specifically, the process of extracting an initial high-frequency segment exceeding the threshold from a high-frequency oscillation signal using a time-varying threshold curve, and simultaneously extracting the reference phase point corresponding to the peak time of the initial high-frequency segment in the instantaneous phase sequence, is as follows: Perform a cross-location search between the envelope amplitude sequence and the time-varying threshold curve, calibrating the first time node where the envelope amplitude sequence crosses the time-varying threshold curve and the second time node where it crosses the time-varying threshold curve; extract the high-frequency oscillation signal waveform between the first and second time nodes to form the initial high-frequency segment; search for the peak timestamp corresponding to the highest point of the envelope amplitude within the initial high-frequency segment, and match the phase angle at the same moment in the instantaneous phase sequence based on the peak timestamp, recording it as the reference phase point.
[0038] In this implementation scheme, a time-domain synchronous comparison traversal is performed between the envelope amplitude sequence of the high-frequency oscillation signal and the generated continuous time-varying threshold curve. A boundary crossing identifier function is constructed to monitor the signal's breach of the dynamic benchmark. When the current discrete sampling point value of the envelope amplitude sequence is greater than the current time-varying threshold curve value, and its immediately preceding discrete sampling point value is less than or equal to the corresponding previous time-varying threshold curve value, the timestamp of the current discrete sampling point is marked as the first time node; similarly, the reverse detection generates the second time node. The closed interval between the first and second time nodes is defined as the effective boundary region, and the high-frequency oscillation signal waveform within this effective boundary region is extracted to form the initial high-frequency segment. The specific calculation formula for the boundary judgment logic is as follows: ; This indicates the boundary crossing status identifier at discrete time node k; k represents the discrete time node number of the signal synchronization sampling period. This represents the specific numerical value of the envelope amplitude sequence of the high-frequency oscillation signal obtained at node k; This represents the value corresponding to the time-varying threshold curve at node k; This indicates a symbol extraction operator. It outputs a positive one when the internal logical value of the operator is greater than zero, and a negative one when it is less than or equal to zero. When the calculation result equals positive 2, record the discrete time node k as the first time node. ;when When the calculation result equals negative two, record the discrete time node k as the second time node. ; z represents the unique auto-incrementing sequence number of each event segment identified sequentially in chronological order. For the z-th initial high-frequency segment, a polar coordinate search of the envelope energy extremum point is performed within the effective time boundary of this segment to locate the highest point: ; This represents the peak timestamp corresponding to the highest point of the envelope amplitude within the z-th initial high-frequency segment; This represents the time node index of the independent variable corresponding to the point where the internal function reaches its maximum value within a specified boundary range. After obtaining this peak timestamp, the low-frequency slow wave phase angle parameters belonging to the same time-domain slice as the peak timestamp are directly extracted from the fully parsed instantaneous phase sequence data pool. ; This represents the reference phase point that is extracted and archived within the z-th initial high-frequency segment data link; This indicates that, based on the global instantaneous phase sequence set generated by the pre-Hilbert transform, this step achieves the physical binding and corresponding recording of microsecond-level high-frequency envelope burst extrema points and the spatial topological coordinates of the underlying slow-wave rhythm phase troughs. Combined with... Figure 2 As shown in the figure, the horizontal axis represents time, and the vertical axis represents amplitude. The solid line represents the envelope amplitude sequence of high-frequency oscillations, and the dashed line represents the adaptively dynamically floating time-varying threshold curve. When the envelope amplitude sequence penetrates the time-varying threshold curve upwards, it is marked as the "starting point," and when it penetrates downwards, it is marked as the "ending point." The highest point of the envelope amplitude between the starting and ending points is strictly defined as the "peak value." This figure intuitively demonstrates how the algorithm, based on a dynamic background benchmark, eliminates artifacts and adaptively extracts effective initial high-frequency segments, thereby completing the adaptive extraction of effective events based on a dynamic background benchmark.
[0039] Specifically, the process of calculating the difference in envelope slopes before and after the peak within the initial high-frequency segment to generate the morphological asymmetry index is as follows: Locate the highest point of the envelope amplitude within the initial high-frequency segment as the peak; extract the envelope data sequence from the starting side boundary of the peak to the peak to form the rising edge waveform; extract the envelope data sequence from the peak to the ending side boundary of the peak to form the falling edge waveform; perform first-order derivative operations on the rising edge waveform to extract the maximum positive gradient as the forward envelope slope; perform first-order derivative operations on the falling edge waveform to extract the absolute value of the maximum negative gradient as the backward envelope slope; construct the difference deviation function between the forward and backward envelope slopes; and extract the output mapping value of the difference deviation function to generate the morphological asymmetry index.
[0040] In this implementation plan, the extracted first... An initial high-frequency segment is defined as the time node corresponding to the highest point of its envelope amplitude. The time node corresponding to the starting side boundary of the segment is denoted as The time node corresponding to the termination side boundary of the segment is denoted as .extract to The envelope data between them constitutes a rising edge sequence, and is extracted. to The envelope data between them constitutes the falling edge sequence. A point-by-point first-order difference operation is performed on the rising edge sequence to extract the maximum positive value of the gradient. Specifically, the calculation is as follows: ; Indicates the first The forward envelope slope of the initial high-frequency segment; Indicates the global tracking sequence number of the initial high-frequency segment; Indicates the time node corresponding to the starting side boundary of the segment; represents the time node corresponding to the highest point of the segment envelope amplitude; c represents the point-by-point step variable inside the rising edge sequence; This represents the specific numerical value of the envelope data at the corresponding time point. Similarly, perform a first-order difference operation on the falling edge sequence and extract the maximum absolute value: ; Indicates the first The backward envelope slope of an initial high-frequency segment; d represents the point-by-point step variable within the falling edge sequence; This represents the time node corresponding to the termination side boundary of the fragment. To quantify the degree of waveform asymmetry distortion unique to pathological discharges, a deviation function of the difference between the forward and backward envelope slopes is constructed: ; Indicates the first The morphological asymmetry index of an initial high-frequency segment; This represents the noise smoothing constant used to prevent zero overflow in the denominator. The method for determining this step size is as follows: Read the least significant bit quantization step size of the analog-to-digital converter from the EEG acquisition hardware manual, and take three times that step size as the value. Fixed input parameters.
[0041] Specifically, the process of obtaining a pathological high-frequency oscillation event set by substituting the reference phase point into the dominant coupling phase interval of the cross-band phase-amplitude coupling matrix to calculate the deviation distance and generate the phase decoupling coefficient, and eliminating initial high-frequency segments whose morphological asymmetry index and phase decoupling coefficient do not meet the distortion standard, is as follows: Scan the envelope amplitude mean distribution vector in the cross-band phase-amplitude coupling matrix, locate the discretized angle distribution interval corresponding to the response peak in the envelope amplitude mean distribution vector, and set it as the dominant coupling phase interval; extract the center phase angle of the dominant coupling phase interval, calculate the shortest angular distance between the reference phase point and the center phase angle in the polar coordinate system, and define the shortest angular distance as the phase decoupling coefficient; establish a two-dimensional feature boundary judgment model of morphological asymmetry index and phase decoupling coefficient, compare the morphological asymmetry index and phase decoupling coefficient of the initial high-frequency segment with the preset distortion standard of the two-dimensional feature boundary judgment model, eliminate the initial high-frequency segments that do not meet the preset distortion standard, and aggregate the retained initial high-frequency segments to obtain the pathological high-frequency oscillation event set.
[0042] In this implementation, the cross-band phase reduction coupling matrix constructed in the previous step is read, and the data sequence representing the statistical expectation value of the envelope amplitude within each discretized angle distribution interval is extracted to form the envelope amplitude mean distribution vector. Global extremum optimization is performed on the envelope amplitude mean distribution vector to locate the distribution interval with the strongest numerical response. ; The index number of the dominant coupled phase interval corresponding to the peak response is indicated; f represents the traversal step variable inside the mean distribution vector; This represents the total number of divisions within the discretized angular distribution intervals; This represents the specific value of the f-th interval in the mean distribution vector of the envelope amplitude. According to... Extract the center phase angle of the corresponding interval, denoted as . Combining Figure 4 As shown in the figure, the horizontal axis represents the discretized angle distribution interval covering the complete phase period, and the vertical axis represents the statistical expectation value of the envelope amplitude contained in each interval. The histogram bars in the figure exhibit obvious normal or sinusoidal fluctuations, reflecting the differences in modulation intensity of high-frequency oscillation energy by different low-frequency slow wave phase intervals. The tallest black histogram bar and the "response peak value" marked above it directly correspond to the dominant coupling phase interval located by the algorithm through global extremum optimization. This figure clearly verifies that a specific central phase angle of the low-frequency slow wave has the strongest excitation effect on high-frequency discharge, thus providing a highly reliable physiological benchmark for the phase decoupling coefficient of the subsequent calculation segment. The following section will then... Substituting the reference phase point corresponding to each initial high-frequency segment into the polar coordinate system, calculate the shortest cyclic angular distance between it and the center phase angle: ; Indicates the first Phase decoupling coefficients of an initial high-frequency segment; Represents the constant of the radian length of a semicircle; Indicates the first Each initial high-frequency segment corresponds to a synchronously extracted reference phase point. The morphological asymmetry index and phase decoupling coefficient are mapped to a two-dimensional Cartesian coordinate system to establish a two-dimensional feature boundary determination model based on elliptical envelope topology. ; Indicates the first Two-dimensional feature boundary determination values for an initial high-frequency segment; Indicates the long axis threshold of morphological distortion; This indicates the phase deviation from the minor axis threshold. and The determination method is as follows: Extract a known set of physiological high-frequency ripple wave samples from long-term monitoring data of the same patient under normal resting, closed-eye conditions. Calculate the mean of the morphological asymmetry index plus three standard deviations, and the mean of the phase decoupling coefficient plus three standard deviations, respectively, using these as... and The assignment parameters are set. The preset distortion standard for the two-dimensional feature boundary judgment model is set to a judgment value of 1. The feature parameters of the initial high-frequency segment are compared with the preset distortion standard. When the value is less than or equal to 1, the initial high-frequency segment is determined not to meet the distortion standard and is removed as a physiological interference segment; when... When the value is greater than 1, it confirms that the fragment has undergone morphological abnormality and dissociation from the normal physiological coupling rhythm. This fragment is preserved, and all preserved fragments are aggregated to obtain a set of pathological high-frequency oscillatory events. Combined with... Figure 3 As shown in the figure, the horizontal axis represents the calculated morphological asymmetry index, and the vertical axis represents the phase decoupling coefficient at the microscopic level. The dashed lines in the figure constitute the preset distortion standard boundary (i.e., the two-dimensional feature boundary judgment model). Data points located inside the dashed boundary (close to the origin) failed to meet the distortion criteria and were identified and labeled as "removed physiological interference fragments"; while data points distributed outside the dashed boundary exceeded the healthy physiological threshold in terms of morphology or phase, and were accurately locked and labeled by the algorithm as "retained pathological high-frequency oscillations". This figure clearly verifies the effectiveness of the two-dimensional cross-discrimination logic in separating overlapping time-frequency features (such as physiological sleep spindle waves) and the visualization effect of the classification boundary.
[0043] Specifically, the process of extracting the electrode contact channels corresponding to the pathological high-frequency oscillation event set, analyzing the spatial coordinates of the electrode contact channels in the brain stereotactic coordinate system, counting the occurrence frequency of pathological high-frequency oscillation events under each spatial coordinate, and correlating the occurrence frequency with the spatial coordinates to output the pathological high-frequency oscillation identification distribution data is as follows: Extract the data acquisition channel identifiers attached to each event segment in the pathological high-frequency oscillation event set, retrieve the spatial mapping table of the multimodal brain image registration module, and analyze the electrode contact spatial coordinates corresponding to the data acquisition channel identifiers in the brain stereotactic coordinate system; establish a unit time analysis window, accumulate the total number of occurrences of pathological high-frequency oscillation event segments under the same electrode contact spatial coordinates within the unit time analysis window, and generate the occurrence frequency; construct a three-dimensional spatial coordinate system, assign the occurrence frequency to the corresponding electrode contact spatial coordinate node in the three-dimensional spatial coordinate system, perform three-dimensional Gaussian kernel density smoothing interpolation outward along the node, and output the pathological high-frequency oscillation identification distribution data.
[0044] In this implementation scheme, the data acquisition channel identifier contained in the header file of each signal segment within the pathological high-frequency oscillation event set is read. A multimodal brain image registration module, based on the fusion of preoperative MRI and postoperative computed tomography images of the patient, is used to retrieve the underlying stored spatial mapping table. This spatial mapping table is then used to parse the discrete data acquisition channel identifiers one by one into actual three-dimensional physical coordinates in the brain's stereotactic coordinate system. For any h-th electrode contact channel, a unit-time analysis window is set, and the total number of pathological high-frequency oscillation event segments belonging to that channel within the time period covered by this window is accumulated and converted into occurrence frequency. ; This indicates the occurrence frequency corresponding to the h-th electrode contact channel; h represents the traversal index number of the electrode contact channel. This indicates the total number of pathological high-frequency oscillation event segments occurring within the same electrode contact channel within the current unit time analysis window; This represents the time span scalar of the unit-time analysis window. After obtaining the discrete occurrence frequency of each physical contact point in the whole brain, a three-dimensional grid coordinate system composed of discrete spatial nodes is constructed in the brain stereotactic coordinate system. Each spatial node in the three-dimensional grid coordinate system is traversed, and the superimposed kernel density value of each node, influenced by the frequency diffusion of all surrounding actual electrode contacts, is calculated based on a three-dimensional Gaussian kernel density smoothing interpolation algorithm. ; This represents the distribution data for identifying pathological high-frequency oscillations at any node in a three-dimensional grid coordinate system. , and These represent the spatial coordinate variables of the arbitrary node along the three orthogonal axes in the stereotactic coordinate system of the brain; This indicates the total number of electrode contact channels included in the statistics; , and These represent the fixed spatial coordinates of the h-th electrode contact channel obtained analytically in the brain stereotactic coordinate system; Pi is a constant. The three-dimensional spatial smoothing bandwidth parameter represents the rate of spatial radiation attenuation of the frequency data. The method for determining the three-dimensional spatial smoothing bandwidth parameter is as follows: In the spatial mapping table of the multimodal brain image registration module, extract the three-dimensional coordinates of the center points of two adjacent physical contacts on the same stereotactic implanted electrode rod, calculate the spatial Euclidean physical distance between them, and take the arithmetic mean of this physical distance as... The fixed values are assigned. Through the above calculations, the discrete electrode channel frequency data is mapped and transformed into an activity distribution matrix covering the three-dimensional continuous anatomical space within the skull. Combined with... Figure 5As shown, the figure constructs a three-dimensional stereotactic physical coordinate system for the brain, including the first, second, and third orthogonal spatial axes. The suspended spherical dots within the figure represent the local spatial activity after smoothing interpolation using three-dimensional Gaussian nuclear density. As illustrated in the legend on the right, the size and grayscale color of the dots directly map to the nuclear density values: in the central region where lesions cluster, the dots are dense, large, and dark black, representing high nuclear density; as the three-dimensional spatial radiation attenuates from the center outwards, the dots gradually become sparse, smaller, and transition to light gray, representing low nuclear density. This figure perfectly transforms abstract discrete electrode channel frequency data into an intuitive three-dimensional intracranial thermal diffusion model, achieving high-precision anatomical localization verification of the epileptogenic network in three-dimensional physical space.
[0045] An electronic device includes a processor and a memory, the memory storing computer-executable instructions that can be executed by the processor, the processor executing the computer-executable instructions to implement the method described above.
[0046] In this embodiment, the electronic device can specifically be an EEG data analysis workstation deployed in the epilepsy monitoring unit or a dedicated medical signal processing server. The processor, by calling instructions from the memory, sequentially executes core signal processing and spatial mapping logic such as multi-channel adaptive bandpass filtering, cross-band phase-amplitude coupling matrix construction, time-varying threshold curve fitting, two-dimensional feature boundary determination based on morphological asymmetry exponent and phase decoupling coefficient, and three-dimensional Gaussian kernel density smoothing interpolation. In addition to storing the aforementioned computer-executable instructions, the memory also provides independent high-speed cache and persistent storage areas for real-time reception and temporary storage of high-sampling-rate continuous stereotactic EEG signals, while persistently storing bias smoothing parameters, stationarity breakpoint thresholds, the spatial mapping table of the multimodal brain image registration module, and the finally generated pathological high-frequency oscillation identification distribution data. This caches multi-dimensional state vectors during the calculation process and performs matrix operations for three-dimensional spatial mapping.
[0047] A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, which is executed by a processor to implement the above-described method.
[0048] In this embodiment, the computer-readable storage medium can be a non-volatile storage medium, specifically including but not limited to solid-state drives, flash drives, magnetic random access memory, or optical storage disks. The computer program is physically encapsulated in the storage medium as compiled machine code or executable code. When the computer program is read and loaded into memory by a medical terminal device with data processing capabilities, it can drive the microprocessor of the terminal device to sequentially separate the low-frequency slow waves and high-frequency oscillations of the input stereotactic EEG signal according to preset timing control logic, dynamically track the brain state and extract initial high-frequency segments, strictly perform pathological segment cross-screening based on two-dimensional feature distortion standards, and finally convert the statistically obtained electrode contact frequency into a three-dimensional thermal distribution mapping in the stereotactic brain coordinate system. This provides non-volatile instruction storage for implementing the SEEG pathological high-frequency oscillation recognition algorithm.
[0049] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A method for identifying pathological high-frequency oscillations in SEEG through brain state correction, characterized in that, Includes the following steps: S1. Acquire continuous stereotactic EEG signals, separate low-frequency slow waves and high-frequency oscillation signals, extract the instantaneous phase sequence of low-frequency slow waves and the envelope amplitude sequence of high-frequency oscillation signals, divide the instantaneous phase sequence into phase intervals according to angles and calculate the mean of the envelope amplitude within the intervals to construct a cross-band phase-amplitude coupling matrix, and generate a dynamic brain state correction sequence by combining the time-domain energy variation coefficient of low-frequency slow waves. S2. Divide the continuous state window according to the dynamic brain state correction sequence, extract the high-frequency envelope standard deviation of the background signal in each continuous state window as the benchmark to generate a time-varying threshold curve, and extract the initial high-frequency segment exceeding the threshold in the high-frequency oscillation signal through the time-varying threshold curve, and simultaneously extract the benchmark phase point corresponding to the peak time of the initial high-frequency segment in the instantaneous phase sequence. S3. Calculate the difference in envelope slope before and after the peak in the initial high-frequency segment to generate the morphological asymmetry index. Substitute the reference phase point into the dominant coupling phase interval of the cross-band phase-amplitude coupling matrix to calculate the deviation distance and generate the phase decoupling coefficient. Eliminate the initial high-frequency segments whose morphological asymmetry index and phase decoupling coefficient do not meet the distortion standard to obtain the pathological high-frequency oscillation event set. S4. Extract the electrode contact channels corresponding to the pathological high-frequency oscillation event set, analyze the spatial coordinates of the electrode contact channels in the brain stereotactic coordinate system, count the occurrence frequency of pathological high-frequency oscillation events under each spatial coordinate, and output the pathological high-frequency oscillation identification distribution data by correlating the occurrence frequency with the spatial coordinates.
2. The method for identifying SEEG pathological high-frequency oscillations through brain state correction according to claim 1, characterized in that: The specific process of acquiring continuous stereotactic EEG signals, separating low-frequency slow waves from high-frequency oscillation signals, and extracting the instantaneous phase sequence of the low-frequency slow waves and the envelope amplitude sequence of the high-frequency oscillation signals is as follows: Multi-channel adaptive bandpass filtering is performed on continuous stereotactic EEG signals to separate the first frequency band waveform and the second frequency band waveform. The first frequency band waveform is defined as a low-frequency slow wave, and the second frequency band waveform is defined as a high-frequency oscillation signal. Perform Hilbert transform on the low-frequency slow wave to extract the low-frequency analytic signal, and extract the phase components of the low-frequency analytic signal along the time dimension to form an instantaneous phase sequence; The high-frequency oscillating signal is subjected to Hilbert transform to extract the high-frequency analytical signal, and the amplitude components of the high-frequency analytical signal are extracted along the time dimension to form an envelope amplitude sequence.
3. The method for identifying SEEG pathological high-frequency oscillations through brain state correction according to claim 1, characterized in that: The specific process of dividing the instantaneous phase sequence into phase intervals according to angles and calculating the mean of the envelope amplitude within each interval to construct a cross-band phase-amplitude coupling matrix, and then combining this with the low-frequency slow wave time-domain energy variation coefficient to generate a dynamic brain state correction sequence is as follows: Establish a discretized angle distribution range covering the complete phase period, and simultaneously extract the envelope amplitude sequence values corresponding to each phase timestamp in the instantaneous phase sequence; The envelope amplitude sequence values are mapped to discretized angular distribution intervals, and the statistical expectation values of the values contained in each discretized angular distribution interval are calculated to generate a cross-band phase-amplitude coupling matrix. The time-domain energy sequence of low-frequency slow waves is calculated within a continuous time sliding window. The dispersion and central tendency features of the time-domain energy sequence are extracted, and the dimensionless proportionality coefficients of the dispersion and central tendency features are constructed to generate the time-domain energy variation coefficient of low-frequency slow waves. By aligning and splicing the low-frequency slow wave time-domain energy variation coefficient with the cross-band phase-amplitude coupling matrix along the time axis nodes, a multi-dimensional state vector sequence is constructed, generating a dynamic brain state correction sequence.
4. The method for identifying SEEG pathological high-frequency oscillations through brain state correction according to claim 1, characterized in that: The specific process of generating a time-varying threshold curve by dividing continuous state windows based on the dynamic brain state correction sequence and extracting the high-frequency envelope standard deviation of the background signal within each continuous state window as a benchmark is as follows: The stationarity boundary detection is performed on the low-frequency slow wave time-domain energy variation coefficient in the dynamic brain state correction sequence, and the window is segmented along the time axis according to the stationarity boundary time node to generate independent continuous state windows. In a continuous state window, transient extreme value segments with envelope amplitude sequence values exceeding the upper limit of statistical distribution are removed, and stationary electrophysiological background segments are extracted and retained. The high-frequency envelope standard deviation of the stationary electrophysiological background segment is calculated as the local window detection benchmark. Nonlinear interpolation smoothing is performed on the local window detection benchmark along the global time axis to fit and generate a continuous time-varying threshold curve.
5. The method for identifying SEEG pathological high-frequency oscillations through brain state correction according to claim 1, characterized in that: The specific process of extracting the initial high-frequency segment exceeding the threshold from the high-frequency oscillation signal using a time-varying threshold curve, and simultaneously extracting the reference phase point corresponding to the peak time of the initial high-frequency segment in the instantaneous phase sequence, is as follows: Perform a cross-location search between the envelope amplitude sequence and the time-varying threshold curve, and mark the first time node when the envelope amplitude sequence crosses the time-varying threshold curve and the second time node when it crosses the time-varying threshold curve. Extract the high-frequency oscillation signal waveform between the first time node and the second time node to form the initial high-frequency segment; Search for the peak timestamp corresponding to the highest point of the envelope amplitude within the initial high-frequency segment, and match the phase angle at the same moment in the instantaneous phase sequence based on the peak timestamp, recording it as the reference phase point.
6. The method for identifying SEEG pathological high-frequency oscillations through brain state correction according to claim 1, characterized in that: The specific process for calculating the difference in envelope slope before and after the peak within the initial high-frequency segment to generate the morphological asymmetry index is as follows: The highest point of the envelope amplitude within the initial high-frequency segment is identified as the peak. The envelope data sequence between the starting side boundary of the peak and the peak is extracted to form the rising edge waveform, and the envelope data sequence between the peak and the ending side boundary of the peak is extracted to form the falling edge waveform. Perform first derivative operation on the rising edge waveform to extract the maximum positive gradient as the forward envelope slope, and perform first derivative operation on the falling edge waveform to extract the absolute value of the maximum negative gradient as the backward envelope slope. Construct a deviation function for the difference between the forward envelope slope and the backward envelope slope, and extract the output mapping value of the deviation function to generate a morphological asymmetry index.
7. The method for identifying SEEG pathological high-frequency oscillations through brain state correction according to claim 1, characterized in that: The process of substituting the reference phase point into the dominant coupled phase interval of the cross-band phase-amplitude coupling matrix to calculate the deviation distance and generate the phase decoupling coefficient, and then eliminating the initial high-frequency segments whose morphological asymmetry index and phase decoupling coefficient do not meet the distortion standard, to obtain the pathological high-frequency oscillation event set is as follows: Scan the envelope amplitude mean distribution vector in the cross-band phase-amplitude coupling matrix, locate the discretized angle distribution interval corresponding to the response peak in the envelope amplitude mean distribution vector, and set it as the dominant coupling phase interval; Extract the center phase angle of the dominant coupling phase interval, calculate the shortest angular distance between the reference phase point and the center phase angle in the polar coordinate system, and define the shortest angular distance as the phase decoupling coefficient; A two-dimensional feature boundary determination model based on morphological asymmetry index and phase decoupling coefficient is established. The morphological asymmetry index and phase decoupling coefficient of the initial high-frequency segments are compared with the preset distortion criteria of the two-dimensional feature boundary determination model. Initial high-frequency segments that do not meet the preset distortion criteria are eliminated, and the retained initial high-frequency segments are aggregated to obtain a set of pathological high-frequency oscillation events.
8. The method for identifying SEEG pathological high-frequency oscillations through brain state correction according to claim 1, characterized in that: The specific process of extracting the electrode contact channels corresponding to the pathological high-frequency oscillation event set, analyzing the spatial coordinates of the electrode contact channels in the brain stereotactic coordinate system, statistically analyzing the occurrence frequency of pathological high-frequency oscillation events under each spatial coordinate, and correlating the occurrence frequency with the spatial coordinates to output the pathological high-frequency oscillation identification distribution data is as follows: Extract the data acquisition channel identifiers attached to each event fragment within the pathological high-frequency oscillation event set, retrieve the spatial mapping table of the multimodal brain image registration module, and parse the spatial coordinates of the electrode contact points corresponding to the data acquisition channel identifiers in the brain stereotactic coordinate system. Establish a unit time analysis window, accumulate the total number of occurrences of pathological high-frequency oscillation event segments under the spatial coordinates of the same electrode contact within the unit time analysis window, and generate the occurrence frequency; A three-dimensional spatial coordinate system is constructed, and the occurrence frequency is assigned to the corresponding spatial coordinate node of the electrode contact in the three-dimensional spatial coordinate system. Three-dimensional Gaussian kernel density smoothing interpolation is performed outward along the node to output pathological high-frequency oscillation identification distribution data.
9. An electronic device, characterized in that, The method includes a processor and a memory, the memory storing computer-executable instructions that can be executed by the processor, the processor executing the computer-executable instructions to implement the method according to any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is executed by a processor to implement the method as described in any one of claims 1-8.
