bsb.connectivity.detailed package

Submodules

bsb.connectivity.detailed.shared module

class bsb.connectivity.detailed.shared.Intersectional[source]

Bases: object

affinity

Base implementation of all the different configuration attributes.

Call the factory function attr() instead.

candidate_intersection(target_coll, candidate_coll)[source]
get_region_of_interest(chunk)[source]

bsb.connectivity.detailed.voxel_intersection module

class bsb.connectivity.detailed.voxel_intersection.VoxelIntersection(*args, _parent=None, _key=None, **kwargs)[source]

Bases: Intersectional, ConnectionStrategy

This strategy finds overlap between voxelized morphologies.

Parameters:
  • contacts – number or distribution determining the amount of synaptic contacts one cell will form on another

  • voxel_pre – the number of voxels into which the morphology will be subdivided.

  • voxel_post – the number of voxels into which the morphology will be subdivided.

  • favor_cache – choose whether to cache the pre or post morphology.

cache

Base implementation of all the different configuration attributes.

Call the factory function attr() instead.

connect(pre, post)[source]

Central method of each connection strategy. Given a pair of HemitypeCollection (one for each connection side), should connect cell population using the scaffold’s (available as self.scaffold) bsb.core.Scaffold.connect_cells() method.

Parameters:
contacts

Base implementation of all the different configuration attributes.

Call the factory function attr() instead.

favor_cache

Base implementation of all the different configuration attributes.

Call the factory function attr() instead.

get_node_name()
voxels_post

Base implementation of all the different configuration attributes.

Call the factory function attr() instead.

voxels_pre

Base implementation of all the different configuration attributes.

Call the factory function attr() instead.

Module contents