Concrete implementation for Photometrics camera

Photometrics Camera module (pymanip.video.photometrics.camera)

This module implements the pymanip.video.photometrics.Photometrics_Camera using the Python wrapper provided by Photometrics. The documentation for the PVCAM SDK is available online.

class pymanip.video.photometrics.camera.Photometrics_Camera(cam_num=0, readout_port=0)[source]

Bases: Camera

Concrete pymanip.video.Camera class for Photometrics camera.

async acquisition_async(num=inf, timeout=None, raw=False, initialising_cams=None, raise_on_timeout=True)[source]

Concrete implementation of pymanip.video.Camera.acquisition_async() for the Photometrics camera.

timeout in milliseconds.

close()[source]

Close connection to the camera

async fast_acquisition_to_ram(num, total_timeout_s=300, initialising_cams=None, raise_on_timeout=True)[source]

Fast method (without the overhead of run_in_executor and asynchronous generator), for acquisitions where concurrent saving is not an option (because the framerate is so much faster than writting time), so all frames are saved in RAM anyway.

get_exposure_time()[source]

This method gets the exposure time in seconds for the camera.

set_exposure_time(seconds)[source]

This method sets the exposure time for the camera.

Parameters

seconds (float) – exposure in seconds.

set_roi(roiX0=0, roiY0=0, roiX1=0, roiY1=0)[source]

This method sets the positions of the upper left corner (X0,Y0) and lower right (X1,Y1) corner of the ROI (region of interest) in pixels.

set_trigger_mode(external)[source]

Set external trigger (edge rising). Possible modes are available in self.cam.exp_modes.