Its quite marvelous to consider that we are hard wired to be happy, and depression is a "bug" that can be fixed with a crude electric jolt and not, in contrast, some complex intricate inner state. Perhaps God likes us after all...
That sort of shock doesn't need to be very sophisticated, like fixing a clock work would need to be.
I imagine it might be similar for this treatment.