HPC Tier Module

Hodgkin-Huxley Action Potential

Fire a Hodgkin-Huxley action potential in exact f64 RK4, anchored to rest, threshold, and refractoriness.

See it run - a worked example, 100% in this browser tab

The problem

Neurophysiology teaching and numerical verification need a Hodgkin-Huxley model that reproduces the classic resting, threshold, and refractory behavior exactly and reproducibly, not an opaque spike generator.

The local-first solution

This plugin integrates the cited 1952 HH membrane and m/h/n gating equations in exact f64 RK4 and checks the trajectory against closed-form anchors - the current-balance rest point, the all-or-none threshold, and the absolute refractory period - in your browser with no upload.

What it does

RK4 integration of the HH membrane ODE with m^3 h Na+, n^4 K+, and leak currents
Voltage-dependent alpha/beta rate functions with exact removable-singularity limits
Closed-form resting potential from the ionic current-balance root
All-or-none spike threshold with a supra-threshold overshoot above 0 mV
Absolute refractory period under a closely-spaced second pulse
GeoNum conditioning of the near-cancelling net ionic current with a Richardson fallback

Honest scope

Exact: the HH membrane and gating ODEs, the published rate functions with their removable-singularity limits, and classical RK4. It is a single isopotential, space-clamped membrane patch using the squid-axon parameter set at ~6.3 C with no temperature (Q10) rescaling; it does not model spatial propagation along the axon, other ion channels, synaptic input, channel noise, or any specific mammalian neuron. Research and education tool only - not a model of any individual's nervous system, not a medical device, and not medical advice.

Authorities cited

Fire an action potential

Compute the spike, threshold, and refractory behavior in your browser, with nothing uploaded to anyone's cloud. Save the run to Sandbox, attach it to a Worklog case, or share the parameter set through a Gate portal.

GDBS by VaultSync Solutions Inc. - Verifiable Computation. gdbs.getvaultsync.com