Code for Review illustration in Wittkuhn, Chien, McMaster, Schuck
Run replay_sim.R
to run the simulations.
Warning: It takes between 10 to 20 minutes to execute (depending on OS).
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
You can also run the code using make
by running the following command.
make all
We've created a Docker container (see Dockerfile) and uploaded it to dockerhub.
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.
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