Email Post: Optimal Multichannel Artifact Prediction and Removal for Neural Stimulation and Brain Machine Interfaces