Scaffold¶
bsb.core.Scaffold is the main object of the BSB infrastructure (see the
Top Level Guide for an introduction to this class).
Properties¶
The Scaffold object tights together the network description
of the Configuration with the data stored in the bsb.storage.Storage.
You can access the latter classes with respectively the
scaffold.configuration and the
scaffold.storage attributes.
Scaffold also provides a direct access to all of its main configuration components as class attributes:
scaffold.placement->bsb.placement.strategy.PlacementStrategyscaffold.connectivity->bsb.connectivity.strategy.ConnectionStrategyscaffold.simulations->bsb.simulation.simulation.Simulationscaffold.after_placement->bsb.postprocessing.AfterPlacementHookscaffold.after_connectivity->bsb.postprocessing.AfterConnectivityHook
There are also a list of methods starting with get_ that allows you to retrieve these components with some
additional filtering parameters (get_cell_types,
get_placement,
get_placement_of,
get_connectivity)
Workflow methods¶
Scaffold contains also all the functions required to run the reconstruction pipeline, and to simulate
the resulting networks.
You can run the full reconstruction with the compile method or any of its sub-step:
Topology creation / update:
resizeCell placement:
run_placementAfter placement hook:
run_after_placementCell connectivity:
run_connectivityAfter placement hook:
run_after_connectivityRun a simulation:
run_simulation
Similarly, you can clear the results of the reconstruction stored so far with the clear
or any of its sub-step:
Cell placement:
clear_placementCell connectivity:
clear_connectivity
Get Stored data¶
You can also inspect the data produced during the reconstruction from the storage: