Transcranial magnetic stimulation - A brief electrical current is passed through a wire coil placed on the scalp. This creates a magnetic pulse, which stimulates the brain. During the test, the participant may be asked to tense certain muscles slightly or perform other simple actions.