Software for fitting Hodgkin-Huxley Models to Voltage-Clamp data

Allan Willms


This is version 1.7 released May 21, 2004. Release Notes.

NEUROFIT is a program which fits Hodgkin-Huxley models to voltage-clamp data. NEUROFIT is available freely online at
NEUROFIT should run on any Microsoft Windows environment.

Bug reports and comments should be sent to Allan Willms.

Installation Instructions

  1. Download (2.8 MB)
  2. Install NEUROFIT by simply unzipping the file somewhere; it doesn't matter where. You will get a directory called NEUROFIT.
  3. To run NEUROFIT, launch NEUROFIT.exe in the NEUROFIT directory.
  4. Usage instructions and a tutorial are available from within NEUROFIT by clicking on "Help".
  5. Register via emailto receive email notification whenever this software is updated.


The code which performs the nonlinear least squares fitting is a C translation and adaptation of an implementation of the Levenberg-Marquardt algorithm written in Fortran and freely available from the Netlib Mathematical Software Repository (lmder.f). The translation was done by Howie Kuo and adaptations to allow for linear inequality constraints were completed by Allan Willms. The remainder of the code for the nonlinear fitting algorithm, and all of the code for the quick fit linear algorithm was written by Allan Willms. The user interface was written by Greg Ewing and Allan Willms using the Python interpretive language (freely available from A Python interpreter is bundled as part of the NEUROFIT package.

Support for this project has been given by:


This software is introduced and its convergence properties are described in:
A.R. Willms, NEUROFIT: software for fitting Hodgkin-Huxley models to voltage-clamp data, J. Neurosci. Meth. 121 (2002), 139-150.

The nonlinear fitting algorithm is described in:
A.R. Willms, D.J. Baro, R.M. Harris-Warrick, and J. Guckenheimer, An improved parameter estimation method for Hodgkin-Huxley models, J. Comput. Neurosci. 6 (1999), 145-168.

The quick fit algorithm is based on the one described in:
T.I. T�th and V. Crunelli, A numerical procedure to estimate kinetic and steady-state characteristics of inactivating ionic currents, J. Neurosci. Meth. 63 (1995), 1-12.