Skip to main content Accessibility help
×
Hostname: page-component-76fb5796d-qxdb6 Total loading time: 0 Render date: 2024-04-26T13:05:46.070Z Has data issue: false hasContentIssue false

12 - hoc, NEURON's interpreter

Published online by Cambridge University Press:  01 September 2010

Nicholas T. Carnevale
Affiliation:
Yale University, Connecticut
Michael L. Hines
Affiliation:
Yale University, Connecticut
Get access

Summary

But what it was that inscrutable Ahab said to that tiger – yellow crew of his – these were words best omitted here; for you live under the blessed light of the evangelical land. Only the infidel sharks in the audacious seas may give ear to such words, when, with tornado brow, and eyes of red murder, and foam-glued lips, Ahab leaped after his prey.

Much of the flexibility of NEURON is due to its use of a built-in interpreter, called hoc (pronounced “hoak”), for defining the anatomical and biophysical properties of models of neurons and neuronal networks, controlling simulations, and creating a graphical user interface. In this chapter we present a survey of hoc and how it is used in NEURON. Readers who seek the most up-to-date list of hoc keywords and documentation of syntax are referred to the online Programmer's Reference (see link at http://www.neuron.yale.edu/neuron/docs/docs.html). This can also be downloaded as a pkzip archive for convenient offline viewing with any WWW browser. The standard distribution for MSWindows includes a copy of the Programmer's Reference which is current as of the date of the NEURON executable that it accompanies (see the “Documentation” item in the NEURON program group).

NEURON's hoc is based on the floating point calculator by the same name that was developed by Kernighan and Pike (1984).

Type
Chapter
Information
The NEURON Book , pp. 343 - 362
Publisher: Cambridge University Press
Print publication year: 2006

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×