A function that checks that the partition and heights of a step function is feasible to be used as an intensity function. The function produces an error if the intensity is not feasible.
1 2 3 4 5 6 7 8 9 |
d.spikes |
Data frame containing spike sequences |
partition |
Partition of time experiment time. A vector of K values where the first entry is 0 and the last is the end of experiment time. |
heights |
Vector of (K-1) heights corresponding to the partition. |
x |
The intensity function |
end.time |
End of experiment time |
T.min |
Refractory period, default set to NULL. |
max.T.min |
If T.min != NULL, the maximum allowable refractory period. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.