Concrete implementation for IDS camera

IDS Camera module (pymanip.video.ids)

This module implements the pymanip.video.ids.IDS_Camera class using the third-party pyueye module.

class pymanip.video.ids.IDS_Camera(cam_num=0)[source]

Bases: Camera

Concrete implementation for IDS Camera.

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

Concrete implementation

acquisition_oneshot(timeout_ms=1000)[source]

This method must be implemented in the sub-classes. It starts the camera, grab one frame, stops the camera, and returns the frame. It is useful for testing purposes, or in cases where only one frame is desired between very long time delays. It takes no input parameters. Returns an “autonomous” array (the buffer is independant of the camera object).

Returns

frame

Return type

MetadataArray

current_exposure_time()[source]

Query the current exposure time in ms

current_frame_rate()[source]

Queries the current framerate

current_pixelclock()[source]

Queries the current pixelclock (in MHz)

possible_exposure_time()[source]

Query the min, max and increment in ms

possible_pixelclock()[source]

Query the possible values for pixelclock (in MHz)

set_exposure_time(exposure_ms)[source]

Sets exposure time in ms. If 0 is passed, the exposure time is set to the maximum value of 1/frame rate.

set_frame_rate(framerate_fps)[source]

Sets the framerate in frames per seconds

set_pixelclock(pixelclock)[source]

Set the pixelclock (in MHz)