Repetitive Transcranial Magnetic Stimulation (rTMS) is administered at a pulse frequency that is optimized with respect to settling time of the EEG oscillations, measured at the pulse frequency. Pulse frequency is adjusted following each pulse train to achieve a maximum settling time. A device is disclosed which is configured to allow for magnetic pulse frequency optimization.