simrun
❭ generate_synapse_activations
generate_synapse_activations¶
Generate synapse activation files.
This module creates Synapse activation files based on the parameters in the Cell parameters and Network parameters files, but does not keep track of what happens with the postsynaptic neuron during these activations.
The usecase of generating these synapse activations without actually saving or keeping track of the postsynaptic activity, is solely for the purpose of analyzing the synapse activations and presynaptic spike times. It allows for modularity between the steps of creating synapse activations and simulating their effect on the postsynaptic neuron.
These Synapse activation files can afterwards be used to re-run simulations afterwards with the simrun.run_existing_synapse_activations
module.
To generate Synapse activation files and simulate the effect on the postsynaptic neuron model in one go, use the simrun.run_new_simulations
module instead.
Hint
If the postsynaptic neuron is not simulated, why does this module need the Cell parameters?
On the one hand, it needs morphoplogical information in order to connect these synapses. The Cell parameters contains
a backlink to the original .hoc file, which contains the morphological information. But then why not start from the :ref:’hoc_file_format’ file directly?
Because this module does in fact create a biophsyically detailed neuron model to pass to NetworkMapper
to create the network,
despite the fact that the postsynaptic activity is not saved.
See also
simrun.run_new_simulations
for running simulations.
Functions¶
|
Generates |