This is my Bsc. Thesis project at Utrecht University, supervised by Dr. Gerard Vreeswijk. Data was provided by Senfal BV.
The paper can be found here: https://dspace.library.uu.nl/handle/1874/353281
I have left Senfal for neuroscience at the University of Edinburgh, so this is old, no longer maintained, code. Feel free to reach out for questions.