Hi I am currently studying physics at the undergraduate level. As part of my final year project Ive got to implement the HH model and investigate certain types of behaviour.
My issue is the following.
I understand that for $I_{inj}>I_{thresh}$ we should expect action potentials that spike at a regular frequency.
Here I've got an input current that seems to generate 2 initial spikes however no further spikes are generated. Is this physical? The presence of the initial spikes must mean that the input current is greater than the threshold, but we do not see consistent spikes across the entire stimulatory current.
Increasing the current slightly gives the expected behavior:
Is this an error in the code or is this a real physical phenomena?
EDIT------------------------------ Following Bryan Krause's suggestions, here is the full picture with the gating variables.
Case 1: Stimulus current with amplitude 35 mA with period 100ms
Case 2: Stimulus current with amplitude 37 mA with period 100ms
Case 3: Stimulus current with amplitude 500 mA with period 100ms