Electric Field Modeling for Transcranial Magnetic Stimulation and Electroconvulsive Therapy