model of DCN pyramidal neuron
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.
 
 

41 lines
1.1 KiB

class PSD(object):
"""
Base class for postsynaptic density mechanisms, possibly including cleft.
May accept either NetCon or pointer inputs from a Terminal, and directly
modifies the membrane potential and/or ion concentrations of the
postsynaptic cell.
"""
def __init__(self, section, terminal):
"""
Parameters
----------
section : :obj:`NEURON section`
Set the section in the postsynaptic cell that the terminal is attached to.
terminal : :obj:`Synapse`
"""
self._section = section
self._terminal = terminal
@property
def section(self):
""" The cell section this PSD is attached to.
"""
return self._section
@property
def cell(self):
""" The cell this PSD is attached to.
"""
from ..cells import Cell
return Cell.from_section(self.section)
@property
def terminal(self):
""" The presynaptic terminal connected to this PSD.
"""
return self._terminal