cortex-lab / Rigbox

A MATLAB toolbox for running behavioral neuroscience experiments and managing data
GNU General Public License v3.0
33 stars 16 forks source link

QC function run on cleanup #288

Open k1o0 opened 4 years ago

k1o0 commented 4 years ago

Is your feature request related to a problem? Please describe. In light of the issues in IBL, it would be nice to have a QC service that runs at the end of an experiment.

Describe the solution you'd like This would check for task logic violations, etc. and would be customizable. The basic one would test for things like trial events being the right length, all newTrials starting before endTrials and timestamps nontonically increasing. This could be run as a service that is triggered at expStop, or be a parameter that is called by the cleanup routine?