pyrolab.drivers.cameras.thorcam.ThorCamClient

Contents

pyrolab.drivers.cameras.thorcam.ThorCamClient#

class ThorCamClient[source]#

Bases: object

The Thorlabs camera client. Not a PyroLab Service object.

Used for receiving video streamed over a socket connection from a ThorCamBase-derived service.

Any ThorCamBase attribute is a valid ThorCamClient attribute.

Attributes:
SUB_MESSAGE_LENGTHint

The size of the sub-message chunks used.

Methods

await_stream([timeout])

Blocks until the first image is available from the stream.

close()

Closes the Proxy connection to the remote camera.

connect(name[, ns_host, ns_port])

Connect to a remote PyroLab-hosted UC480 camera.

end_stream()

Ends the video stream.

get_frame()

Returns the last image received from the stream.

start_stream()

Starts the video stream.