The application discloses a kind of
epilepsy detection and
positioning system and method combined time
convolution and
Transformer network, comprising:
data acquisition module is configured to be used to obtain the multichannel electroencephalogram
signal to be measured by sequentially connected
electrode, multichannel electroencephalograph
amplifier and A / D converter, and multichannel electroencephalogram
signal is divided into multiple multichannel electroencephalogram
signal segments according to time;
Data processing module is configured to be used for each multichannel electroencephalogram signal segment, the time-frequency characteristics of multichannel electroencephalogram signal segment are extracted by
S transform, and dimension reduction
processing is carried out;
Epilepsy detection module is configured to be used to input the multichannel electroencephalogram signal segment of dimension reduction
processing to trained TCN-
Transformer model, and obtain
epilepsy detection result;
Epilepsy positioning module is configured to be used to calculate the weight of each channel based on
epilepsy seizure probability
score when detecting epilepsy, generate the final activation vector of each channel based on weight, and realize the positioning and
visualization of
epilepsy seizure based on the activation vector.The application can more comprehensively capture multiscale time-
frequency space features from multichannel
EEG data, so as to improve the accuracy and robustness of epilepsy detection and
lesion positioning.