A method of configuring a local brain stimulation tool is disclosed. The method comprises: obtaining a reference brain network activity (BNA) pattern, and a BNA pattern describing a neurophysiological state of the subject, each of the BNA patterns having a plurality of nodes and each node representing a brain location and at least one brain wave frequency. The method further comprises comparing the BNA patterns; and configuring the local brain stimulation tool to apply local brain stimulation at a frequency selected based on the comparison.