{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/a-modular-open-source-software-platform-for","title":"Dareplane: A modular open-source software platform for BCI research with application in closed-loop deep brain stimulation","arxiv_id":"2408.01242","date":"2024-08-02","proceeding":null,"authors":["Matthias Dold","Joana Pereira","Bastian Sajonz","Volker A. Coenen","Jordy Thielen","Marcus L. F. Janssen","Michael Tangermann"],"abstract":"Objective - This work introduces Dareplane, a modular and broad technology-agnostic open source software platform for brain-computer interface research with an application focus on adaptive deep brain stimulation (aDBS). One difficulty for investigating control approaches for aDBS resides with the complex setups required for aDBS experiments, a challenge Dareplane tries to address. Approach - The key features of the platform are presented and the composition of modules into a full experimental setup is discussed in the context of a Python-based orchestration module. The performance of a typical experimental setup on Dareplane for aDBS is evaluated in three benchtop experiments, covering (a) an easy-to-replicate setup using an Arduino microcontroller, (b) a setup with hardware of an implantable pulse generator, and (c) a setup using an established and CE certified external neurostimulator. The full technical feasibility of the platform in the aDBS context is demonstrated in a first closed-loop session with externalized leads on a patient with Parkinson's disease receiving DBS treatment and further in a non-invasive BCI speller application using code-modulated visual evoked responses (c-VEP). Main results - The platform is implemented and open-source accessible on https://github.com/bsdlab/Dareplane. Benchtop results show that performance of the platform is sufficient for current aDBS latencies, and the platform could successfully be used in the aDBS experiment. The timing-critical c-VEP speller could be successfully implemented on the platform achieving expected information transfer rates. Significance - The Dareplane platform supports aDBS setups, and more generally the research on neurotechnological systems such as brain-computer interfaces. It provides a modular, technology-agnostic, and easy-to-implement software platform to make experimental setups more resilient and replicable.","url_abs":"https://arxiv.org/abs/2408.01242v3","url_pdf":"https://arxiv.org/pdf/2408.01242v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"a-modular-open-source-software-platform-for","repo_url":"https://github.com/bsdlab/dareplane","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":null}],"tasks":[{"task_slug":"brain-computer-interface","task_name":"Brain Computer Interface"}],"methods":[{"method_slug":"focus","method_name":"Focus"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}