simrun
❭ generate_synapse_activations
❭ _evoked_activity
_evoked_activity¶
- simrun.generate_synapse_activations._evoked_activity(cellParamName, evokedUpParamName, dirPrefix='', seed=None, nSweeps=1000, tStop=345)¶
Calculate and write synapse activations and presynaptic spike times.
This function calculates the synapse activations and presynaptic spike times for a single cell.
Synapse activation files are generated with
single_cell_parser.analyze.compute_synapse_distances_times()
. Spike time files are generated withsingle_cell_parser.analyze.write_presynaptic_spike_times()
.- 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 Network parameters file, containing information on synapse and network parameters per cell type.
dirPrefix (str) – Prefix for the directory where the results are stored.
seed (int) – Seed for the random number generator.
nSweeps (int) – Amount of times to run the simulation with the same parameter configuration.
tStop (float) – Time in ms at which the simulation should stop.
- Returns:¶
List of paths to the synapse activation files.
- Return type:¶
list