Tyelab / bruker_control

Repository for code running the lab's multi-photon imaging experiments at the Bruker Ultima Investigator scope. Unites Arduino, Prairie View, and GenTL machine cameras in Python.
Mozilla Public License 2.0
8 stars 3 forks source link

Reinstate TTLs from Camera to DAQ #125

Open jmdelahanty opened 2 years ago

jmdelahanty commented 2 years ago

Since we're no longer using the PMT shutters during the experiment, we free up a DAQ channel on the Bruker's setup. Until we move away from it entirely as in #121 this will be a bandaid to get TTLs out of the camera.

I spoke with Jonny and Talmo about this a while ago and they said, respectively:

TTLs are a good failsafe for things, but technically shouldn't be necessary to collect if things are synced up well and reliable. Especially since not all cameras can even produce TTLs when they take pictures.

TTLs should basically always be gathered for the purposes of aligning data.

It's not especially hard to do/used to be what this library did, but they weren't considered necessary and we needed the channels anyways. Just need to add a configuration value into video_utils.

jmdelahanty commented 1 year ago

Given problem discussed in #90 with extra frames being recorded this should be a higher priority for my work...