PyOpenWorm.muscle module

class PyOpenWorm.muscle.Muscle(name=False, **kwargs)[source]

Bases: PyOpenWorm.cell.Cell

A single muscle cell.

See what neurons innervate a muscle:

Example:

>>> mdr21 = Muscle('MDR21')
>>> innervates_mdr21 = mdr21.innervatedBy()
>>> len(innervates_mdr21)
4
Attributes:
neurons : ObjectProperty

Neurons synapsing with this muscle

receptors : DatatypeProperty

Get a list of receptors for this muscle if called with no arguments, or state that this muscle has the given receptor type if called with an argument