Replies: 1 comment
-
I ended up using a different solution with streaming a value at the time from the analog input and set there a threshold, instead of filling a buffer and finding spikes, so this is not really needed anymore! If you ever have the time to drop a quick answer or example on how I should have done it using the spikes detected by DetectSpikes I would still be curious, but very low priority by now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am just starting to set up my first Bonsai project (awesome tool!), so apologies in advance if I am asking something trivial. I tried searching both this forum and the google groups but could not find an answer.
I need to implement an action that depends on the distance between the last 2 (or n) detected spikes. I am using DetectSpikes over a (ConvertScale-d) AnalogInput. I would like to have access to the time (first, as index on the buffer array; but ideally, as a time from experiment begin). However, when checking out the DetectSpikes node outputs, I can only see the
Count (int)
option. What am I missing there?Again sorry if this is naive, and thank you in advance for the help!
Beta Was this translation helpful? Give feedback.
All reactions