pyrolab.drivers.cameras.sciTSI.SCICAM

Contents

pyrolab.drivers.cameras.sciTSI.SCICAM#

class SCICAM[source]#

Bases: ThorCamBase

Driver for the ThorLabs SCICAM.

Attributes:
HEADERSIZEint

The size in bytes of the header in each serialized message (read only).

Methods

autoconnect()

Autoconnect to an instrument using internally stored parameters.

close()

Closes communication with the camera and frees memory.

connect(serialno[, local, bit_depth, color, ...])

Opens the serial communication with the Thorlabs camera.

detect_devices()

Returns a list of connection parameters for available devices.

end_stream()

Ends a camera stream.

get_frame()

Retrieves the last frame from the memory buffer, processes it into a gray-scale image, and serializes it using the pickle library.

ping()

Returns a bool (True) to indicate that the Daemon is alive and can be communicated with.

pyrolab_version()

Return the version of PyroLab running the device.

set_behavior([instance_mode, instance_creator])

Sets the Pyro5 behavior for the class (modified in place).

start_capture()

Starts capture from the camera.

start_stream()

Starts a camera stream.

start_streaming_thread()

Starts the streaming thread for nonlocal connections.

stop_capture()

Stops the capture from the camera.

stop_streaming_thread()

Closes the socket connection and signals the streaming thread to shutdown.

await_stream

find_sensor_size