OpBox: Open Source Tools for Simultaneous EEG and EMG Acquisition from Multiple Subjects

eNeuro. 2020 Oct 28;7(5):ENEURO.0212-20.2020. doi: 10.1523/ENEURO.0212-20.2020. Print 2020 Sep/Oct.


In vivo electrophysiology experiments require the collection of data from multiple subjects, often for extended periods. Studying multiple subjects for extended periods can be made more efficient through simultaneous recordings, but scaling up recordings to accommodate larger numbers of subjects simultaneously requires coordination and consideration of costs and flexibility. To facilitate this process, we have developed OpBox, an open source set of tools to acquire electroencephalography (EEG) and electromyography (EMG) flexibly from multiple rodent subjects simultaneously. OpBox combines open source hardware and software with off-the-shelf components to create a system that costs less than commercial solutions ($500 per subject), and can be easily deployed for multiple subjects. Coded in MATLAB, OpBox scripts can simultaneously and flexibly collect and display multiple analog and digital data streams, for instance real-time EEG and EMG, event triggers from a behavioral system, and rotary encoder data. OpBox also calculates and displays real-time spectral representations and event-related potentials (ERPs). To verify the performance of our system, we compare our amplifiers with two other commercial amplifiers, a Grass P55 AC preamplifier and an Intan RHD2000-series amplifier. The OpBox amplifier performs comparably to commercial amplifiers for signal-to-noise ratios (SNRs), noise floors, and common mode rejection. We also demonstrate that our acquisition system can reliably record multichannel data from multiple subjects, and has been successfully tested with 12 subjects running simultaneously on a single standard desktop computer. Together, OpBox increases the flexibility and lowers the cost for simultaneous acquisition of electrophysiology data from multiple subjects.

Keywords: EEG; EMG; amplifier; electrophysiology; open source; rodent.

MeSH terms

  • Electroencephalography*
  • Electromyography
  • Evoked Potentials
  • Signal Processing, Computer-Assisted
  • Signal-To-Noise Ratio
  • Software*