Digitally-Assisted and Artifact-Robust Next-Generation Closed-Loop Neural Interfaces