Skip to content
Discussion options

You must be logged in to vote

Hi @jonahpearl there should be multiple ways of accomplishing it in bonsai without relying on external scripts, I am only showing one possible way here, not sure if its the best way or not. I simplified your workflow to something I could test with a computer mouse and also removed some unnecessary conversions.

I think the key is that you want to group your centroid readout into windows, and then evaluate each window using a SelectMany. You can use WindowTime or WindowCount for this purpose, and you can create overlapping or non overlapping windows depending on the latency you are looking for or if you are comfortable with just assessing each 1 second split independently (I don't think it …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jonahpearl
Comment options

You must be logged in to vote
1 reply
@banchan86
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants