Recently I’ve been reading an introductory book about Computational Neuroscience (Tutorial on Neural Systems Modeling). You may wonder if this is complicated. Well, you’re right, it is complicated ¯\(ツ)/¯.
Let’s have a look at one of the first examples. The following script is quite simple. It just simulates the response of the brain to a continuous stimulus (i.e. Habituation).