I'm new to bpod, and I'm trying to figure out if there's some flexibility with how the Bpod runs the experiment/session.
Some info about my setup-
I'm using a joystick connected to a load cell (analog input that goes to the analog input module). During one of the states, the animal moves the joystick; if the threshold is crossed, I move to the next state--> which is a reward.
I'm trying to see if there's a way to do a 'pause' between the states in which I can read the data that was recorded during the movement of the joystick and analyzes it (i want first to filter the data and get rid on noise, then I want to see if the threshold was crossed for a specific period, etc... ) and then continue to the next state. I guess a simple computation on 3-5 seconds of recorded data (1 analog channel) shouldn't take longer than a second, which can be the delay period between the movement and the reward- so ideally, it can be a state if the decision if the animal gets the reward or not.
As I understand, it's not very trivial to do real-time analysis with bpod- in the future; I want to 'guide' the behavior of the animal with cues that will be shaped by the performance (if the animal moved the joystick too far, I'd play a high-frequency sound and vise versa...
Do you think it's possible with bpod? Or should I look for other solutions?
Thanks in advance!