The Python code is for the 3-state cell death model proposed in our JoB paper
Xue, Y., El-Bouri, W. K., Józsa, T. I., & Payne, S. J. (2021). Modelling the effects of cerebral microthrombi on tissue oxygenation and cell death. Journal of Biomechanics, 127, 110705. https://doi.org/10.1016/j.jbiomech.2021.110705
A cell death model with toxin diffusion has also been uploaded here.