This model is used in 

Adam C. Frank, Shan Huang, Miou Zhou, Amos Gdalyahu, George Kastellakis, Panayiota Poirazi, Tawnie K. Silva, Ximiao Wen6, Joshua T. Trachtenberg, and Alcino J. Silva  
Hotspots of Dendritic Spine Turnover Facilitate Learning-related Clustered Spine Addition and Network Sparsity



Instructions:

1. Make the main model executable (Requires g++) 
% make

2. Run the simulations
% bash  run_to.sh

3. Graph generation requires MATLAB v. R2014a. The graphs are generated by the following 2 matlab files:
> an_to
> an_to_m


The model code is licensed under the  GPLv3 license (see LICENSE).

The matlab code makes use of the open source exportfig matlab package which is included (see exportfig/LICENSE for details ).

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.