This repository hosts the codes for decoding of cortex-wide brain activity from local recordings of neural potentials.
Liu, X., Ren, C., Huang, Z., Wilson, M., Kim, J.H., Lu, Y., Ramezani, M., Komiyama, T. and Kuzum, D., 2021. Decoding of cortex-wide brain activity from local recordings of neural potentials. Journal of Neural Engineering, 18(6), p.066009.
Running the code requires below dependencies:
Pytorch v1.1
NumPy
SciPy
h5py
- Download the dataset and store it in the "Data" folder.
- Run "ECoG_Ca_decoding_example.py" to train the model for decoding tasks.
- The decoding results and the models will be saved in the "saved_results" folder.
Link to the preprocessed Ca and LFP data: Click here