Skip to content

VAMPIRES:Pupil viewing camera

vdeo edited this page Dec 28, 2022 · 1 revision

Pupil Camera

A FLIR Flea3 camera is connected over USB to the VAMPIRES computer to image light reflected by the pupil wheel. If there is nothing in the beam, there will be no pupil image. Conversely, to view the full pupil put the "Mirror" in.

Starting the camera process

The camera runs in an independent process creating a shared memory stream. To start this scripts, call

cam-vpupcamstart

this will start a tmux session called vpupcam_ctrl (if it does not exist) and will launch an interactive python prompt inside this tmux for camera control. To attach to the process and edit camera settings simply

tmux attach -t vpupcam_ctrl

Viewer

To view the pupil stream, you can use a generic viewer like shmImshow.py or anycam.py, or you can call use the vpupcam.py viewer, which will (eventually) have shortcuts for controlling the pupil wheel and saving configurations.

vpupcam.py &
Clone this wiki locally