In Brian 1.4, there was a function ‘correlatedspikes’ to generate spike trains with given correlations, which was based on
Generation of correlated spike trains.
Based on the article: Brette, R. (2009). Generation of correlated spike trains.
But I didn’t find one in latest Brian2.
May I know if you can add this function to Brian2?
Minimal code to reproduce
Hello,
there seems to have been some discussion on GitHub resulting in a snippet of code which should accomplish the same effect (but not a built-in Brian2 function yet).