bluecellulab.circuit.synapse_properties

Synapse Properties.

Functions

properties_from_bluepy(props)

Convert list of bluepy Synapse properties to SynapseProperty, spare 'str's.

properties_from_snap(props)

Convert list of SNAP Synapse properties to SynapseProperty, spare 'str's.

properties_to_bluepy(props)

Convert a list of SynapseProperty to bluepy Synapse properties, spare 'str's.

properties_to_snap(props)

Convert a list of SynapseProperty to SNAP properties, spare 'str's.

synapse_property_decoder(dct)

For JSON decoding of dict containing SynapseProperty.

synapse_property_encoder(dct)

Convert SynapseProperty enum keys to strings.

Classes

SynapseProperties()

Synapse Properties to be retrieved from circuit and used by the simulator.

SynapseProperty(*values)

class bluecellulab.circuit.synapse_properties.SynapseProperties[source]

Synapse Properties to be retrieved from circuit and used by the simulator.

class bluecellulab.circuit.synapse_properties.SynapseProperty(*values)[source]
bluecellulab.circuit.synapse_properties.properties_from_bluepy(props)[source]

Convert list of bluepy Synapse properties to SynapseProperty, spare ‘str’s.

Parameters:

props (list[BLPSynapse | str])

Return type:

list[SynapseProperty | str]

bluecellulab.circuit.synapse_properties.properties_from_snap(props)[source]

Convert list of SNAP Synapse properties to SynapseProperty, spare ‘str’s.

Parameters:

props (list[str])

Return type:

list[SynapseProperty | str]

bluecellulab.circuit.synapse_properties.properties_to_bluepy(props)[source]

Convert a list of SynapseProperty to bluepy Synapse properties, spare ‘str’s.

Parameters:

props (list[SynapseProperty | str])

Return type:

list[BLPSynapse | str]

bluecellulab.circuit.synapse_properties.properties_to_snap(props)[source]

Convert a list of SynapseProperty to SNAP properties, spare ‘str’s.

Parameters:

props (list[SynapseProperty | str])

Return type:

list[str]

bluecellulab.circuit.synapse_properties.synapse_property_decoder(dct)[source]

For JSON decoding of dict containing SynapseProperty.

Parameters:

dct (dict)

Return type:

dict[str | SynapseProperty, Any]

bluecellulab.circuit.synapse_properties.synapse_property_encoder(dct)[source]

Convert SynapseProperty enum keys to strings.

Parameters:

dct (dict[SynapseProperty | str, Any])

Return type:

dict[str, Any]