June 6, 2018
This post is relevant for MedPC users who also use MatLab or Python for data analysis.
We recently became aware that many MedPC users are not saving precise times for behavioral events from their experiments. A method called time-event codes was worked out around 2000 by Russ Church and his group at Brown, working with MedAssociates. Marcelo Caetano, a former postdoc in the Laubach Lab at Yale, incorporated this approach into an existing MatLab function (MedParse, written by Kumar Narayanan during his PhD training in the Laubach Lab at Yale). More recently, the code was ported to Python by Kyra Swanson, a Phd student in the Laubach Lab at American University. It is available at https://github.com/LaubachLab/MedParse. MedPC code for saving precise times of behavioral events (example in MedPC Template) and MatLab and Python functions are provided that convert MedPC data (see the template) into “time-event codes,” i.e., a two-column matrix with times (column 1) and events (column 2).