Not magnetic, electric it looks like. I’m not sure how I feel about running electrical current through my brain.
From Wikipedia: "ECT is often used with informed consent as a last line of intervention for major depressive disorder, mania, and catatonia. ECT machines have been placed in the Class II category (special controls) by the United States Food and Drug Administration (FDA) since 1976." (Emphasis mine.)