This repo contains code to run the Distribution Alignment Decoder (DAD) method described in this paper.
Dyer, E. L., Azar, M. G., Perich, M. G., Fernandes, H. L., Naufel, S., Miller, L. E., & Körding, K. P. (2017). A cryptography-based approach for movement decoding. Nature Biomedical Engineering, 1(12), 967. doi:10.1038/s41551-017-0169-7
If you use any of the datasets and/or code contained in this repository, please cite this paper. If you have questions, please contact evaLdyer{at}gmail{dot}com.
The demo folder has the two datasets (from Subject M and Subject C) used to run the demo scripts (script_runDAD.m and script_runDAD_comparewithsup.m).
To run other scripts and examples in this repository, download the rest of the data here. Once you download and unzip this folder, put both of the folders (data and parameter_matfiles) in this folder (/DAD/data).