bsb.connectivity package#
Subpackages#
- bsb.connectivity.detailed package
- Submodules
- bsb.connectivity.detailed.fiber_intersection module
FiberIntersection
FiberIntersection.affinity
FiberIntersection.assert_voxelization()
FiberIntersection.connect()
FiberIntersection.contacts
FiberIntersection.get_node_name()
FiberIntersection.interpolate_branches()
FiberIntersection.intersect_voxel_tree()
FiberIntersection.resolution
FiberIntersection.to_plot
FiberIntersection.transformation
FiberIntersection.voxelize_branches()
FiberTransform
QuiverTransform
- bsb.connectivity.detailed.shared module
- bsb.connectivity.detailed.touch_detection module
TouchDetector
TouchDetector.allow_zero_contacts
TouchDetector.cell_intersection_plane
TouchDetector.cell_intersection_radius
TouchDetector.compartment_intersection_plane
TouchDetector.compartment_intersection_radius
TouchDetector.connect()
TouchDetector.contacts
TouchDetector.get_compartment_intersections()
TouchDetector.get_node_name()
TouchDetector.get_search_radius()
TouchDetector.intersect_cells()
TouchDetector.intersect_compartments()
TouchInformation
- bsb.connectivity.detailed.voxel_intersection module
- Module contents
Submodules#
bsb.connectivity.general module#
- class bsb.connectivity.general.AllToAll(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
ConnectionStrategy
All to all connectivity between two neural populations
- class bsb.connectivity.general.Convergence(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
ConnectionStrategy
Connect cells based on a convergence distribution, i.e. by connecting each source cell to X target cells.
- convergence#
Base implementation of all the different configuration attributes. Call the factory function
attr()
instead.
- get_node_name()#
- class bsb.connectivity.general.ExternalConnections(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
ConnectionStrategy
Load the connection matrix from an external source.
- casts = {'format': <class 'str'>, 'headers': <class 'bool'>, 'use_map': <class 'bool'>, 'warn_missing': <class 'bool'>}#
- defaults = {'delimiter': ',', 'format': 'csv', 'headers': True, 'use_map': False, 'warn_missing': True}#
- has_external_source = True#
- required = ['source']#
- class bsb.connectivity.general.FixedIndegree(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
InvertedRoI
,ConnectionStrategy
Connect a group of postsynaptic cell types to
indegree
uniformly random presynaptic cells from all the presynaptic cell types.- get_node_name()#
bsb.connectivity.strategy module#
- class bsb.connectivity.strategy.ConnectionStrategy(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
ABC
,SortableByAfter
- after#
Action to perform after connecting the neurons with the current strategy.
- get_node_name()#
- name#
Name used to refer to the connectivity strategy
- postsynaptic#
Postsynaptic (target) neuron population
- presynaptic#
Presynaptic (source) neuron population
- class bsb.connectivity.strategy.Hemitype(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
object
Class used to represent one (pre- or postsynaptic) side of a connection rule.
- cell_types#
List of cell types to use in connection.
- get_node_name()#
- labels#
List of labels to filter the placement set by.
- morpho_loader#
Function to load the morphologies (MorphologySet) from a PlacementSet
- morphology_labels#
List of labels to filter the morphologies by.