roskalab / visexpman

Vision Experiment Manager: Framework showing visual stimuli, recording and handling data
4 stars 2 forks source link

Elphys/General experiment gui #95

Open roskalab opened 11 years ago

roskalab commented 11 years ago

Minor details:

roskalab commented 10 years ago

=== Stimulation possibilities === -LED -2p - pockel cell control -projector -Screen for in vivo experiments, flieckering control (duty cycle and timing needs to be calculated, 128x128 um@2 pixel/um, 40x40 um@ 6 pixel 8 Hz frame rate, flyback time should not be less than 30%)

=== Data acquisition channels ===

=== Experiment control ===

=== GUI ===

=== Experiment data ===

=== Data display app - traceviewer2 ===

roskalab commented 10 years ago

Scanner timing: scan size [um] resolution [pixel/um] line frequency [Hz] line time [us] off time [us] duty cycle [%] frame rate [Hz] 25 2.0 2367.0 423.0 298.0 70.0 45.0 25 4.0 1826.0 548.0 298.0 54.0 17.9 25 6.0 1487.0 673.0 298.0 44.0 9.8 40 2.0 2010.0 498.0 298.0 60.0 24.4 40 4.0 1434.0 698.0 298.0 43.0 8.8 40 6.0 1114.0 898.0 298.0 33.0 4.6 128 2.0 1067.0 938.0 298.0 32.0 4.1 128 4.0 634.0 1578.0 298.0 19.0 1.2

Constraints:

roskalab commented 10 years ago

Idea 1: Ca Imaging software shall not use qt gui. Only live image is to be displayed on a single pygame graphics window.

Idea 2: Why don't we merge imaging and elphys/control computers? Elphys and two photon data acquisition would still take place on separate daq boards. Ca imaging might eat up the windows process's memory space. Coexistence with legacy but working setups is difficult because of daq swapping and rewiring.

Challenge: Better RAM utilization. Perhaps using OpenSUSE? Infrared camera driver might be an issue and getting it work might take long including learining the OS itself. The problem needs to be addressed on a windows system, perhaps a win 7 64 bit/python 64 bit is the way to go.

Idea3: Instead of Gui poller thread, separate process shall be used as a poller. Qt signals cannot be used between processes. Socket or queue can be an option. Data can be exchanged between processes by queues. The biggest amount of data to be sent from data acquisition to GUI is a ca image and ca/elphys traces.

roskalab commented 10 years ago

GUI shall be able to handle landmarks