You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
917 B
32 lines
917 B
class Terminal(object): |
|
""" |
|
Base class for axon terminals. A terminal has a single postsynaptic |
|
neuron, but may have multiple release zones. It defines a release mechanism |
|
with a NetCon input (triggering from presynaptic voltage or calcium level) |
|
and either NetCon or pointer output for driving a PSD. |
|
|
|
""" |
|
|
|
def __init__(self, section): |
|
""" |
|
Parameters |
|
---------- |
|
section : :obj:`NEURON section` |
|
Set the section in the postsynaptic cell that the terminal is attached to. |
|
|
|
""" |
|
self._section = section |
|
|
|
@property |
|
def section(self): |
|
""" The cell section this terminal is attached to. |
|
""" |
|
return self._section |
|
|
|
@property |
|
def cell(self): |
|
""" The cell this terminal is attached to. |
|
""" |
|
from ..cells import Cell |
|
|
|
return Cell.from_section(self.section)
|
|
|