Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add gamma kernel in topology #823
Here, the updated code and test suite for Gamma kernel in topology. Note that I am not quite skilled to write in C++ but I tried to modify codes according to @heplesser points.
Parts of equation is pre-computed in the constructor for better efficiency. I also implemented factorial function but in comment in case we want to compile it without GSL. I apologize that I am not aware of Travis testing and failed to find the source of the error.
For testing suite in pynest, I implemented the python code to compare the connection distributions with Gamma PDF. Here, I do not understand why NEST connect neurons in Gamma shaped manner for kappa + 1 (See the visual comparision).
@babsey Yes, you are right. When NEST is compiled without support for GSL, functions from that library, such as
Additionally, line 60 and line 97 in
@babsey This looks quite fine now, but see my detailed comments. I do not understand your comment in the discussion from 4 Dec 2017, where you write "Here, I do not understand why NEST connect neurons in Gamma shaped manner for kappa + 1 (See the visual comparision)." Is this still relevant? If so, could you explain it?