def interneurons(self):

        # TODO: make sure these belong to *this* Network
        n = P.Neuron()
        n.type('interneuron')

        for x in n.load():
            yield x
Get all interneurons
dataset/ETHPy150Open openworm/PyOpenWorm/PyOpenWorm/network.py/Network.interneurons