bluecellulab.synapse.synapse_types

Class that represents a synapse in bluecellulab.

Classes

AmpanmdaSynapse(gid, hoc_args, syn_id, ...)

GabaabSynapse(gid, hoc_args, syn_id, ...[, ...])

GluSynapse(gid, hoc_args, syn_id, ...)

Synapse(cell_id, hoc_args, syn_id, ...[, ...])

Class that represents a synapse in bluecellulab.

SynapseHocArgs(location, section)

Parameters required by synapse hoc constructor.

SynapseID(projection, sid)

Class that represents a synapse id in bluecellulab.

class bluecellulab.synapse.synapse_types.AmpanmdaSynapse(gid, hoc_args, syn_id, syn_description, popids, post_gid, extracellular_calcium)[source]
property info_dict

Convert the synapse info to a dict from which it can be reconstructed.

use_ampanmda_helper()[source]

Python implementation of the AMPANMDA helper.

This helper object will encapsulate the hoc actions needed to create our typical excitatory synapse.

Return type:

None

class bluecellulab.synapse.synapse_types.GabaabSynapse(gid, hoc_args, syn_id, syn_description, popids, post_gid, extracellular_calcium, randomize_risetime=True)[source]
property info_dict

Convert the synapse info to a dict from which it can be reconstructed.

use_gabaab_helper(randomize_gaba_risetime)[source]

Python implementation of the GABAAB helper.

This helper object will encapsulate the hoc actions

needed to create our typical inhibitory synapse.

Parameters:
  • randomize_gaba_risetime (bool) – if True then RNG code runs

  • value. (to set tau_r_GABAA)

Raises:

ValueError – raised when the RNG mode is unknown.

Return type:

None

class bluecellulab.synapse.synapse_types.GluSynapse(gid, hoc_args, syn_id, syn_description, popids, post_gid, extracellular_calcium)[source]
property info_dict

Convert the synapse info to a dict from which it can be reconstructed.

use_glusynapse_helper()[source]

Python implementation of the GluSynapse helper.

This helper object will encapsulate the hoc actions needed to create our plastic excitatory synapse.

Return type:

None

class bluecellulab.synapse.synapse_types.Synapse(cell_id, hoc_args, syn_id, syn_description, popids, post_gid, extracellular_calcium=None)[source]

Class that represents a synapse in bluecellulab.

Parameters:
  • cell_id (CellId)

  • hoc_args (SynapseHocArgs)

  • syn_id (tuple[str, int])

  • syn_description (Series)

  • popids (tuple[int, int])

  • post_gid (int | None)

  • extracellular_calcium (float | None)

apply_hoc_configuration(hoc_configure_params)[source]

Apply the list of hoc configuration commands to the synapse.

Parameters:

hoc_configure_params (list[str])

Return type:

None

property delay_weights: list[tuple[float, float]]

Adjustments to synapse delay and weight.

delete()[source]

Delete the NEURON objects of the connection.

Return type:

None

property info_dict: dict[str, Any]

Convert the synapse info to a dict from which it can be reconstructed.

update_syn_description(syn_description)[source]

Change data types, compute more columns needed by the simulator.

Parameters:

syn_description (Series)

Return type:

Series

property weight: float | None

The last overridden synapse weight.

class bluecellulab.synapse.synapse_types.SynapseHocArgs(location: float, section: NeuronSection)[source]

Parameters required by synapse hoc constructor.

location: float

Alias for field number 0

section: HocObject

Alias for field number 1

class bluecellulab.synapse.synapse_types.SynapseID(projection: str, sid: int)[source]

Class that represents a synapse id in bluecellulab.

projection: str

Alias for field number 0

sid: int

Alias for field number 1