to cythonize the leaky integrate and fire code, run: python cython_setup.py build_ext --inplace