int-brain-lab / iblrig

Main repository for IBL rig code
https://int-brain-lab.github.io/iblrig/
MIT License
22 stars 21 forks source link

Multiple Camera Frame Rates Question #452

Closed nmtimme closed 1 year ago

nmtimme commented 1 year ago

Hello

I noticed in the IBL ephys rig that three cameras are run at different frame rates. What is the motivation behind doing this, rather than having all three run at the same frame rate? Thanks!

~Nick

mschart commented 1 year ago

Hello Nick,

It's essentially bandwidth and storage space. We chose the left cam to have half the temporal resolution (60Hz) but full spatial resolution while the right cam has 150 Hz but half the spatial resolution. So we got high spatial or high temporal resolution - as we couldn't have both for hardware acquisition reasons (e.g. dropping frames, too much data). Keeping the 150 Hz was to have single-spike resolution for quick movements. And the full spatial resolution (1280 x 1024 px) was needed to have decent pupil tracking from that side view and potential other applications (auto-encoder compression, motion energy).

The body cam was then at half temporal and half spatial to save data storage space, given the lower interest in that data.

We list more specs here.

Michael

nmtimme commented 1 year ago

Thank you for that information! That clarifies things perfectly. Have a good day!