https://123dok.net/document/q766k3dy-computing-with-pavlovian-populations.html