Sham-controlled low-frequency repetitive transcranial magnetic stimulation ( rTMS ) was used in patients with pharmacoresistant major depression as an added treatment along with partial sleep deprivation ( PSD ) .