Skip to content

Commit

Permalink
branding: Neuron -> NEURON
Browse files Browse the repository at this point in the history
  • Loading branch information
ramcdougal authored Sep 28, 2023
1 parent 5b059f0 commit f4be23d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/python/programming/neuron_classes.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NEURON Python Classes and Objects
=================================

Neuron exposes its internal objects and hoc templates as Python objects via an automatic
NEURON exposes its internal objects and hoc templates as Python objects via an automatic
conversion layer, effectively making all entities from the HOC stack available to a Python program.

There are basically two main objects which expose most Neuron entities. The first is `hoc` which
Expand All @@ -18,7 +18,7 @@ exposes a number of internal established classes and functions.
hoc.Vector(
...
However, for *dynamic* entities Neuron provides the `h` gateway object. It gives access to internal
However, for *dynamic* entities NEURON provides the `h` gateway object. It gives access to internal
classes (templates) and objects, even if they were just created. E.g.:

.. code-block::
Expand All @@ -37,12 +37,12 @@ classes (templates) and objects, even if they were just created. E.g.:
>>> vv.as_numpy()
array([1., 1., 1., 1., 1.])
This is particularly useful as Neuron can dynamically load libraries with more functions and classes.
This is particularly useful as NEURON can dynamically load libraries with more functions and classes.

Class Hierarchy
---------------

All NEURON's internal interpreter objects are instances of a global top-level type: HocObject.
All NEURON's internal interpreter objects are instances of a global top-level type: `HocObject`.
Until very recently they were considered direct instances, without any intermediate hierarchy.

With #1858 Hoc classes are now associated with actual Python types, created dynamically. Such
Expand Down

0 comments on commit f4be23d

Please sign in to comment.