At least one embodiment of the disclosure is directed to a method for processing brainwave signals for treating a patient having neurological disorder or mental disorder or a combination of neurological and mental disorder. The method comprises: measuring a brainwave signal from the patient, the measured brainwave signal containing noise; denoising the brainwave signal to obtain a clean brainwave signal; matching the clean brainwave signal to a database of brainwave signals for neurological or mental conditions or a combination of neurological and mental conditions to identify the patient's neurological or mental status or a combination of neurological and mental conditions; and applying a therapeutic treatment to the patient based on the identified neurological or mental status or a combination of neurological and mental conditions.