bluecellulab.synapse.synapse_factory¶
Factory that separates Synapse creation from Synapse instances.
Classes
Creates different types of Synapses. |
|
|
- class bluecellulab.synapse.synapse_factory.SynapseFactory[source]¶
Creates different types of Synapses.
- classmethod create_synapse(cell, syn_id, syn_description, condition_parameters, popids, extracellular_calcium, connection_modifiers)[source]¶
Returns a Synapse object.
- classmethod determine_synapse_location(syn_description, cell)[source]¶
Returns the location of the synapse.
- Parameters:
syn_description (
Series)cell (
Cell)
- Return type:
- static determine_synapse_type(syn_description)[source]¶
Returns the type of synapse to be created.
- Parameters:
syn_description (
Series)- Return type:
- static synlocation_to_segx(section, ipt, syn_offset)[source]¶
Translates a synaptic (secid, ipt, offset) to an x coordinate.
- Parameters:
section (
HocObject) – Section object.ipt (
float) – Post segment ID.syn_offset (
float) – Synaptic offset.
- Return type:
float- Returns:
The x coordinate on the section, where the synapse can be placed.
- class bluecellulab.synapse.synapse_factory.SynapseType(*values)¶