single_cell_parsersynapseSynapse

Synapse

class single_cell_parser.synapse.Synapse(edgeID, edgePtID, edgex=None, preCellType='', postCellType='')

Synapse class for synaptic activations and NEURON API.

Used in single_cell_parser.cell.Cell to store synapse information, and to activate/deactivate synapses in NEURON.

See also

This is not the same class as singlecell_input_mapper.singlecell_input_mapper.cell.Synapse. This class is specialized for the NEURON simulator, and is used to store synapse information and activate/deactivate synapses in NEURON.

Parameters:
  • edgeID (int) – ID of attached section in cell.sections

  • edgePtID (int) – ID of attached point in cell.sections[edgeID].pts

  • preCellType (str) – reference to presynaptic PointCell

  • postCellType (str) – reference to postsynaptic PointCell

Attributes:

secID

ID of attached section in cell.sections

Type:

int

ptID

ID of attached point in cell.sections[self.secID].pts

Type:

int

x

Relative coordinate along attached section (from 0 to 1)

Type:

float

preCellType

Type of the presynaptic PointCell

Type:

str

preCell

Reference to presynaptic PointCell

Type:

PointCell

releaseSite

Release site of presynaptic cell.

Type:

PointCell

postCellType

Postsynaptic cell type.

Type:

str

coordinates

3D coordinates of synapse location

Type:

list

receptors

Stores hoc mechanisms

Type:

ParameterSet

netcons

Stores NetCons

Type:

list

weight

Synaptic weight

Type:

float

_active

Activation status

Type:

bool

pruned

Pruning status

Type:

bool

Methods:

is_active()

Check if the synapse is active.

activate_hoc_syn(source, preCell, targetCell, receptors)

Setup of all necessary hoc connections.

disconnect_hoc_synapse()

Disconnect the synapse from the neuron model.