Skip to content

Code for Review illustration in Wittkuhn, Chien, McMaster, Schuck

License

Notifications You must be signed in to change notification settings

nschuck/replaysim-wittkuhn-etal2021

Repository files navigation

Replay Simulations

Build

Code for Review illustration in Wittkuhn, Chien, McMaster, Schuck

Run

Run replay_sim.R to run the simulations.

Warning: It takes between 10 to 20 minutes to execute (depending on OS).

Citation

Wittkuhn, L., Chien, S., Hall-McMaster, S., and Schuck, N. W. (2021). Replay in minds and machines. Neuroscience & Biobehavioral Reviews, 129:367–388. doi: 10.1016/j.neubiorev.2021.08.002

Build

Make

You can also run the code using make by running the following command.

make all

Docker

We've created a Docker container (see Dockerfile) and uploaded it to dockerhub.

Running the container

You can run the make command inside the Docker container:

docker run --rm -v $PWD:/home lennartwittkuhn/replaysim-wittkuhn-etal2021 /bin/sh -c "cd /home; make all"

The figures created by the simulation can be retrieved as Build Artifacts. Search the latest executed workflow and Build Artifacts here to download the figures.

Building the container

The commands below were used by us to create the container. They are listed here for documentation purposes.

docker login
docker build -t lennartwittkuhn/replaysim-wittkuhn-etal2021:latest .
docker push lennartwittkuhn/replaysim-wittkuhn-etal2021:latest

About

Code for Review illustration in Wittkuhn, Chien, McMaster, Schuck

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published