Related Experiment Video
Updated: Mar 10, 2026

An Open-Source, Fully Customizable 5-Choice Serial Reaction Time Task Toolbox for Automated Behavioral Training of Rodents
Published on: January 19, 2022
The Multivariate Temporal Response Function (mTRF) Toolbox: A MATLAB Toolbox for Relating Neural Signals to
Michael J Crosse1, Giovanni M Di Liberto2, Adam Bednar3
1School of Engineering, Trinity Centre for Bioengineering and Trinity College Institute of Neuroscience, Trinity College DublinDublin, Ireland; Department of Pediatrics and Department of Neuroscience, Albert Einstein College of MedicineThe Bronx, NY, USA.
This study introduces a new open-source toolbox for analyzing brain activity using regularized linear regression. It helps map complex sensory stimuli to neural responses recorded via electroencephalography (EEG) and magnetoencephalography (MEG).
Area of Science:
- Neuroscience
- Computational Neuroscience
- Systems Neuroscience
Background:
- Understanding brain processing of natural sensory signals is a key goal in neuroscience.
- Noninvasive techniques like electroencephalography (EEG) and magnetoencephalography (MEG) offer high temporal resolution for studying brain activity.
- Analyzing complex neural responses to natural stimuli presents significant challenges.
Purpose of the Study:
- To review system identification techniques for analyzing neural responses to sensory stimuli.
- To introduce a new open-source toolbox for deriving temporal response functions.
- To enable bidirectional mapping between stimulus features and neural responses.
Main Methods:
- Application of system identification techniques, specifically regularized linear regression.
- Development and utilization of a new open-source toolbox for analysis.
- Fitting temporal response functions to map stimulus features to neural activity.
Main Results:
- The toolbox facilitates the derivation of (multivariate) temporal response functions.
- It allows for bidirectional mapping between sensory stimuli and neural responses.
- The importance of regularization and its optimization for datasets is explained.
Conclusions:
- The developed toolbox provides a method for analyzing complex neural data from EEG and MEG.
- It aids in understanding how the brain processes sensory information in natural environments.
- The study outlines limitations and future directions for the toolbox.

