This is a Python class implementation of the methods introduced in: Romain Brette, "Generation of Correlated Spike Trains", Neural Computation 21, 188-215, 2009.
- The file
corr_spike_trains.py
include the main class implementing the Cox process and the Mixture method. - The file
example.py
contains two simple examples of how to use the two methods in order to generate correlated spike trains.
- Numpy
- Matplotlib
- Ubuntu 20.04.5 LTS
- GCC 9.4.0
- Python 3.8.10
- x86_64