Drafting code for Poisson spike counts