john-judge / PhotoZ_upgrades

CCD controller, data acquisition, and stimulus administration software for Dr. Meyer Jackson's hVOS voltage imaging technique. This repository tracks the transition from PhotoZ OG to NI-DAQmx and the "Little Dave" DM2K Camera
MIT License
1 stars 0 forks source link

Quadrant specific normalization, multi-threaded readout, quadrant remapping, and other camera tasks #13

Closed john-judge closed 3 years ago

john-judge commented 3 years ago

Opening this issue to use as development log starting April 2021.

Quadrant specific normalization

Initial testing in UnitTest1/TestData/PhotoZ_images.ipynb, quadrant-specific min-max normalizing intensities to [0,1]

Before: image

After: image

multi-threaded readout

Inserted readout in parallel sections, call to: omp_get_num_threads() to test with rig computer. If this is 1, try:

omp_set_num_threads(4);

Quadrant remapping

In camera.cpp