simrun
❭ synaptic_strength_fitting
❭ PSPs
❭ _setup_computation
PSPs._setup_computation¶
- simrun.synaptic_strength_fitting.PSPs._setup_computation(exc_inh)¶
Construct delayed functions for running single-synapse simulations.
For each celltype in
network_params_by_celltype
, create a delayed function that activates each synapse of that particular celltype one by one. Simulations are reset after each synapse activation. The simulations are parallelized across the synaptic strength values ingExRange
and the amount of celltypes innetwork_params_by_celltype
, so the amount of delayed simulations islen(gExRange) * len(network_params_by_celltype)
.