UCLA Miniscope v4 Time Lapse Imaging in Bonsai #1798
Unanswered
Glia-phile
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
I never used that specific hardware or package, but if you share the workflow i am happy to try to take a look. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Our group is attempting to use Bonsai to capture images with the UCLA miniscopes v4. I downloaded the miniscope packages and watched all of the tutorials I could find. I was able to make a simple program to capture time lapse images of a single focal plane. When reviewing the images, we found that the focal plane could shift during longer imaging sessions. We would like to shift from acquiring a single image to a z-stack of images with time lapse imaging. Our goal is for Bonsai to turn on the LED excitation and allow a moment to stabilize, acquire images from deepest to most superficial over a defined range with a defined step size, save the images to an uncompressed video with timestamp, turn off the LED excitation, and then wait 1-2 minutes before repeating the process. We would like the capture process to take 5-10 seconds or less. Does anyone know if Bonsai can do this? I feel like the code should be pretty simple but can't figure it out. Any tips, suggestions, or code are greatly appreciated! I have tried externalizing the EWL property (focal distance) of the miniscope in my current time lapse program, but I am unable to change its value within a loop, and each loop turns the LED excitation on/off which dramatically increases the time to capture the z-stack. Please let me know if you have any questions!
Thanks,
Dan
Beta Was this translation helpful? Give feedback.
All reactions