Skip to content

Simulation and analysis code for Bonaiuto, de Berker, Bestmann "Neural hysteresis in competitive attractor models predicts changes in choice bias with non-invasive brain stimulation"

License

Notifications You must be signed in to change notification settings

jbonaiuto/perceptual-choice-hysteresis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

perceptual-choice-hysteresis

Simulation and analysis code for

JJ Bonaiuto, A de Berker, S Bestmann
Neural hysteresis in competitive attractor models predicts changes in choice bias with non-invasive brain stimulation
eLife 2016, https://elifesciences.org/articles/20047

Required python libraries and versions are listed in requirements.txt

Use pip (https://pypi.python.org/pypi/pip) to install the requirements:

pip install -r requirements.txt

inside a virtual environment (https://pypi.python.org/pypi/virtualenv) to install.

From the src/python directory, run:

python perceptchoice.experiment.analysis

to analyze human participant data, or:

python perceptchoice.model.run

to run model simulations, or:

python perceptchoice.model.analysis

to analyze model simulations.

Data are archived at http://dx.doi.org/10.5061/dryad.r1072

Email jbonaiuto@gmail.com with any questions.

About

Simulation and analysis code for Bonaiuto, de Berker, Bestmann "Neural hysteresis in competitive attractor models predicts changes in choice bias with non-invasive brain stimulation"

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages