Patent Document ID: 10080506
Application ID: 14814364
Patent Flag: 1

Claim One:
1. A method for processing brainwave signals of a patient having a neurological or mental disorder, the method comprising: receiving, by one or more processors, a brainwave signal obtained by a device coupled to a patient, the brainwave signal containing noise; performing, by the one or more processors, an n-level decomposition of the brainwave signal into wavelet components of different scales to separate the brainwave signal from the noise; for each individual wavelet component among the wavelet components of different scales, inputting, by the one or more processors, the individual wavelet component into a corresponding compression module to squeeze out the noise from the individual wavelet component in a decomposed domain, wherein the compression module is self-supervised and has been trained by creating an output behavior of the compression module that closely matches an input behavior of the compression module; performing, by the one or more processors, an inverse decomposition on outputs from the compression modules to recover a clean brainwave signal in a time domain; and causing, by the one or more processors, physiological stimulation of the patient with signals generated based on the neurological or mental disorder of the patient as determined by comparing the clean brainwave signal to at least one of a plurality of normal or abnormal brainwave signals stored in a database, wherein each abnormal brainwave signal is indicative of a neurological or mental disorder.