Can I use this on my full codebase all at once, without inserting "from beartype import beartype" into each file and decorating every single function and method?
The classic is Eugene M. Izhikevich, Dynamical systems in neuroscience: the geometry of excitability and bursting, 1967. A lot more work by Bard Ermentrout. Topological methods are pretty well established in computational neuroscience, but there is still little overlap with the deep neural nets that are now commonplace.