Cython template added inefficient spikegenerator