simrunrun_existing_synapse_activationsrun_existing_synapse_activations

run_existing_synapse_activations

simrun.run_existing_synapse_activations.run_existing_synapse_activations(cellParamName, evokedUpParamName, synapseActivation, simName='', dirPrefix='', nprocs=40, tStop=345, silent=True, scale_apical=None, post_hook={}, auto_organize_results_folder=True, cell_generator=None)

Recreate and resimulate a network-embedded neuron simulation from a list of Synapse activation files.

Parameters:
  • cellParamName (str) – Path to a Cell parameters file

  • evokedUpParamName (str) – Path to a Network parameters file

  • synapseActivationGlob (list) – List of paths to Synapse activation files or globstring

  • dirprefix (str) – Path to the directory where the simulation results should be stored.

  • nSweeps (int) – Number of synapse activations per process.

  • nprocs (int) – Number of independent processes

  • tStop (float) – Time in ms at which the synaptic input should stop.

  • silent (bool) – If True, suppresses all output.

  • scale_apical (float, DEPRECATED) – Scaling factor for the apical dendrite.

  • post_hook (dict) – Dictionary of functions that are called after the simulation.

  • auto_organize_results_folder (bool) – If True, the results are stored in a subfolder of the results folder.

  • cell_generator (function) – Function that generates a cell object.

Returns:

Delayed object. Can be computed with arbitrary scheduler.

Return type:

dask.delayed

Raises:
  • NotImplementedError – If nprocs is not equal to 1.

  • RuntimeError – If no files are found on the specified location.

  • AssertionError – If synapseActivation is not a list.

Deprecated since version 0.1: The scale_apical argument is deprecated and will be removed in a future version. Use the cell\_modify\_functions key in the Cell parameters file instead.

See also

simrun,rerun_db.rerun_db() to rerun simulations from a database, instead of a list of synapse activation files.