You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm following the sync example in the documentation for bonsai using the I/O board. I have a 1 Hz pulse connected to the first socket of the I/O board. As shown in the pic below, I save the timestamps to csv and the TtlState into binary.
I'm reading the data in python using np.fromfile("ttl_path", dtype=np.int16)
Below I show a particular moment where the pulse on the first input should be high.
I am a bit puzzled because I was expecting 8 channels instead of 4 channels (I was expecting a 1 followed by 7 zeros) . Any idea about this? When I visualize the input from the board in bonsai I do see 8 traces.
Could you extend the example a bit further in the docs ?
The text was updated successfully, but these errors were encountered:
matiasandina
changed the title
Extending TTL input from I/O example
Extending example of sync using TTL input from I/O
Sep 14, 2022
Hi Mati, I agree this tutorial could be expanded further. Can you send your data file to [email protected] so we can make sure everything is looking good in terms of the analog channels being recorded?
I'm following the sync example in the documentation for bonsai using the I/O board. I have a 1 Hz pulse connected to the first socket of the I/O board. As shown in the pic below, I save the timestamps to
csv
and theTtlState
into binary.I'm reading the data in python using
np.fromfile("ttl_path", dtype=np.int16)
Below I show a particular moment where the pulse on the first input should be high.
I am a bit puzzled because I was expecting 8 channels instead of 4 channels (I was expecting a 1 followed by 7 zeros) . Any idea about this? When I visualize the input from the board in bonsai I do see 8 traces.
Could you extend the example a bit further in the docs ?
The text was updated successfully, but these errors were encountered: