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.BiologyTypeConnection between Cells
Parameters: - pre_cell : string, Muscle or Neuron, optional
The pre-synaptic cell
- post_cell : string, Muscle or Neuron, optional
The post-synaptic cell
- number : int, optional
The weight of the connection
- syntype : {‘gapJunction’, ‘send’}, optional
The kind of synaptic connection. ‘gapJunction’ indicates a gap junction and ‘send’ a chemical synapse
- synclass : string, optional
The kind of Neurotransmitter (if any) sent between pre_cell and post_cell
Attributes: - termination : {‘neuron’, ‘muscle’}
Where the connection terminates. Inferred from type of post_cell