microscope.cameras.andorsdk3 module

AndorSDK3 camera device.

This class provides a wrapper for PYME’s SDK3 interface that allows a camera and all its settings to be exposed over Pyro.

class microscope.cameras.andorsdk3.AndorSDK3(index=0, **kwargs)[source]

Bases: microscope.devices.FloatingDeviceMixin, microscope.devices.CameraDevice

SDK_INITIALIZED = False
_create_buffers(num=None)[source]

Create buffers and store values needed to remove padding later.

_fetch_data(timeout=5, debug=False)[source]

Fetch data and recycle buffers.

_purge_buffers()[source]

Purge buffers on both camera and PC.

abort()[source]

Abort acquisition.

get_cycle_time()[source]

Return the cycle time, in seconds.

get_exposure_time()[source]

Return the current exposure time, in seconds.

get_gain()[source]
get_id()[source]

Return a unique hardware identifier, such as a serial number.

get_trigger_type()[source]

Return the current trigger mode.

One of
TRIGGER_AFTER, TRIGGER_BEFORE or TRIGGER_DURATION (bulb exposure.)
initialize()[source]

Initialise the camera.

Open the connection, connect properties and populate settings dict.

invalidate_buffers(func)[source]

Wrap functions that invalidate buffers so buffers are recreated.

make_safe()[source]

Put the device into a safe state.

set_cooling(value)[source]
set_exposure_time(*args, **kwargs)
set_num_buffers(num)[source]
soft_trigger()[source]

Optional software trigger - implement if available.

microscope.cameras.andorsdk3.readable_wrapper(func)[source]
microscope.cameras.andorsdk3.writable_wrapper(func)[source]