This is the code for simulation of the population of the adaptive integrate-and-fire neurons. It generates the neural population firing-rate depending on the transmembrane potential and takes into account the slow adaptive currents. The corresponding paper could be found here http://link.springer.com/article/10.1134/S0006350910040135
If you plan to use this code, please do not forget to cite the corresponding paper.
Best Anatoly