A protocol generation and treatment system (10, 11) comprising: a database for storing at least one reference neural activity profile, the reference neural activity profile including reference neural activity data at a plurality of neural network frequencies; an array of neural activity sensors, each configured to obtain measurements of one or more types of neural activity of a patient at at least some of the plurality of neural network frequencies; a processor; and an electromagnetic field generator configured to apply an electromagnetic field to the patient; wherein said system is operative to obtain said measurements from said array of neural activity sensors concurrently with a stimulus session in which the patient performs a physical movement or cognitive task, or a physical movement is applied to the patient; and wherein the measurements include neural activity data of the patient whilst performing the physical movement or cognitive task, or whilst the physical movement is applied; wherein the processor is configured to compare the measurements obtained by the array of neural activity sensors with the reference neural activity data to identify one or more of the plurality of neural network frequencies corresponding to impaired functionality, and to generate a treatment protocol for the patient based on the identified one or more neural network frequencies, characterized in that the treatment protocol defines characteristics of an electromagnetic field to be applied to the patient at at least some of the identified one or more neural network frequencies; and in that the electromagnetic field generator is configured to apply the electromagnetic field to the patient at at least some of the identified one or more neural network frequencies in accordance with the treatment protocol. a database for storing at least one reference neural activity profile, the reference neural activity profile including reference neural activity data at a plurality of neural network frequencies; an array of neural activity sensors, each configured to obtain measurements of one or more types of neural activity of a patient at at least some of the plurality of neural network frequencies; a processor; and an electromagnetic field generator configured to apply an electromagnetic field to the patient; wherein said system is operative to obtain said measurements from said array of neural activity sensors concurrently with a stimulus session in which the patient performs a physical movement or cognitive task, or a physical movement is applied to the patient; and wherein the measurements include neural activity data of the patient whilst performing the physical movement or cognitive task, or whilst the physical movement is applied; wherein the processor is configured to compare the measurements obtained by the array of neural activity sensors with the reference neural activity data to identify one or more of the plurality of neural network frequencies corresponding to impaired functionality, and to generate a treatment protocol for the patient based on the identified one or more neural network frequencies, characterized in that the treatment protocol defines characteristics of an electromagnetic field to be applied to the patient at at least some of the identified one or more neural network frequencies; and in that the electromagnetic field generator is configured to apply the electromagnetic field to the patient at at least some of the identified one or more neural network frequencies in accordance with the treatment protocol.