mouse.preview module

Overview

The mouse-picture program shows a preview of the camera, as part of the setup of the Raspberry Pi module on the behavioral rig. The user can set the length of the preview and quit at any time, using the Ctrl +c command.

API

mouse.preview.main(*argv)[source]

Takes a photo and saves it to a user-specified directory.

Parameters:argv (str) – Arguments are stored as a list

Notes

These are the parameters of the arguments.

  • time(int): Preview length, in seconds (default is 15 seconds)