ballandstick
Ball and stick model. This is a two-section cell: A soma with active channels
and a dendrite with passive properties. This inherits from
Cell.
AUTHORS:
- THOMAS MCTAVISH (2010-11-04): initial version. Modified version of the
project by Hines and Carnevale. (Hines M.L. and Carnevale N.T,
Translating network models to parallel hardware in NEURON,
Journal of Neuroscience Methods 169 (2008) 425-455).
-
class ballandstick.BallAndStick(nameprefix='', **kwargs)[source]
Two-section cell: A soma with active channels and
a dendrite with passive properties.
-
build_topology()[source]
Connect the sections of the cell to build a tree.
-
create_sections()[source]
Create the sections of the cell.
nameprefix is defined in the parent Cell class.
A network may ascribe the prefix ‘cell_<id>_’ for
easy identification.
-
define_biophysics()[source]
Assign the membrane properties across the cell.
-
define_geometry()[source]
Set the 3D geometry of the cell.
-
shape_3D()[source]
Set the default shape of the cell in 3D coordinates.
Set soma(0) to the origin (0,0,0) and dend extending along
the X-axis.