emodelrunner.synapses.stimuli¶
Synapse Stimuli.
Classes
|
Netcon linking output from pre-cell to post-cell's synapses. |
|
Current stimulus based on current amplitude and time series. |
|
Current stimulus based on stochastic current amplitude. |
- class emodelrunner.synapses.stimuli.NetConSpikeDetector(total_duration=None, locations=None)[source]¶
Bases:
Stimulus
Netcon linking output from pre-cell to post-cell’s synapses.
- total_duration¶
end time of connection (ms)
- Type:
float
- locations¶
synapse point processes locations to connect to
- Type:
list
- connections¶
contains simulator NetCon so that they are persistent
- Type:
dict
- class emodelrunner.synapses.stimuli.NrnNetStimStimulusCustom(locations=None, total_duration=None, interval=None, number=None, start=None, noise=0)[source]¶
Bases:
Stimulus
Current stimulus based on current amplitude and time series.
- total_duration¶
duration of run (ms)
- Type:
float
- locations¶
synapse point processes locations to connect to
- Type:
list
- interval¶
time between spikes (ms)
- Type:
float
- number¶
average number of spikes
- Type:
int
- start¶
most likely start time of first spike (ms)
- Type:
float
- noise¶
fractional randomness (0 deterministic, 1 negexp interval distrubtion)
- Type:
float
- connections¶
contains simulator NetCon and NetStim so that they are persistent
- Type:
dict
- class emodelrunner.synapses.stimuli.NrnVecStimStimulusCustom(locations=None, start=None, stop=None, seed=1, vecstim_random='python', pre_spike_train=None)[source]¶
Bases:
Stimulus
Current stimulus based on stochastic current amplitude.
- total_duration¶
time after which no synapses are allowed to fire (ms)
- Type:
float
- locations¶
synapse point processes locations to connect to
- Type:
list
- start¶
most likely start time of first spike (ms)
- Type:
float
- seed¶
seed for random number generator
- Type:
int
- vecstim_random¶
origin of the random nmb gener. can be “python” or “neuron”
- Type:
str
- pre_spike_train¶
list of spike train. If None, will be generated by random numbers
- Type:
list
- connections¶
contains simulator NetCon and VecStim and time Vector so that they are persistent
- Type:
dict