Skip to content
Prev 317282 / 398503 Next

A Hodgkin Huxley Model

On Feb 10, 2013, at 3:35 PM, Jannetta Steyn wrote:

            
The output certainly looks more sensible. You commented out the if- 
reset strategy and are using events. Can you explain how the event  
code is triggered? I no longer see a definition of a v>=30 trigger.  
The vignette says "Events occur when the values of state variables are  
instantaneously changed. They can be specified as a data.frame, or in  
a function. Events can also be triggered by a root function." Is the  
code detecting the sudden rise to infinite values and using that as  
the trigger for a reset?