run_ex_synapse¶
- 
simrun.synaptic_strength_fitting.run_ex_synapse(cell_nw_generator, neuron_param, network_param, celltype, preSynCellID, gAMPA=None, gNMDA=None, gGABA=None, vardt=False, return_cell=False, synapseID=None, tEnd=None, tStim=None)¶
- Simulate a single excitatory or inhibitory synapse. - This is the core function to activate a single synapse and run the simulation. Used in the - PSPsclass to simulate each synapse.- For excitatory synapses, - gAMPAand- gNMDAmust be specified, and not- gGABA. For inhibitory synapses, only- gGABAmay be specified.- Parameters:¶
- cell_nw_generator : callable¶
- A callable that returns a - Celland- NetworkMapperwhen called.
- neuron_param : NTParameterSet¶
- The Cell parameters. 
- network_param : NTParameterSet¶
- The Network parameters. 
- celltype : str¶
- The celltype to activate the synapse for. Used to fetch the correct network parameters. 
- preSynCellID : int¶
- The presynaptic cell ID to activate the synapse for. Default: - None.
- gAMPA : float¶
- The AMPA conductance value. Default: - None.
- gNMDA : float¶
- The NMDA conductance value. Default: - None.
- gGABA : float¶
- The GABA conductance value. Default: - None.
- vardt : bool¶
- Whether to use the variable step size solver. Default: - False.
- return_cell : bool¶
- Whether to return the - Cellobject. Default:- False.
- synapseID : int¶
- The synapse ID to activate. If - None, all synapses assigned to the presynaptic cell get activated synchronously during the simulation. Default:- None.
- tEnd : float¶
- The end time of the simulation. Default: - None.
- tStim : float¶
- The time of the synaptic activation. Default: - None.
 
- Returns:¶
- A tuple of the time vector and the voltage trace at the soma. 
- Return type:¶
- tuple 
 
Documentation unclear, incomplete, broken or wrong? Let us know