mahos.inst.camera.ThorlabsCamera#

class mahos.inst.camera.ThorlabsCamera(name, conf=None, prefix=None)#

Wrapper for Thorlabs Scientific Camera SDK.

You need following: 1. Install SDK’s Python wrapper library (thorlabs_tsi_sdk). 2. Place SDK native DLLs somewhere.

Parameters:
  • dll_dir (str) – The directory path containing SDK DLLs.

  • serial (str) – (default: “”) Serial string to discriminate multiple cameras. Blank is fine if only one Thorlabs camera is connected.

__init__(name, conf=None, prefix=None)#

Methods

__init__(name[, conf, prefix])

close_resources()

Close instrument resources.

configure(params[, label])

Configure the instrument settings.

configure_continuous(exposure_time_sec[, ...])

get(key[, args, label])

Get an instrument setting or measurement data.

get_frame()

poll_continuous(ev)

start([label])

Start the instrument operation.

stop([label])

Stop the instrument operation.