generate_synapse_activations

simrun.generate_synapse_activations.generate_synapse_activations(cellParamName, evokedUpParamName, dirPrefix='', nSweeps=1000, nprocs=40, tStop=345, silent=True)

Generates nSweeps * nprocs synapse activation files and writes them to the folder dirPrefix/results/simName.

For each process, a new seed is generated using the seed generator.

Parameters:
cellParamName : str

Path to a Cell parameters file, containing information about the neuron morphology (link to a .hoc file) and biophysical properties.

evokedUpParamName : str

Path to a Network parameters file, containing information on synapse and network parameters per cell type.

nSweeps : int

Number of simulations to run per process with these parameters. Trial-to-trial variability is introduced by the random seed in terms of different network activity and connectivity realizations (see created_saved_network2()).

nprocs : int

Number of parallel processes to run. Each process runs nSweeps simulations.

tStop=345

time in ms at which the synaptic input should stop.

Returns:

Can be computed with arbitrary scheduler. Computing delayed object returns List of lists. Each child list contains the paths of the synapse activation files generated by one worker

Return type:

dask.delayed