dvid.fetch.get_connections

dvid.fetch.get_connections(source, target, pos_filter=None, server=None, node=None)[source]

Return list of connections between source(s) and target(s).

Parameters
  • source (int | str) – Body ID(s) of sources.

  • target (int | str) – Body ID(s) of targets.

  • pos_filter (function, optional) – Function to filter synapses by position. Must accept numpy array (N, 3) and return array of [True, False, …]

  • server (str, optional) – If not provided, will try reading from global.

  • node (str, optional) – If not provided, will try reading from global.

Returns

DataFrame containing “bodyid_pre”, “tbar_position”, “tbar_confidence”, “psd_position”, “bodyid_post”.

Return type

pandas.DataFrame