dvid.fetch.get_connectivity

dvid.fetch.get_connectivity(bodyid, pos_filter=None, ignore_autapses=True, server=None, node=None)[source]

Return connectivity table for given body.

Parameters
  • bodyid (int | str) – ID of body for which to get connectivity.

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

  • ignore_autapses (bool, optional) – If True, will ignore autapses.

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

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

Return type

pandas.DataFrame