An important step in #ComputationalNeuroscience was the development of the #HodgkinHuxley model, for which Hodgkin and Huxley received the #NobelPrize in 1963. The model describes the dynamics of the #MembranePotential of a #neuron
by incorporating biophysiological properties. See here how it is derived, along with a simple implementation in #Python:
https://www.fabriziomusacchio.com/blog/2024-04-21-hodgkin_huxley_model/
Feel free to share and to experiment with the code.