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=1000

number of synapse activations per process

nprocs=40

number of independent processes

tStop=345

time in ms at which the synaptic input should stop.

cellParamName

Path to cell parameter file.

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

See also

simrun.seed_manager for seed generation.