Skip to content

Python & Matlab code for an Attractor Network Model of Changes of Mind (CoM).

Notifications You must be signed in to change notification settings

AnneLoffler/AttractorNetwork-CoM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AttractorNetwork-CoM

This project contains the full code for an Attractor Network Model (ANM) simulating Changes of Mind (CoM) in voluntary action, as reported in:

Löffler, Sylaidi, Fountas & Haggard (2019). "A hierarchical attractor network model of perceptual versus intentional decision updates." Nature Communications 12.1 (2021): 2020.

Code versions

The model is implemented in both Python and Matlab.

  • The Python folder contains all code required to implement the model (ANM.py) and perform model optimization based on Powell's methods (fmin_powell.py).

  • The Matlab folder contains code that simulates a specified number of trials (ANM_runSim.m) and plots single-trial model outcomes (plotTrials.m).

About

Python & Matlab code for an Attractor Network Model of Changes of Mind (CoM).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published