Method for cortex stimulation including the following steps:(a) electric signals are collected by a control system (7) from the cortex (6), through an electrode array (8):(b) stimulation signals are determined by a virtual neural field having a virtual array corresponding the electrode array, the virtual array receiving the collected signals as an input and the virtual neural field being adapted to control the frequency spectrum of neural activity in the cortical target, each stimulation signal being determined by a value of the virtual potential at each point of the virtual array(c) the stimulation signals are emitted in the cortex through the electrode array (8).