Skip to content
No description, website, or topics provided.
Python MATLAB
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
figures
README.md
figure_4a.py
figure_4b.py
figure_4c.py
figure_4d.py
figure_4e.py
figure_4f.py
figure_4g.py
figure_5a.py
figure_5b.py
figure_5c.py
figure_6.py
plot_fig_5.m
plot_fig_6.m
pred_coding.py

README.md

pain-coding-model

Codes for part of the simulations in the manuscript "Predictive coding models for pain perception".

figure_4a.py to figure_4g.py are to generate figure panels in Fig.4

figure_5a,b,c.py and figure_6.py are to generate simulation results in Fig.5 and Fig.6 respectively, and save them in .mat format files for later plotting. Note these programs require heavy computation.

plot_fig_5.m and plot_fig_6.m are corresponding matlab codes for plotting Fig.5 and Fig.6 .

Please put all these files in the same folder.

You can’t perform that action at this time.