PoissonSurprise
Returns Poisson Surprise - the probability that k
or more spikes occur randomly in a period of length time
Syntax
PoissonSurprise(k, freq, time)
Parameters
Parameter |
Type |
Description |
---|---|---|
k |
number |
Number of spikes |
freq |
number |
Firing rate (spikes per second) |
time |
number |
Time period duration |
Return
Returns Poisson Surprise - the probability that k
or more spikes occur randomly in a period of length time
Examples
Python
import nex
k = 3
freq = 10
time = 2
surprise = nex.PoissonSurprise(k, freq, time)