This is a simple simulation of the GridPlaceMap Model described in the paper of Pilly et. al 2012.
To execute the simulation just run the main.m file in matlab.
The agent is located in a circular environment in which it has to navigate towards an activated cue. Once it reaches that cue the episode is over and another cue is choosen from a list.
For now only Stripe Cells are implemented. The tuning parameters for the ring attractors and therefore for the different stripe cells can be set in the HPC class. The default values are taken from the paper of Pilly et. al 2012.
One can choose between two different displaying modes in the HPC class:
- DISPLAY_MODE = 1 : the environment together with the rate map of a defined stripe cell are displayed. One can choose which stripe cell should be recorded with the variable STRIPE_CELL = {direction,scale,phase}.
- DISPLAY_MODE = 2 : the environment together with the rate map and all ring attractors are displayed. IMPORTANT: If displaying all ring attractors one should increase the number of phases to display e.g. PHASES = [0:1/100:1]
For faster generation of the rate map it is recommended to set the FAST_PLOTTING variable in the main.m file to 1. By that the figures are updated only once an episode has finished i.e. a goal is reached.