pymaid.get_edges¶
- pymaid.get_edges(x, remote_instance=None)[source]¶
Retrieve edges between sets of neurons.
Synaptic connections only!
- Parameters:
x –
Neurons for which to retrieve edges. Can be either:
list of skeleton ID(s) (int or str)
list of neuron name(s) (str, exact match)
an annotation: e.g. ‘annotation:PN right’
CatmaidNeuron or CatmaidNeuronList object
remote_instance (CatmaidInstance, optional) – If not passed directly, will try using global.
- Returns:
DataFrame in which each row represents an edge:
source target weight 1 2 3
- Return type:
pandas.DataFrame