Get a list of neighboring neurons.
:param type: What kind of junction to look for.
0=all, 1=gap junctions only, 2=all chemical synapses 3=incoming chemical synapses, 4=outgoing chemical synapses
:returns: a list of neuron names
:rtype: List
Partial implementation is here. Still need to implement gap junctions and several of the other arguments. Current version works with chemical synapses only.
Ideal spec:
Stub is here: https://github.com/openworm/PyOpenWorm/blob/master/PyOpenWorm/neuron.py#L376