PyOpenWorm.connection module¶
-
class
PyOpenWorm.connection.
Connection
(pre_cell=None, post_cell=None, number=None, syntype=None, synclass=None, termination=None, **kwargs)[source]¶ Bases:
PyOpenWorm.biology.BiologyType
-
defined_augment
(self)[source]¶ This fuction must return False if
identifier_augment()
would raise anIdentifierMissingException
. Override it when defining a non-standard identifier for subclasses of DataObjects.
-
identifier_augment
(self)[source]¶ Override this method to define an identifier in lieu of one explicity set.
One must also override
defined_augment()
to return True whenever this method could return a valid identifier.IdentifierMissingException
should be raised if an identifier cannot be generated by this method.Raises: - IdentifierMissingException
-
number
¶ The weight of the connection
-
post_cell
¶ The post-synaptic cell
-
pre_cell
¶ The pre-synaptic cell
-
synclass
¶ The kind of Neurotransmitter (if any) sent between pre_cell and post_cell
-
syntype
¶ The kind of synaptic connection. ‘gapJunction’ indicates a gap junction and ‘send’ a chemical synapse
-
termination
¶ Where the connection terminates. Inferred from type of post_cell at initialization
-