aforren1 / toon

TOOls for experiments in psychophysics and Neuroscience
MIT License
0 stars 0 forks source link

Flock of Birds #11

Closed aforren1 closed 5 years ago

aforren1 commented 7 years ago

I think we're almost there, but here's the list (as I understand it):

aforren1 commented 7 years ago

In the multiprocessing case, do we want to return a list of 2d arrays? I.e. each element of the list contains all of the readings for a single bird.

aforren1 commented 7 years ago

See https://github.com/BLAM-Lab-Projects/experiment-code-sdl2/blob/master/TrackBird.cpp for current settings, e.g. that we use POSITION_MATRIX.

aforren1 commented 7 years ago

See https://github.com/paulgribble/FlockOfBirds/blob/master/FOB4.py for another example of applying settings to Flock.

aforren1 commented 7 years ago

See pg. 158 of the manual for latency hints (probably implemented in TrackBird.cpp)

aforren1 commented 7 years ago

Figure out the difference between:

aforren1 commented 7 years ago

See the DLL API for hints wrt. streaming mode (~pg 40).

aforren1 commented 7 years ago

Notes on characters, bytes & such:

(python 3)

b'\x50' == 'P'.encode('UTF-8')
b'\x50' + b'\x32' == 'P2'.encode('UTF-8')
bytearray([2,3,4]) + b'\x10' # bytes is different in 2 and 3
# bytearray(b'\x02\x03\x04\x10')
aforren1 commented 7 years ago

As of 0.1.0, we have a stripped-down version of the Flock of Birds (usable for most experiments). Testing & examples still need to be done.