Text this: Periodic Artifact Removal With Applications to Deep Brain Stimulation