# An open-source implementation of a closed-loop electrocorticographic Brain-Computer Interface using Micromed, FieldTrip, and PsychoPy

Article · Bob Van Dyck, Arne Van Den Kerchove, Marc M. Van Hulle

- Archive id: arxiv:2602.09735
- Published: 2026-02-10
- Venue: Biomedical Signal Processing and Control, Volume 117, 2026, 109539, ISSN 1746-8094
- DOI: https://doi.org/10.1016/j.bspc.2026.109539
- arXiv: https://arxiv.org/abs/2602.09735
- Citations: 0
- Source URL: https://arxiv.org/abs/2602.09735
- PDF: https://arxiv.org/pdf/2602.09735
- Provenance: arxiv

## Abstract

We present an open-source implementation of a closed-loop Brain-Computer Interface (BCI) system based on electrocorticographic (ECoG) recordings. Our setup integrates FieldTrip for interfacing with a Micromed acquisition system and PsychoPy for implementing experiments. We open-source three custom Python libraries (psychopylib, pymarkerlib, and pyfieldtriplib) each covering different aspects of a closed-loop BCI interface: designing interactive experiments, sending event information, and real-time signal processing. Our modules facilitate the design and operation of a transparent BCI system, promoting customization and flexibility in BCI research, and lowering the barrier for researchers to translate advances in ECoG decoding into BCI applications.

_Abstract reproduced under CC0-1.0 (arXiv descriptive metadata)._

Topics: [Brain-Computer Interfaces](https://space-kitty.com/topics/brain-computer-interfaces)

---
Space Kitty Archive · https://space-kitty.com · API: https://space-kitty.com/api/v1 · MCP: https://space-kitty.com/mcp · Premium: $0.20/request via x402 (Base Sepolia (testnet)). Metadata: arXiv (CC0), OpenAlex (CC0), Europe PMC (CC BY/CC0 works), ClinicalTrials.gov.
