This is an alternative implementation of:
The author's version is available at http://modeldb.yale.edu/136715.
The main differences are:
Two of the three mod files used (kv, Kv1) have been retained unmodified from the author's version. The third, nacurrent is a simplified version of the original author's hh_Cs_scaled after removing the potassium and leak currents from that file which are not used in this model. The name has been changed to deemphasize the file's historical connection to hh.mod as the temperature dependence and rate functions are not intended to be appropriate for modeling a squid.
To run, compile the mod files in this directory (on Linux or Mac by changing to this directory and typing nrnivmodl; on Windows by dragging this folder to the mknrndll icon), then run mosinit.py via either:
python -i mosinit.py
python3 -i mosinit.py
depending on your Python setup. Choose either "Fig 3A" or "Fig 6B" from the popup, and click "Init & Run". When the simulations complete you should see the respective images below: