This repository contains the scripts required to analyse a
neuropsychological experiment, code-named "Charvis", that
is intended to uncover the alignment of the P600 component.
The scripts are for MATLAB and all require EEGLAB; one also
requires ERPLAB. MATLAB is expensive, but widely available,
and EEGLAB/ERPLAB are GPL'd and can be downloaded at
The data these scripts are intended for has now been collected
and is in the process of being uploaded to a figshare account
that will be linked from here.
A manuscript describing the hypotheses behind this
experiment, and the analyses these scripts are intended to perform,
has been submitted as a Registered Report to Cortex and has been granted
You can find these files here because my coworker Phillip Alday has
proposed how a version control system tracking experimental analysis
scripts can further improve scientific standards. You can find a
This repo contains a number of files. Generally, you first have to preprocess
files using charvis-prep. Then, you can use either of the other files to
generate one of the measures, like ERPimages or ERPimage-derived statistics,
or even regular ERPs if you feel so inclined.
None of the scripts are assumed to be especially optimised.
These scripts are released under the BSD license:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
You can’t perform that action at this time.